1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 17:35:46 +01:00

Add 'yankshort' option.

This commit is contained in:
Kris Maglione
2011-11-25 09:52:33 -05:00
parent 32973aea75
commit 7d939adf11
5 changed files with 26 additions and 4 deletions

View File

@@ -1431,7 +1431,10 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
setter: function (value) {
let win = document.documentElement;
function updateTitle(old, current) {
document.title = document.title.replace(RegExp("(.*)" + util.regexp.escape(old)), "$1" + current);
if (config.browser.updateTitlebar)
config.browser.updateTitlebar();
else
document.title = document.title.replace(RegExp("(.*)" + util.regexp.escape(old)), "$1" + current);
}
if (services.has("privateBrowsing")) {