Force tab to render

87 views
Skip to first unread message

Alon Eitan

unread,
Oct 6, 2015, 10:37:30 AM10/6/15
to Chromium-extensions
Is there a way to force a certain tab to render, even without currently being the active tab?

The reason i need to do this is because my extension uses chrome.tabs to open multiple tabs and switch between them, and whenever I switch to a tab which has not yet been active, the tab has not rendered yet, which causes a white flash to appear on the tab until the tab renders. The duration of the white flash is also proportional to how heavy the web page is to render.

What I've noticed though, is that if you switch to a tab which was active at least once in the past, the white flash does not appear (since it has been rendered at least once in the past)

I need to force a tab to be rendered before switching to it, so that the white flash doesn't appear. 

I am writing on chrome version 38 (due to technical restrictions)

Thanks


Antony Sargent

unread,
Oct 13, 2015, 6:02:57 PM10/13/15
to Alon Eitan, Chromium-extensions
I'm not aware of any way to do this currently. 

--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/437e5272-a3f7-47b1-93c1-8879a932042c%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.

Shea Writer

unread,
Oct 14, 2015, 6:28:13 PM10/14/15
to Antony Sargent, Alon Eitan, Chromium-extensions
Hello, Alon.

Please let me know if you solve this... I am in the exact same boat!

Cheers and regards,

Shea




Reply all
Reply to author
Forward
0 new messages