[ home ] [ site / arch ] [ pony / oat / anon ] [ rp / art ]

/anon/ - Anonymous

an anonymous board with few rules where anonymous culture reigns
Name
Email
Submit
Comment
File
Flags
Password (For file deletion.)

Site maintenance in progress! Posts made now may be lost.

Ponychan-MLPchan Merger >>>/site/15219

File: 1420619934378.jpg (22.09 KB, 500x256, 565208__solo_meme_questionable…)

Mature Setting Setter Userscript Anonymous 492234

Just a FYI if you can't get the cookies to stick, then this userscript will make sure Mature threads always display. As the only places that allow you to upload userscripts all require like your Google account name, and I don't want that associated with horse porn, you'll have to just create a new script and copy and paste.

// ==UserScript==
// @id [email protected]
// @name mlpchan mature already dammit
// @version 1.0
// @namespace
// @author
// @description
// @include https://mlpchan.net/anon/*
// @run-at document-end
// ==/UserScript==

function contentEval(source) {
// Check for function input.
if ('function' == typeof source) {
// Execute this function with no arguments, by adding parentheses.
// One set around the function, required for valid syntax, and a
// second empty set calls the surrounded function.
source = '(' + source + ')();'
}

// Create a script node holding this source code.
var script = document.createElement('script');
script.setAttribute("type", "application/javascript");
script.textContent = source;

// Insert the script node into the page, so it will run, and immediately
// remove it to clean up.
document.head.appendChild(script);
document.head.removeChild(script);
}

function settings() {
var setSetting = window.settings.setSetting;
setSetting("show_mature",true,true);
setSetting("mature_as_spoiler",false,true);
setSetting("preview_hover",false,true);
setSetting("image_hover_enabled",false,true);
}

contentEval(settings);


Delete Post [ ]
[ home ] [ site / arch ] [ pony / oat / anon ] [ rp / art ]