Skim the clipboard by FrançoisR
Clipboard filtering with regular expression
You'll need Firefox to use this extension
Extension Metadata
About this extension
This add-on use regular expression templates to filter a text when it is pasted or copied.
You may paste & filter when you paste text modified by a regular expression in a form field in Firefox.
To change an url, you may use the replace in clipboard menu that appears when the page is right clicked outside a field or a link:
he modified clipboard content is replace in the clipboard, ready to be pasted outside the 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 in the address bar, when you have copied any link location from a page any where on the same site.
Open the Filtered Clipboard options, Click on Add a row (text field)
and enter the following in the table:
Click outside the table and checked that the corresponding JSON data contains the new row.
Close the option page and navigate to a random page,
copy (Ctrl+c) the link location from the address bar.
Now, you may call the new filter with the mouse. Right click anywhere on the page and select Replace in Clipboard > Host.
Go to the address bar and paste (Ctrl+V) to see the changed url.
This extension exists also for Opera and Chrome:
You may paste & filter when you paste text modified by a regular expression in a form field in Firefox.
To change an url, you may use the replace in clipboard menu that appears when the page is right clicked outside a field or a link:
he modified clipboard content is replace in the clipboard, ready to be pasted outside the 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 in the address bar, when you have copied any link location from a page any where on the same site.
Open the Filtered Clipboard options, Click on Add a row (text field)
and enter the following in the table:
- name: host,
- Regular expression template enter a regular expression:
(^http.?:\/\/[^\/]+)(.*$)
- Regular expression modifier:
i
- keep machtes or substitute:
$1
- Upercase(U) Lowercase(L): no value
- keep in clipboard: checked
- Shortcut: one
Click outside the table and checked that the corresponding JSON data contains the new row.
Close the option page and navigate to a random page,
copy (Ctrl+c) the link location from the address bar.
Now, you may call the new filter with the mouse. Right click anywhere on the page and select Replace in Clipboard > Host.
Go to the address bar and paste (Ctrl+V) to see the changed url.
This extension exists also for Opera and Chrome:
Rate your experience
PermissionsLearn more
This add-on needs to:
- Get data from the clipboard
- Input data to the clipboard
- Access your data for all websites
More information
- Add-on Links
- Version
- 0.0.6
- Size
- 37.53 KB
- Last updated
- 2 years ago (Mar 17, 2023)
- Related Categories
- License
- GNU General Public License v2.0 only
- Version History
Add to collection
Release notes for 0.0.6
0..0.6
corrected infinite loop in apply-regex with ^\w|\w\b without g.
Added CamelCase filtering with g when keep matches is unchecked: matches and split parts are combined
corrected infinite loop in apply-regex with ^\w|\w\b without g.
Added CamelCase filtering with g when keep matches is unchecked: matches and split parts are combined
More extensions by FrançoisR
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet