format=light & style=mine buttons..

Jan 15, 2016 18:18

I got tired of adding ?format=light or ?style=mine to the url every time I ran into a journal layout that's difficult for me to read, so I created bookmark buttons and thought someone else might want them too.

In the bookmark toolbar, right-click and choose New Bookmark, type a Name for the bookmark then, under Location, copy/paste one of the lines of code below and click Add. (Note: make sure the "Load this bookmark in the sidebar" option is unchecked.)

For use on LJ/livejournal:
javascript:if(location.hostname.indexOf('livejournal.com')%20>=%200){location.search+=(location.search?'&':'?')+'format=light';}
javascript:if(location.hostname.indexOf('livejournal.com')%20>=%200){location.search+=(location.search?'&':'?')+'style=mine';}

For use on IJ/insanejournal:
javascript:if(location.hostname.indexOf('insanejournal.com')%20>=%200){location.search+=(location.search?'&':'?')+'format=light';}
javascript:if(location.hostname.indexOf('insanejournal.com')%20>=%200){location.search+=(location.search?'&':'?')+'style=mine';}

For use on DW/dreamwidth:
javascript:if(location.hostname.indexOf('dreamwidth.org')%20>=%200){location.search+=(location.search?'&':'?')+'format=light';}
javascript:if(location.hostname.indexOf('dreamwidth.org')%20>=%200){location.search+=(location.search?'&':'?')+'style=mine';}

Then just open a journal page and click the corresponding bookmark button to automatically refresh the page and change the formatting.

I tested them in Firefox, Maxthon, Comodo Dragon, and Seamonkey, but they should work in any browser that has a bookmark toolbar (except IE because Microsuck). :D

ij, code geek, dw, techno geekery, lj

Previous post Next post
Up