Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Firefox doesn't load extra settings on restart #14

Closed
wants to merge 1 commit into from

Conversation

Anteus
Copy link

@Anteus Anteus commented Nov 4, 2022

@@ -126,7 +126,7 @@ export async function executeScript({
throw new Error('chrome.scripting does not support injecting strings of `code`');
}

void chrome.scripting.executeScript({
void chromeP.scripting.executeScript({
Copy link
Owner

@fregante fregante Nov 4, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello, thanks for the PR, but this changes nothing on how code is executed. The only difference is maybe how an error is displayed in the console

Edit: chromeP is a polyfill for Chrome manifest v2 and it changes nothing in Firefox at all, both mv2 and mv3

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the info and sorry for the trouble.

@fregante fregante closed this Nov 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants