Title manager

Manage page titles per (sub)domain. Shift-T-M for options.

目前為 2014-03-14 提交的版本,檢視 最新版本

作者
grom
評價
0 0 0
版本
1.0.20140314
建立日期
2014-03-12
更新日期
2014-03-14
尺寸
7.6 KB
授權條款
未知
腳本執行於
所有網站

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

========

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址