Selective Signature

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

// ==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