To try the thousands of add-ons available here, download Mozilla Firefox, a fast, free way to surf the Web!Close
Welcome to Firefox Add-ons.
Choose from thousands of extra features and styles to make Firefox your own.Close
Filtered clipboard 1.5.3
This add-on use regex to change a text when it is copied or pasted. Useful to
- paste modified text in a form field or url in the address field
- copy in another application some text from the web, modified when put in the clipboard
About this Add-on
You may paste & filter when you paste an url modified in the url address or when you paste text modified by a regular expression in a form field in Firefox. Filters may be applied to paste in the address field or in a form field of a web page.
You may also copy & filter to copy some text from a web page and want to use it modified by a regular expression in another application.
Example: Suppose I want to paste 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 in the substitute pane, enter the following:
- set name: host,
- shortcut enter a regular expression:
- string to substitute:
- Url Address: checked
- Shortkey: a
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.
Note (2015.03.19): Since Firefox 36.0.1 the inserted url is not detected unless one insert a space (for example) using the keyboard. Version 1.4.9 addressed this by redirecting the page to the inserted url. This programatic redirection can be blocked if not needed.