.bookmarklets
A collection of bookmarklets that I use occasionally
Strictly speaking, bookmarklets, since they are a URL, should be encoded to escape all reserved characters (!*'();:@&=+$,/?#[]
). In practise only some of the reserved characters cause problems, and browsers auto-convert the problem ones when you create a new bookmark anyway...
Converting DOM element styles
- !fixed - convert
position:fixed
toposition:absolute
- !sticky - convert
position:sticky
toposition:absolute
- !cover - convert images on Twitter to
background-size:contain
Removing DOM elements from the page
- !fixed - delete
position:absolute
- !a - remove <a>
- kill - kill any block level element
- kill 2 - kill any block level element
- kill 3 - kill any block level element
- kill 3 - kill any block level element
Page styles
- background:white - set page background to white
- show page head
Page info
- Document.title - get page title
- robots.txt for this domain