Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Skim the clipboard

Skim the clipboard by FrançoisR

Clipboard filtering with regular expression

0 (0 reviews)0 (0 reviews)
2 Users2 Users
You'll need Firefox to use this extension
Download Firefox and get the extension
Download file

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:
  1. name: host,
  2. Regular expression template enter a regular expression: (^http.?:\/\/[^\/]+)(.*$)
  3. Regular expression modifier: i
  4. keep machtes or substitute: $1
  5. Upercase(U) Lowercase(L): no value
  6. keep in clipboard: checked
  7. 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:
  • Opera
  • Chrome
Rated 0 by 0 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
0
4
0
3
0
2
0
1
0
No reviews yet
Permissions and dataLearn more

Required permissions:

  • Get data from the clipboard
  • Input data to the clipboard
  • Access your data for all websites
More information
Add-on Links
  • Support Email
Version
0.0.6
Size
37.53 KB
Last updated
2 years ago (Mar 17, 2023)
Related Categories
  • Web Development
  • Appearance
License
GNU General Public License v2.0 only
Version History
  • See all versions
Add to collection
Report this add-on
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
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

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.