Loading chrome extension into QWebEngineView #317
Unanswered
NiceShyGuy
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
I wouldn't recommend doing anything with v2.2.3 as v3.0.0 is just around the corner and it's a total rewrite. It's worth noting however that |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm working on integrating the 7tv chrome plugin with
QWebEngineView. I have been successful in that i am able to render 7tv images in chat, I have the 7tv button which opens the emote picker, and had to inject the logo onto the button.The problem is i keep getting this error:
js: %c[7TV] %c[WARN]%c Could not find 7TV global stylesheet (content) color:#ef9234; color:#fac837; color:reset;This is because i am not loading content.js because if i load it i get the following error:
js: Uncaught TypeError: Cannot read property 'onMessage' of undefinedif i try to load content.js my implementation breaks and i would rather have a partially working solution then one that doesn't.
If i try to go further and eliminate this error by loading background.js i get the following error:
js: Uncaught TypeError: Cannot read property 'onInstalled' of undefinedI'm an amateur at all of this so i'm not sure how to resolve this issue. I'm lucky to have gotten as far as i did. If anyone can help me eliminate this error i would appreciate it. Otherwise i will just have to live with it for now.
Here is the python code that i am using currently to load the partial implementation of the chrome plugin:
Beta Was this translation helpful? Give feedback.
All reactions