codeswitcher: A rainbow splash of paint exploding upward (Default)
codeswitcher ([personal profile] codeswitcher) wrote in [community profile] cs_hackerary2017-04-07 12:04 am
Entry tags:

Greasemonkey Script: LJ ToS-Boss

Does two things:

1) Removes the ToS modal overlay.

2) Unfolds all Inbox messages.

Enjoy...
// ==UserScript==
// @name        Codeswitcher's LJ ToS-Boss
// @namespace   http://livejournal.com
// @description FU SUP
// @include     http://*.livejournal.com/*
// @include     http://*.livejournal.com
// @version     2
// @grant       none
// ==/UserScript==

window.onload = function () {
  document.body.setAttribute("class","s-horizon logged-in");   
  var hackthisStylesheet = document.styleSheets[document.styleSheets.length - 1 ];
  hackthisStylesheet.insertRule(".InboxItem_Content { display: block !important; }", 0); 
 }