All Porn

娱乐向全局P**nHub

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

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

})();