Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions background-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function get_ios_id(uri) {
}

function update_color() {
chrome.browserAction.setIcon({ path: "res/images/FF_ext_icon_" + color + ".svg" });
chrome.action.setIcon({ path: "res/images/FF_ext_icon_" + color + ".svg" });
}

function getTab() {
Expand Down Expand Up @@ -87,7 +87,7 @@ function get_domain_info(urlStr) {
color = "orange"
}

chrome.browserAction.setIcon({ path: "res/images/FF_ext_icon_" + color + ".svg" });
chrome.action.setIcon({ path: "res/images/FF_ext_icon_" + color + ".svg" });
return { programs: programs, security_txt: security_txt, color: color, last_programs_update: CACHE.last_programs_update, lax: lax }
}

Expand Down
25 changes: 19 additions & 6 deletions manifest.json
Original file line number Diff line number Diff line change
@@ -1,30 +1,43 @@
{
"manifest_version": 2,
"manifest_version": 3,
"name": "YesWeHack VDP Finder",
"version": "1.1.2",
"description": "This extension tells if visited sites have vulnerability disclosure programs",
"homepage_url": "https://github.com/yeswehack/yeswehack_vdp_finder",

"icons": {
"16": "res/images/icon-48.png",
"32": "res/images/icon-48.png",
"48": "res/images/FF_ext_icon_red-48.png",
"96": "res/images/FF_ext_icon_red-96.png"
"96": "res/images/FF_ext_icon_red-96.png",
"128": "res/images/FF_ext_icon_red-128.png"
},

"browser_action": {
"action": {
"default_title": "YesWeHack VDP Finder",
"default_popup": "popup.html",
"default_icon": {
"16": "res/images/icon-48.png",
"32": "res/images/icon-48.png",
"48": "res/images/FF_ext_icon_gray-48.png",
"96": "res/images/FF_ext_icon_gray-96.png"
"96": "res/images/FF_ext_icon_gray-96.png",
"128": "res/images/FF_ext_icon_red-128.png"
}
},

"background": {
"scripts": ["background-script.js"]
"service_worker": "background-script.js"
},

"permissions": [
"tabs",
"<all_urls>"
"activeTab"
],

"host_permissions": [
"https://firebounty.com/*",
"https://publicsuffix.org/*",
"https://*/*",
"http://*/*"
]
}