Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Auto-sub to subreddit if NSFW
- // @namespace https://www.tblop.com
- // @version 1.0.3
- // @description When on a nsfw 18+ subreddit, auto clicks subscribe button if not subscribed, also adds a handy tblop link above subreddit title
- // @author Greg from TBLOP.com
- // @match https://www.reddit.com/r/*
- // @grant none
- // ==/UserScript==
- (function() {
- 'use strict';
- if ($(".nsfw-stamp").length > 10) {
- if ($('.subscribe-button .option.add.active')) {
- $('.subscribe-button').find('.option.add').click();
- }
- $(".titlebox").prepend('<a href="https://www.tblop.com" style="font-size:15px;text-align:right;letter-spacing:1px;margin-bottom:4px;">[ Load TBLOP ]</a>');
- }
- })();
Add Comment
Please, Sign In to add comment