Bookmarklet #5
Closed
zerosonesfun
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Mobile users can’t use the Chrome extension, but they can paste the following as a bookmark address and each bookmark tap will go to a site in the Webring.
javascript:(async()=>{try{const u='https://raw.githubusercontent.com/zerosonesfun/surfle/main/webring.json';const k='surfle_index';const r=await fetch(u);const j=await r.json();let i=parseInt(localStorage.getItem(k)||0);i=(i+1)%j.length;localStorage.setItem(k,i);location.href=j[i];}catch(e){alert('Surfle error: ' + e.message);}})();
Beta Was this translation helpful? Give feedback.
All reactions