mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 23:32:31 +02:00
More per-window private browsing fixes.
This commit is contained in:
1 parent
da332e7c2c
commit
f166f50780
5 files changed
+26
-7
No files matched your search
@@ -1420,7 +1420,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
|
||||
document.title = document.title.replace(RegExp("(.*)" + util.regexp.escape(old)), "$1" + current);
|
||||
}
|
||||
|
||||
if (services.has("privateBrowsing")) {
|
||||
if (win.hasAttribute("titlemodifier_privatebrowsing")) {
|
||||
let oldValue = win.getAttribute("titlemodifier_normal");
|
||||
let suffix = win.getAttribute("titlemodifier_privatebrowsing").substr(oldValue.length);
|
||||
|
||||
|
||||
Reference in new issue
Block a user