Comments (2)
With nsIDOMWIndowUtils
there is chance to implement something like the requested feature.
Gecko 2 introduced windowID
which can be queried:
var util = win.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
.getInterface(Components.interfaces.nsIDOMWindowUtils);
var windowID = util.outerWindowID;
See windows related Code Snippets on MDN!
For Gecko 1.9.2 we could gracefully fail and return undefined
for example.
Keeping the window specified titles could be in a hash:
var uniqueTitles = {};
uniqueTitles[windowIDOfwindowOne] = "Something specific string";
uniqueTitles[windowIDOfwindowTwo] = "Window 2 specific title";
With hash, storing would be more easier: serialize it with JSON
into a new preference, example: nightly.titlebar.uniqueWindowTitles
.
An issue could be the setting of the window specific string.
It would be nice if user would have the ability to set the specific strings for all window independently from the recent window.
For example dorando's keyconfig does have a dropdown list.
from nightlytt.
Using that method I don't think it will be persistent. At least when you restart the application all of your windows will get a new id. So probably we should make use of session store and attach a property onto a window. That would be persistent across browser sessions.
from nightlytt.
Related Issues (20)
- Add back pushlog feature HOT 16
- Cannot insert buildid into some text boxes HOT 6
- Enable undo in textboxes HOT 5
- Add back pastebin feature
- Promote to beta audience HOT 3
- Title setting doesn't stay HOT 8
- "Insert Build ID" and "Insert List of Extensions" overwrites the text box content
- ${Profile} does not work on 4.0 (works on 3.1) HOT 3
- Reopen closed tabs works in Incognito mode HOT 1
- panel-list-item background does not redraw when mouse out HOT 2
- Modified title string precedes the page's title and Firefox's title HOT 8
- Homepage needs update regarding changes in available variables
- Better identification of extensions HOT 1
- Installs but does not work on Quantum (ESR 60), no menus, no options, no user interface HOT 3
- [customize-titlebar] Custom title bar does not work on blank pages/tabs HOT 1
- Insert Domain Name of current Tab into Title Bar HOT 1
- JSON viewer color update 65.0a1, feature or bug? HOT 1
- CODE_OF_CONDUCT.md file missing
- Add open source software license HOT 3
- NTT customize title bar: add profile name variable HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nightlytt.