Skip to content

Instantly share code, notes, and snippets.

@Mumberthrax
Created March 3, 2019 02:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mumberthrax/8048ee23f8cff3c930f495d235526918 to your computer and use it in GitHub Desktop.
Save Mumberthrax/8048ee23f8cff3c930f495d235526918 to your computer and use it in GitHub Desktop.
Bookmarklet to use Dissenter - for using dissenter without a browser extension. copy code into a new bookmark, click bookmark to toggle dissenter comments
javascript:(function(){var frame=document.getElementById("ifrm");if(frame!==null){frame.parentNode.removeChild(frame)}else{var iframe=document.createElement('iframe');iframe.src='https://dissenter.com/discussion/begin?url='+encodeURIComponent(location.href);iframe.style.width="25%";iframe.style.height=window.innerHeight+'px';iframe.style.top="0";iframe.style.right="0";iframe.style.position="fixed";iframe.style.zIndex="9999";iframe.setAttribute('id','ifrm');document.body.appendChild(iframe)}})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment