Last active
August 29, 2015 14:03
Revisions
-
oxpa revised this gist
Aug 23, 2014 . 1 changed file with 13 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,14 +3,20 @@ // @namespace 9gag.com // @description test // @include http://9gag.com/gag/* // @exclude http://9gag.com/hot // @exclude http://9gag.com/gif // @version 2 // @run-at document-end // @grant none // ==/UserScript== this.$=this.jQuery=jQuery.noConflict(true); pst=(window.location.pathname).split("/").slice(-1)[0]; pst=GAG.Configs._configs.data.fast_entries.items[pst].pinImg; IMG="<img alt='' src='"+pst+"' class='badge-item-img wasnothere'>"; IMG2="<img alt='' style='position:absolute; left:0px;top:0px;' src='"+ pst +"' class='badge-item-img wasnothere'>"; IMG2=IMG2.replace(/700b/,"460sa"); $('.nsfw-post').replaceWith(IMG+IMG2); $('.wasnothere').parent().removeClass("badge-nsfw-entry-cover"); $('.wasnothere').parent().addClass("badge-post-zoom zoomable"); $('.wasnothere').attr("href","javascript: void(0)"); -
oxpa revised this gist
Jul 14, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -3,7 +3,7 @@ // @namespace 9gag.com // @description test // @include http://9gag.com/gag/* // @version 2 // @grant none // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); -
oxpa revised this gist
Jul 14, 2014 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -8,8 +8,9 @@ // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); IMG="<img alt='' src='"+$("article").attr("data-entry-thumbnail-url").replace(/92x92/,"700b")+"' class='badge-item-img wasnothere'>"; IMG2="<img alt='' style='position:absolute; left:0px;top:0px;' src='"+$("article").attr("data-entry-thumbnail-url").replace(/92x92/,"460sa")+"' class='badge-item-img wasnothere'>"; $('.nsfw-post').replaceWith(IMG+IMG2); $('.wasnothere').parent().removeClass("badge-nsfw-entry-cover"); $('.wasnothere').parent().addClass("badge-post-zoom zoomable"); $('.wasnothere').attr("href","javascript: void(0)") -
oxpa created this gist
Jul 14, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,15 @@ // ==UserScript== // @name 9gag.test // @namespace 9gag.com // @description test // @include http://9gag.com/gag/* // @version 1 // @grant none // ==/UserScript== this.$ = this.jQuery = jQuery.noConflict(true); IMG="<img alt='' src='"+$("article").attr("data-entry-thumbnail-url").replace(/92x92/,"700b")+"' class='badge-item-img wasnothere'>"; $('.nsfw-post').replaceWith(IMG); $('.wasnothere').parent().removeClass("badge-nsfw-entry-cover"); $('.wasnothere').parent().addClass("badge-post-zoom zoomable"); $('.wasnothere').attr("href","javascript: void(0)")