Skip to content

Instantly share code, notes, and snippets.

@wirx6
Created July 22, 2016 14:20
Show Gist options
  • Save wirx6/c2f564b100eb7d5306353045ab3f27f7 to your computer and use it in GitHub Desktop.
Save wirx6/c2f564b100eb7d5306353045ab3f27f7 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Kurahen Zabezpieczenia
// @namespace wirx6
// @author wirx6
// @version 0.1
// @match *://karachan.org/*
// @exclude http://www.karachan.org/*/src/*
// @exclude https://www.karachan.org/*/src/*
// @exclude http://karachan.org/*/src/*
// @exclude https://karachan.org/*/src/*
// @match *://kara.8ch.net/*
// @exclude http://kara.8ch.net/*/src/*
// @exclude https://kara.8ch.net/*/src/*
// @exclude http://kara.8ch.net/*/src/*
// @exclude https://kara.8ch.net/*/src/*
// ==/UserScript==
localStorage.xD = 'xD';
$("div").each(function(){
var klasa = $(this).attr('class');
if(typeof klasa !== typeof undefined && klasa !== false && klasa.length>30){
console.log('removed kebab('+klasa+')');
$(this).attr('class', klasa+" hidden");
}
});
$("script").each(function(){
this.remove();
});
localStorage.o_loader = 1;
localStorage.o_watched = 1;
localStorage.o_imgexpand = 1;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment