TEST PAGE = https://en.wikipedia.org/wiki/Grey_currawong
-
Regex Cheat Sheet - fireship.io
-
Regex Explanation in 100 Seconds - fireship.io
-
Community paterns you can check out in future. - regexr.com
-
Quotes codes made from findmentor project
-
!! Regex with exercises - Jonny Fox - Mar 2019
!!
Mean good resource
- Q = Regular Expression to select everything before and up to a particular text
Regex alternative for this problem:
-
First one :
/^.*(?=(\#:~:text))/gim
[try] -
Second Solution :
/(https|http)?:\/\/(\w+(\.|\-|\/|\/\#))+\w+/gim
[try]
- The activeTab permission
- chrome.contextMenus (right click button)
- Declare permissions
- Stackoverflow - Copy to Clipboard in Chrome Extension - It works
- Clipbord API
If you wannt to achive all sites on the chrome you can do it but you may be get your marketplace not ASAP. So google chrome extension managment center suggets to you use activeTab
not all-url
Before I use ugly native alert notification to notice user about I copied the url your clipbord but user have to press okay button to close this alert.
With this solution we dont need to close something popUp.
The error is I cant show the app icon in notification box. The chrome cant read the image inside of the assets/images/logo directory.
You have to accept manifest.json like referance while setting the image.
- Heptagon Perspectives - Mar 2019