All Porn

娱乐向全局P**nHub

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

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

(I already have a user script manager, let me install it!)

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.

(I already have a user style manager, let me install it!)

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

})();