Not allowed to launch '' because a user gesture is required
I have problem part code. I am developing an extension. I am trying to open link using my app. var tab; const context = chrome || browser; if (tab.url.includes("youtube.com/watch?")) { context.tabs.update(tab.id, { url: "nameOfMyProgram:" + tab.url }); // Not allowed to launch //'<URL>' because a user gesture is required. } The problem occurs in the opera browser The first time it hits the web page, it works correctly. On subsequent clicks, an error "Not allowed to launch '' because a user gesture is required." This works correctly in the chrome browser. How can I solve this problem? I have pe
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.