Created
March 25, 2016 00:45
-
-
Save lilbro1062000/929bbf08c184e8a0e0b9 to your computer and use it in GitHub Desktop.
my Userscript to clear off some ads stuff on solarmovie
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name My Fancy New Userscript | |
// @namespace http://your.homepage/ | |
// @version 0.1 | |
// @description enter something useful | |
// @author You | |
// @match http://watch.solarmovie.ph/link/play/* | |
// @grant none | |
// @require http://code.jquery.com/jquery-latest.js | |
// ==/UserScript== | |
//goal is to stip the parts off of a thing | |
// load jQuery and execute the main function | |
//function main() { | |
// $("#frame").css("display","none"); | |
// $('.thirdPartyEmbContainer').css("padding",'0'); | |
// $('.thirdPartyEmbContainer').css("margin-left",'-367px'); | |
// $('.relative').css("display","none"); | |
//} | |
//main.prototype = { | |
// $("#frame").css("display","none"); | |
// $('.thirdPartyEmbContainer').css("padding",'0'); | |
// $('.thirdPartyEmbContainer').css("margin-left",'-367px'); | |
// $('.relative').css("display","none"); | |
//}; | |
//$("#frame").css("display","none"); | |
//$('.thirdPartyEmbContainer').css("padding",'0'); | |
//$('.thirdPartyEmbContainer').css("margin-left",'-367px'); | |
//$('.relative').css("display","none"); | |
// | |
document.getElementById('frame').style.display = 'none'; | |
var container = document.getElementsByClassName('thirdPartyEmbContainer')[0]; | |
//container.style.marginLeft = "-350px"; | |
container.style.padding= 0; | |
var bottomPart = document.getElementsByClassName('relative')[0]; | |
//bottomPart.style.display="none"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment