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

[BUG] Extension Errors #987

Open
2 tasks done
akumaren666 opened this issue Jan 8, 2024 · 1 comment
Open
2 tasks done

[BUG] Extension Errors #987

akumaren666 opened this issue Jan 8, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@akumaren666
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

This issue exists in the latest nightly version

  • I am using the latest nightly version

What browsers are you seeing the problem on?

Opera

Current Behavior

Hello everyone,

I have been having constantly the past 2 days extensions errors on the Opera GX Browser. I know nothing about js on fixing, so I am hoping I could get a solution here.

See as per screenshots attached.

Uncaught (in promise) Error: Duplicate script ID 'seventv-youtube'
background.js:0 (anonymous function)

Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.
background.js:0 (anonymous function)

image_2024-01-08_153626399
image_2024-01-08_153648916

Expected Behavior

I expect the errors to be resolved.

Steps To Reproduce

Starting the browser always shows an error.

@akumaren666 akumaren666 added the bug Something isn't working label Jan 8, 2024
@blauer4
Copy link

blauer4 commented May 27, 2024

Hi, got the same error on brave v1.66.113 based on chromium 125.0.6422.76.
This part of the code seems to be the issue, it's in the background.ts file at line 85.

chrome.scripting.registerContentScripts([{
	id: "seventv-youtube",
	js: ["content.js"],
	matches: ["*://*.youtube.com/*", "*://*.kick.com/*"],
},
]);

Right now I don't have time to look at this in particular, but it seems that when more tabs are open, it calls this piece of code multiple times.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants