xHamster Comments Button

Replaces the "New xHamster" button with direct access to your new comments

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

You will need to install an extension such as Tampermonkey to install this 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         xHamster Comments Button
// @namespace    https://greasyfork.org/en/scripts/370228-xhamster-comments-button
// @version      0.3
// @description  Replaces the "New xHamster" button with direct access to your new comments
// @author       Phlegomatic
// @match        https://xhamster.com/*
// @include      https://*.xhamster.com/*
// @grant        none
// ==/UserScript==

var TAG = "New Comments";
var URL = "https://xhamster.com/my/subscriptions/news?show=comments";

var cName = "design-switcher no-popunder";

document.getElementsByClassName(cName)[0].innerHTML=TAG;
document.getElementsByClassName(cName)[0].href=URL;