question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

js_frame doesn't present in dom

See original GitHub issue

Hi. When i’m tested my extension, i see, that not everyone have js_frame. Proofs:

Without js_frame:

87ba367e-c2eb-4262-9d41-6e2a305fc46d

With js_frame:

screenshot from 2018-03-20 16-47-12

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:closed
  • Created 6 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
phyxologcommented, Mar 28, 2018

@josteink Well, I’ll do it when I full testing my extension, after this I will report you about problems/or their lacks 😃

1reaction
josteinkcommented, Mar 28, 2018

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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found