Selective Signature

Automatically disables your signature on all posts outside of a specific forum category

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

// ==UserScript==
// @name           Selective Signature
// @version        2.0
// @description    Automatically disables your signature on all posts outside of a specific forum category
// @author         Mr Whiskey
// @include        https://hackforums.net/showthread.*
// @include        https://hackforums.net/newreply.*
// @include        https://hackforums.net/newthread.*
// @require        http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js
// @namespace      http://www.fuckboygamers.club
// ==/UserScript==

$('input[name="postoptions[signature]"]').each(function(){ this.checked = true; }); // Disables checkmark for some reason

if($('a:contains("Instinct")').length > 0 === false) // Checks if <a> link contains "Instinct" group
   $('input[name="postoptions[signature]"]').each(function(){ this.checked = false; }); // Enables checkmark for some reason