Created
July 15, 2016 06:57
-
-
Save akhilrex/532991ac60d33deae4b61cfb137a3152 to your computer and use it in GitHub Desktop.
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 characters
| //This code will only work if you have Reddit Enhancement Suite installed on chrome and infinite scrolling is enabled | |
| //All you have to do is open the developer console while on /r/all (https://developers.google.com/web/tools/chrome-devtools/iterate/inspect-styles/shortcuts?hl=en) | |
| // and paste the code mentioned below and hit enter. The webpage will keep getting more content and remove the SFW content. | |
| // Why did I write this : Was bored. | |
| // As it is clear only NSFW content would remain on the screen so use this wisely (or not). | |
| window.setInterval(function(){$('.thing').each(function(){ | |
| if(!$(this).hasClass('over18')){ | |
| $(this).remove(); | |
| } | |
| }); | |
| $('div#progressIndicator').trigger("click");},3000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi