All Porn

娱乐向全局P**nHub

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         All Porn
// @namespace    http://tampermonkey.net/
// @version      1.1
// @description  娱乐向全局P**nHub
// @author       ChenYFan
// @match        *://*/*
// @icon         https://api.cyfan.top/icon?domain=pornhub.com
// @grant        none
// ==/UserScript==

(function() {
document.head = document.head || document.getElementsByTagName('head')[0];

function changeFavicon(src) {
 var link = document.createElement('link'),
     oldLink = document.getElementById('dynamic-favicon');
 link.id = 'dynamic-favicon';
 link.rel = 'shortcut icon';
 link.href = src;
 if (oldLink) {
  document.head.removeChild(oldLink);
 }
 document.head.appendChild(link);
}
    changeFavicon('https://api.cyfan.top/icon?domain=pornhub.com');

    document.title = 'Porn Hub - Free Porn and Porn Cams - Free Porn Chat and Webcam Porn Videos - Free Porn, Porn Cams, Free Porn Chat, Webcam Porn'
    const o_t = document.title
    let flag = false
    setInterval(()=>{if(flag){document.title = "【新消息】"+o_t}else{document.title = '【_______】'+o_t};flag=!flag},500)

})();