Skip to content

Commit

Permalink
Fix tab bug
Browse files Browse the repository at this point in the history
Fix the Firefox ID and a tab bug in which my website was opened twice upon being clicked in the GUI.
  • Loading branch information
32Bites committed Oct 11, 2021
1 parent 051aea7 commit e6f151c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
const my_page = document.getElementById('my_page');
my_page.addEventListener('click', function () {
chrome.tabs.create({
url: my_page.getAttribute('href') ?? 'https://github.com/32Bites/'
});
});

const version = document.getElementById('version');
version.innerText = "Let's Get v" + chrome.runtime.getManifest().version;

Expand Down
4 changes: 2 additions & 2 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"author": "Noah Shanaberger",
"description": "Download those pesky raw files on Github!",
"manifest_version": 2,
"version": "0.0.6.2",
"version": "0.0.7",
"background": {
"scripts": ["background.js"],
"persistent": true
Expand Down Expand Up @@ -36,7 +36,7 @@
},
"browser_specific_settings": {
"gecko": {
"id": "noah@thenoah.party"
"id": "{8129971f-42ae-4350-b191-b2ff190437c0}"
}
},
"icons": {
Expand Down

0 comments on commit e6f151c

Please sign in to comment.