Skip to content

Commit

Permalink
Update Google Web Store URL
Browse files Browse the repository at this point in the history
  • Loading branch information
heavensrevenge committed Nov 17, 2023
1 parent 1b0d8e9 commit 4cb0c41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions javascript/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function showButtons() {
$("#copypassword").removeClass("hidden");
// Don't run executeScript() on built-in chrome://, opera:// or about:// browser pages since it isn't allowed anyway
// Also cant run on the Chrome Web Store/Extension Gallery
if (!(/^about|^chrome|chrome\.google\.com|^opera/i).test(Settings.currentUrl)) {
if (!(/^about|^chrome|(chrome|chromewebstore)\.google\.com|^opera/i).test(Settings.currentUrl)) {
chrome.tabs.query({active: true, currentWindow: true}).then(tabs => {
chrome.scripting.executeScript({
target: {tabId: tabs[0].id, allFrames: true},
Expand Down Expand Up @@ -184,7 +184,7 @@ function fillFields(generatedPass) {
updateFields();
// Don't run executeScript() on built-in chrome://, opera:// or about:// browser pages since it isn't allowed anyway
// Also cant run on the Chrome Web Store/Extension Gallery
if (!(/^about|^chrome|chrome\.google\.com|^opera/i).test(Settings.currentUrl)) {
if (!(/^about|^chrome|(chrome|chromewebstore)\.google\.com|^opera/i).test(Settings.currentUrl)) {
chrome.tabs.query({active: true, currentWindow: true}).then(tabs => {
chrome.scripting.executeScript({
target: {tabId: tabs[0].id, allFrames: true},
Expand Down

0 comments on commit 4cb0c41

Please sign in to comment.