Add URL to page title
Simply adds the URL to the title bar.
This put the URL of any web page you're on into the page title in the format:
Original Title |url:[http://www.the-url.com]
But why?
In Chrome, other applications used to be able to use Chrome_OmniboxView to get the URL of the page you are on. Since version 28, you can no longer do this.
However, you can still get the title of the window. This simple Chrome extension puts the URL into the title to make it available to other applications.
Latest reviews
А кто нибудь может полный код написать? скиньте если где то есть, пожалуйста, на [email protected].
Die Erweiterung ist sauber. Das ist der Quelltext der Extension, der einfach nur location.href dem document.title hinzufügt: ########################## function doit() { var start = " - ["; var end = "]"; if (document.title.indexOf(start) == -1) { document.title += start + location.href + end; } } doit(); window.onload = function () { doit(); } ##########################
Не работает на ajax-сайтах и если сайт меняет заголовок окна. Было бы не плохо прикрутить на событие смены тайтла
Exactly as described and Simple.
Exactly as described and Simple.