Question

Currently, I have a Chrome browser extension that opens a specified web page in a new tab.

I would like the browser extension to completely pre-load the web page (including images and scripts) so it appears instantly when opened in a new tab.

Any idea on the best way to do this? If Chrome could load a web page in a hidden tab, I would do so and then have the hidden tab appear when the new tab button is clicked.

Thanks in advance!

Was it helpful?

Solution

As I said in the comment, you can try using a Chrome background page to do what you want. Set up the page with the content you want pre-loaded, and then you can open up and serve new content using whatever kind of request you'd like. Read through the examples (or check out the source of your favorite extension) to figure out how to do it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top