LooseStool

InfoGalactic wiki Toggle.js #Bookmarklet

Sep 17th, 2019
368
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript:void function toggle(d){function e(a){return a.replace(/https?:\/\/(?:[^./]+\.)*([^./]+\.[^./]+)\//,"https://$1/")}(function(a,c,b){a=b?b.includes(c)?e(b).replace(c,a):b.includes(a)?e(b).replace(a,c):b:b;return a!=b?location.href=a:a})(d[0],d[1],location.href)}(["wikipedia.org/wiki","infogalactic.com/info"]);
  2.  
  3.  
  4. // >>> InfoGalactic wiki Toggle.js.bookmarklet <<<
  5. // #Bookmarklet can be simpler than a web browser extension, so feel free to use this I just threw together...
  6. // (this web page) https://pastebin.com/8ALRRaft [ https://pastebin.com/u/LooseStool ]
  7. // in reply to web browser extension announcement by #BigBear
  8. // https://www.gab.com/owenbenjamin/posts/102799665988433373
  9. // see: https://www.gab.com/LooseStool/posts/102803814956726105
Advertisement
Add Comment
Please, Sign In to add comment