Skip to content

Commit

Permalink
Add Firefox addon
Browse files Browse the repository at this point in the history
  • Loading branch information
lhc70000 committed Dec 1, 2018
1 parent 017d609 commit 3d54af6
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Expand Up @@ -98,3 +98,7 @@ temp/

# FileMerge backup
*.orig

browser/Firefox_Open_In_IINA/*
!browser/Firefox_Open_In_IINA/manifest.json

1 change: 1 addition & 0 deletions browser/Chrome_Open_In_IINA/popup.html
Expand Up @@ -7,6 +7,7 @@
<title>Document</title>
<style>
.menu {
font-family: sans-serif;
white-space: nowrap;
}
.menu .menu-item {
Expand Down
32 changes: 32 additions & 0 deletions browser/Firefox_Open_In_IINA/manifest.json
@@ -0,0 +1,32 @@
{
"manifest_version": 2,
"applications": {
"gecko": {
"id": "open_in_iina_firefox@iina.io"
}
},
"name": "Open In IINA",
"description": "Open videos and audios in IINA.",
"version": "2.0.0",
"options_ui": {
"page": "options.html"
},
"background": {
"page": "background.html"
},
"browser_action": {
"default_icon": "icon.png",
"default_title": "Open In IINA"
},
"permissions": [
"tabs",
"activeTab",
"contextMenus",
"storage"
],
"icons": {
"16": "icon16.png",
"48": "icon48.png",
"128": "icon128.png"
}
}

0 comments on commit 3d54af6

Please sign in to comment.