-
Notifications
You must be signed in to change notification settings - Fork 13
Frequently Asked Questions
#Frequently Asked Questions
The following are answers to common questions or issues you may run into while working with Add URL to Window Title.
The add-on itself does not rely upon any special operating system specific libraries, and should run in any Firefox installation version 30 or higher. It should work in most Firefox derivatives, like Cyberfox, but those derivative versions may change code which impacts the running of add-ons or may apply restrictions on the functionality of the add-on (e.g., may not implement showing the <title>
/ document.title
in the window's title).
You may need to do some work to setup system shortcuts and KeePass integration on other operating systems. At the time if writing, Mac OSX has not been tested nor have any Linux window managers.
No, the title will be set and updates regardless of whether or not you display the titlebar. The title should still be accessible by KeePass.
There seems to be characters stripped out of the title and it interferes with my existing auto-type matching rules.
There are a few reasons why the title set by the add-on may be different from what you are expected:
- The web page you are visiting makes use of JavaScript which in such a way that the add-on cannot sync up all of the changes.
- A JavaScript change or hash change has occurred which triggered an update to the originally loaded title. In this case the add-on is acting as expected and is responding to changes which may be important for differentiating auto-type rules.
- The add-on removes angle brackets, single quotation marks, and double quotation marks (
[<>'"]
). It will also remove any opening or closing<script />
tags and replace them with "noscript". This is to reduce the likelihood of the addon being leveraged in a dom-based XSS attack. It was decided to make this a default option which could not be user-modified or per site modified.
In most cases, if you are starting with brand new auto-types rules and following the guidance provided elsewhere on the wiki, this should not come up to frequently. Though, any of your rules are subject to update as site owners change their URLS, titles, etc. If you would like to modify this behavior, you can modify the source and package the code yourself. If you believe your issue is not covered above, please submit an issue.
I have activated the "Show field attributes when a text input field has focus?" option, but the title is not updated when I click on field or use the tab key to enter a field.
This can happen in a few cases:
- If the web page makes use of frames or loads the input fields within an
<iframe />
. This is because the form is actually in a sub web page which has it's own title separate from the parent, i.e., the title is being updated, but not the title you expect or need. There is no workaround for site's that decide to put their forms within frames or iframes. - The web page makes use of JavaScript which is making a lot of changes to the DOM or other background changes (such as AJAX). These changes may interfere with the add-on's ability to attach and listen to events trigger by giving an
<input />
field focus.
This is not currently possible, but I am considering it for a future feature. If you would like to code this functionality, please feel free to issue a pull request.