instant-page

Cheat your brain with just-in-time preloading, it preloads a page right before you click on it. With the help of instant.page library

  1. // ==UserScript==
  2. // @name instant-page
  3. // @namespace hikerpig
  4. // @match *://*/*
  5. // @grant none
  6. // @version 1.0
  7. // @author hikerpig
  8. // @description Cheat your brain with just-in-time preloading, it preloads a page right before you click on it. With the help of instant.page library
  9. // ==/UserScript==
  10.  
  11.  
  12. function start() {
  13. var script = document.createElement('script')
  14. script.src = '//instant.page/3.0.0'
  15. script.type = 'module'
  16. document.body.appendChild(script)
  17. console.log('Successfully injected instant.page library')
  18. }
  19.  
  20. start()