-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes added sidebar send current link
- Loading branch information
Showing
5 changed files
with
53 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
"homepage_url": "https://github.com/ueen/SnapdropFirefoxAddon", | ||
"manifest_version": 2, | ||
"name": "Snapdrop Browser Extension", | ||
"version": "1.9.5", | ||
"version": "1.9.6", | ||
"options_ui": { | ||
"page": "options/options.html" | ||
}, | ||
|
@@ -21,7 +21,8 @@ | |
"clipboardWrite", | ||
"downloads", | ||
"storage", | ||
"tabs" | ||
"tabs", | ||
"<all_urls>" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
ueen
Author
Owner
|
||
], | ||
"browser_specific_settings": { | ||
"gecko": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//get active tab url for sending via textInput | ||
document.addEventListener("contextmenu", (ev) => { | ||
browser.runtime.sendMessage("sidebarClick").then(response => { | ||
if (response != undefined) { | ||
document.getElementById("textInput").innerHTML = response; | ||
} | ||
}); | ||
}); |
1 comment
on commit a7f962f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool feature, thanks for it!
This is not a permission that I would expect an extension like snapdrop to need.
Could this perhaps be made optional?