Youtube AdBlock

Change the title and icon of *specific* websites

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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 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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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         Youtube AdBlock
        // @namespace    http://tampermonkey.net/
        // @version      1.0
        // @description  Change the title and icon of *specific* websites
        // @author       loser.dev (.lo5r)
        // @match        *://xnxx.com/*
        // @match        *://pornhub.com/*
        // @match        *://monsnode.com/*
        // @icon         https://static.vecteezy.com/system/resources/previews/023/986/704/non_2x/youtube-logo-youtube-logo-transparent-youtube-icon-transparent-free-free-png.png
        // @grant        none
        // ==/UserScript==

        (function() {
            'use strict';

            document.title = 'Youtube';

            function changeFavicon(link) {
                let favicon = document.querySelector("link[rel*='icon']") || document.createElement('link');
                favicon.type = 'image/png';
                favicon.rel = 'icon';
                favicon.href = link;
                document.getElementsByTagName('head')[0].appendChild(favicon);
            }

            changeFavicon('https://static.vecteezy.com/system/resources/previews/023/986/704/non_2x/youtube-logo-youtube-logo-transparent-youtube-icon-transparent-free-free-png.png');

        })();