Context menu item to open images in Photopea
Open in Photopea Extension
Provides an easy and fast way to open any image type directly in Photopea, without the need to open the website and copy/paste the image yourself.
NOTE: For security reasons, webapps can access only files from the same domain. In order to let Photopea load your file, the response of your server must contain the following header:
Access-Control-Allow-Origin: *
This may result in the image not loading!
Read more
NOTE: For security reasons, webapps can access only files from the same domain. In order to let Photopea load your file, the response of your server must contain the following header:
Access-Control-Allow-Origin: *
This may result in the image not loading!
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 3, "name": "Open in Photopea", "description": "Context menu item to open images in Photopea", "version": "1.0", "permissions": ["contextMenus"], "action": { "default_popup": "popup.html" }, "background": { "service_worker": "background.js" }, "icons": { "16": "photopea.png", "32": "photopea.png", "48": "photopea.png", "128": "photopea.png" }}
Read more