A chrome extension to copy a specific pattern of URL of current tab.
For more details reference to google's page.
- Download this repo and unzip to a directory.
- Open the Extension Management page by navigating to
chrome://extensions
.- The Extension Management page can also be opened by clicking on the Chrome menu, hovering over More Tools then selecting Extensions.
- Enable Developer Mode by clicking the toggle switch next to Developer mode.
- Click the LOAD UNPACKED button and select the extension directory.
For an example, if we'd like to match the content of questions/<number>
when visit stackoverflow.com
.
Go to options page:
- add which URL pattern to match, as specific as possible, otherwise the pattern of the first matched URL pattern will be selected. In this case:
stackoverflow.com
- add the pattern of the URL to match, in this case:
questions\/[0-9]+
- click 'Save'
- Go to
stackoverflow.com
pages, click the extension button, the content you are interested is copied to your clipboard with a notification. Voila, now you can paste it anywhere.
Not intended to publish for now, use at your own risk.