by kaiwetzel · 14y ago · 0 comments
I think it's a very useful idea. Maybe a bookmarklet is second best to a browser plugin (but this one can surely be improved):
javascript:(function(){var%20s=encodeURIComponent(window.location.href.match(/:\/\/(.[^/]+)/)[1]);open('http://colrgrabr.swissamigos.com/?url='+s+'#'+s);})();
(stripping the path for now, to make it work)Btw. you don't need the ?url= query param.
javascript:(function(){var%20s=encodeURIComponent(window.location.href.match(/:\/\/(.[^/]+)/)[1]);open('http://colrgrabr.swissamigos.com/#+s);})();