Skip to content

Instantly share code, notes, and snippets.

View ELowry's full-sized avatar

Eric Lowry ELowry

View GitHub Profile
@ELowry
ELowry / 9GAG.js
Created November 30, 2017 17:57 — forked from debloper/9GAG.js
Unlock NSFW without logging in
// Remap $ to jQuery object
var $ = jQuery;
// The real fun begins... first catch all the post-anchors & loop on them
$(document).on("scroll", function () {
// Let's declare some reusable globals for the next iterations
var urlBase = "http://img-9gag-lol.9cache.com/photo/";
$(".badge-evt.badge-nsfw-entry-cover").each(function () {
// Remove the NSFW class, to avoid redundant processing