Skip to content

Instantly share code, notes, and snippets.

@unt0uchable
Last active June 23, 2016 07:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save unt0uchable/8cb72f5aa89bb95ebea43b5690513d59 to your computer and use it in GitHub Desktop.
Save unt0uchable/8cb72f5aa89bb95ebea43b5690513d59 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name dev_spankbang
// @namespace2 unt0uchable
// @description Userscript for spankbang
// @author unt0uchable
// @include *spankbang.com*
// @include *spankbang.com/*/video/*
// @version 1
// @grant GM_config
// @grant GM_xmlhttpRequest
// @grant GM_getResourceURL
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_registerMenuCommand
// @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require https://greasyfork.org/libraries/GM_config/20131122/GM_config.js
// ==/UserScript==
/*
Other includes:
// @include *spankbang.com*
*/
this.$ = this.jQuery = jQuery.noConflict(true);
try {
// $(function(){
//$('similar')
// $('a:visited').parent('.inf').parent('.video-item').css({'opacity':'0.5'});
// $('a:visited').parentsUntil('.video-item').css({'opacity':'0.5'});
// $('a:visited').parentsUntil('.video-item').siblings('').css({'opacity':'0.5'});
// $('a:visited').parentsUntil('.video-item').css({'opacity':'0.5'});
$('a:visited').parentsUntil('.video-similar').css({'opacity':'0.5'});
// $("#MenuBar a").bind("click", function(){
// $(this).addClass("clicked");
// });
// });
} catch (err) {
alert(err.toString());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment