Easily manage page and tab titles, per (sub)domain. Press Shift-T-M to open Title Manager's Quick Menu.
Instructions:
On any website where you'd like to modify page titles, maybe trim useless words, press Shift-T-M.
The Quick Menu will open. If you just want to trim some words, edit the "Search for:" field to only contain those words and click on "Add". Job done. ;)
Explanation of Quick Menu options and inner workings.
1) Domain must be specified, only these characters are allowed:
- letters of English alphabet (a-z);
- numbers (0-9);
- underscore (_), minus (-), and period (.).
If entered domain is not valid by these criteria, the adding operation will abort.
What you enter in the domain field will be matched against the domain part of URLs, but it need not be a full domain in order for match to be valid. For example, given a domain rule of "userstyles.org", the rule will match any of the following:
- http://userstyles.org/whatever
- http://forum.userstyles.org/whatever
- http://userstyles.org.nyud.net/whatever
But it will never match something like this:
http://example.com/query?userstyles.org
This is by design. It suits my needs and it allows you to have different rules for each subdomain.
2) Search for must be specified. You can use plain text or a regular expression.
If you enter a regular expression, use "Add as regex" button. Regex will be case insensitive.
3) Replace with is optional. Leave empty to simply erase the "Search for" text.
If using regular expressions, you can utilize $1, $2, $n notation to replace with captured groups.
4) View and manage all title rules will replace the current page with the manager.
Explanation of the manager ("View and manage all title rules"):
- Import. You can import multiple rules for websites at once by entering a list into the textarea and clicking "Import".
Tip: To get you started, select and copy the following list. Then, open the manager (Shift-T-M > "View and manage all title rules"), paste the list and "Import".
========
custombuttons.sourceforge.net
regex:^[\w\s\.-]+• (View topic - |View forum - )?
========
en.wikipedia.org
- Wikipedia, the free encyclopedia
========
forums.mozillazine.org
• mozillaZine Forums
========
kb.mozillazine.org
- MozillaZine Knowledge Base
========
portableapps.com
regex:( \| PortableApps\.com)? - Portable software for USB, portable and cloud drives
========
startpage.com
- Startpage Web Search
========
userstyles.org
regex: - (Themes and Skins for [\w]+ - |forum\.)?userstyles\.org
========