Skip to content

Instantly share code, notes, and snippets.

View martent's full-sized avatar

Mårten Thavenius martent

View GitHub Profile
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2

owF1kn9MVWUYxy8EcQGzq2mJoegBuoA3OO857/mF+aMUEJAsxFiNxd5zznsuhx/3
3s69IOCgIfiLYBkQMRNRwQIkWhNlQ3LkcuQAma0yYK3GRECsaIlCRXYuo2VtPX+9
Pz7P932+7/McfewRg9HjbuOKHTNrXXUefZOiYc/6jeZ9hGiXC4jofYSUrWKby72y
oRxMRBNZuEBEThyp2tfZ7DKOzHSuW2QsRB7WnKrdplNkJBfJEUUWN+5OVlSbFWsO
TXVrEawAMaUAHgsUhDTkJRbRFENzCkQ0gJBXGIA5KPC6ZIbd6frXq8SCZroq66ex
8PkFPpYBMYt87sIFy3ICiTAGrMBDSkI8J7IsKcgKFERRAoIbdGJt0VIO0lxuA3q5
@martent
martent / GMailConsolas.js
Created June 15, 2013 19:30
Bookmarklet to set Consolas as the composing font for plain text GMails.
javascript:(function(){t=document.getElementsByClassName("aXjCH")[0];t.style.fontFamily="Consolas";t.style.fontSize="16px";document.getElementsByClassName("y3")[0].style.display="none";})();
@martent
martent / mark-it-down.md
Last active March 23, 2021 15:56
Surf the web with markdown style

Surf the Web With Markdown Style

This bookmarklet removes a web page’s current styling and applies markdown style to it. No conversion, just style.

1. Create a bookmarklet with the following javascript as the URL.

javascript:(function(){var s=document.createElement('script');s.src='https://dl.dropbox.com/s/5tyy4xskrda9r28/markdownify.js?token_hash=AAE5s_WBThN9O1mx6AfsPqSY6xjNvD47n6-24vn-ourX_w&dl=1';document.body.appendChild(s);})();