Added source code to extension

This commit is contained in:
x0x7 2024-03-26 18:41:12 -04:00
parent 7753da98e3
commit 12af4fab1f
5 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1 @@
(function() { window.open('https://matrix.gvid.tv/submit/link?title=' + encodeURIComponent(document.title) + '&url=' + encodeURIComponent(document.URL), '_blank'); })();

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@ -0,0 +1,21 @@
{
"background": {"scripts": ["background.js"]},
"browser_action": {
"default_icon": "icon-128.png",
"default_title": "Share on Matrix"
},
"name": "Share on Matrix",
"description": "Auto fill matrix form - Created with http://blog.self.li",
"homepage_url": "http://blog.self.li/post/16366939413/how-to-convert-bookmarklet-to-chrome-extension",
"icons": {
"16": "icon-16.png",
"48": "icon-48.png",
"128": "icon-128.png" },
"permissions": [
"tabs",
"http://*/*",
"https://*/*"
],
"version": "0.1",
"manifest_version": 2
}