Skip to content

Latest commit

 

History

History
87 lines (54 loc) · 4.36 KB

File metadata and controls

87 lines (54 loc) · 4.36 KB

Dev Notes

TEST PAGE = https://en.wikipedia.org/wiki/Grey_currawong

Regex

!! Mean good resource


Regex alternative for this problem:

  • First one : /^.*(?=(\#:~:text))/gim [try]

  • Second Solution : /(https|http)?:\/\/(\w+(\.|\-|\/|\/\#))+\w+/gim [try]

Chrome extension Development

js write to clipbord

Chrome extension host permisson

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

-> related commit

Upgrade alert to notification

https://developer.chrome.com/docs/extensions/reference/notifications/#property-NotificationOptions-iconUrl

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.

-> related commit

ERROR - Unable to download all specified images.

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.

This is the solution

You have to accept manifest.json like referance while setting the image.

-> related commit

How to deploy and publish chrome extension

Readme reference