Filtered clipboard is a Firefox extension that filters a text in the clipboard with a regular expression when the text is pasted. The filters are called from the context menu or with a keyboard shortcut. Filters can be defined for the address field of the browser or a search field in a web page.
Example: Suppose I want to past the host url address (https://addons.mozilla.org) in the address bar, when you have copied any link location (https://addons.mozilla.org/en-US/firefox/addon/filtered-clipboard/).
Open the Filtered Clipboard options and enter the following:
set name: host,
shortcut enter a regular expression: (^http.?:\/\/[^\/]+)(.*$)
string to substitute: $1
url?: checked
Close the options, and copy a link location from the address bar.
Now, you may call the new filter with the mouse. Right click in the address bar and select Paste filtered > Host.
Or still in the address bar, you may use the new filter with the keyboard and simply press Ctrl+Shift+A.
Product's homepage
Requirements:
· Mozilla Firefox
What's New in This Release: [ read full changelog ]
· Follows https://bugzilla.mozilla.org/show_bug.cgi?id=722872 to hold on the private browsing context. Use the document.commandDispatcher.focusedWindow as a sourceWindow