js_frame doesn't present in dom
See original GitHub issueHi. When i’m tested my extension, i see, that not everyone have js_frame
. Proofs:
Without js_frame:
With js_frame:
So, i get many errors in the first case. Ideas?
Error text: Uncaught Cannot register the xhr watcher as mail.google.com is not fully loaded yet. Please wrap your code in gmail.observe.on("load")
(but code wrapped in load
, script injected after tab loaded)
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
javascript document.getElementById in other frames
You can refer the other frame by using window.frames["framename"]. and then you can refer the element in the DOM by using
Read more >riversun/JSFrame.js: An independent lightweight multi-window ...
Call the JSFrame. · Get DOM element from contents: · Get the element which id is 'my_element' · Set window position · Set...
Read more >Window.requestAnimationFrame() - Web APIs | MDN
The window.requestAnimationFrame() method tells the browser that you wish to perform an animation and requests that the browser calls a ...
Read more >Frame Class - YUI Library - GitHub Pages
Creates a wrapper around an iframe. It loads the content either from a local file or from script and creates a local YUI...
Read more >10 Best JavaScript Frameworks to Use in 2023 - Hackr.io
It is by no means the only language present on the web, but it is popular ... Virtual DOM: Vue.js utilizes a virtual...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@josteink Well, I’ll do it when I full testing my extension, after this I will report you about problems/or their lacks 😃
I’ve submitted some code which may or may not address this in the following branch: https://github.com/KartikTalwar/gmail.js/tree/js_frame_fix
I can’t guarantee this will solve all your issues, but if you could test it and report back how this works, that might help us move the issue along 😃