instantpage / instant.page

Make your site’s pages instant in 1 minute and improve your conversion rate by 1%
https://instant.page
MIT License
6.04k stars 205 forks source link

Browser extension #1

Closed fenollp closed 5 years ago

fenollp commented 5 years ago

Could you publish a browser extension? Or maybe there's already one and I missed it? In particular it shouldn't clash with extensions such as https://chrome.google.com/webstore/detail/imagus/immpkjjlgappgfkkfieppnmlhakdmaab?hl=en Thanks

david-a-wheeler commented 5 years ago

The problem is that only websites will know whether or not pre-loading a page is okay. So having a website tell you is no problem, but an extension would have no clue about any particular link.

fenollp commented 5 years ago

Well, I would. And I could maintain a blacklist of links/regexps too.

ibrokemycomputer commented 5 years ago

Well, I would. And I could maintain a blacklist of links/regexps too.

I highly doubt you would know whether any link on any site is 'ok' to preload... Sorry if this seems blunt and/or uneducated, but that seems like a per-site deal (regardless of certain visible HTML attributes in the DOM)

fenollp commented 5 years ago

Look I'm not saying this browser extension would be for everyone. Indeed some links are not meant to be preloaded (sign out, deletion, ...) but there is no insidious act here: I'm willingly activating this extension. I can maintain a global/per-subTLD black/white list of URL patterns like a big boy. There could also be a process to review/accept items on these lists to be merged into the extension.

dieulot commented 5 years ago

I’m considering doing a Chrome/Firefox extension.

I’ll have to think more about it, but currently I think it should be activated on any site by default, with a button to deactivate it on a specific site, like uBlock Origin does.

It would only preload links without a query string, but there would be exceptions, for instance Hacker News’s link to comments.

It would also probably be a good idea to enable it for external links.

dieulot commented 5 years ago

It’s done for Chrome: https://chrome.google.com/webstore/detail/fasterchrome/nmgpnfccjfjhdenioncabecepjcmdnjg

For Firefox, I’ll wait until pages don’t have to be put in cache to be prefetched (#7).

grahamperrin commented 4 years ago

… For Firefox, …

Via https://redd.it/e5v4wq:

https://www.reddit.com/comments/e5v4wq/-/fa8xm11/?context=1 I asked:

Is it simply using what's integral to Firefox, or is there more?