URL as PAGE TITLE

Shows address bar url as page title everywhere.

Verze ze dne 20. 04. 2016. Zobrazit nejnovější verzi.

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

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 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         URL as PAGE TITLE
// @namespace    url_as_page_title
// @version      1.0
// @description  Shows address bar url as page title everywhere.
// @author       [email protected]
// @match      *://*/*
// ==/UserScript==


console.log(' URL as PAGE TITLE');
console.log(document.URL);


var n_t = document.URL.replace('https', '');
n_t = n_t.replace('http', '');
n_t = n_t.replace('://www.', '');
n_t = n_t.replace('://', '');


setInterval(function(){
	document.title = n_t;
}, 3000);