Safari icon

main
Elbert Alias 4 years ago
parent c15450533e
commit d18970d5c5

@ -164,8 +164,7 @@ fs.readdirSync(iconPath).forEach((file) => {
if ( if (
!Object.values(technologies).some(({ icon }) => icon === file) && !Object.values(technologies).some(({ icon }) => icon === file) &&
file !== 'default.svg' && file !== 'default.svg'
file !== 'default-safari.svg'
) { ) {
throw new Error(`Extraneous file: ${filePath}}`) throw new Error(`Extraneous file: ${filePath}}`)
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 789 B

@ -701,7 +701,7 @@ const Driver = {
Driver.lastPing = Date.now() Driver.lastPing = Date.now()
} }
if (Driver.cache.ads.length > 1) { if (Driver.cache.ads.length > 50) {
await Driver.post('https://ad.wappalyzer.com/log/wp/', Driver.cache.ads) await Driver.post('https://ad.wappalyzer.com/log/wp/', Driver.cache.ads)
Driver.cache.ads = [] Driver.cache.ads = []

@ -0,0 +1,79 @@
{
"name": "Wappalyzer",
"short_name": "Wappalyzer",
"author": "Wappalyzer",
"homepage_url": "https://www.wappalyzer.com/",
"description": "Identify web technologies",
"version": "6.5.20",
"default_locale": "en",
"manifest_version": 2,
"icons": {
"16": "images/icon_16.png",
"19": "images/icon_19.png",
"32": "images/icon_32.png",
"38": "images/icon_38.png",
"64": "images/icon_64.png",
"128": "images/icon_128.png",
"256": "images/icon_256.png",
"512": "images/icon_512.png",
"1024": "images/icon_1024.png"
},
"browser_action": {
"default_icon": {
"16": "images/safari.svg",
"19": "images/safari.svg",
"32": "images/safari.svg",
"38": "images/safari.svg",
"64": "images/safari.svg",
"128": "images/safari.svg",
"256": "images/safari.svg",
"512": "images/safari.svg",
"1024": "images/safari.svg"
},
"default_title": "Wappalyzer",
"default_popup": "html/popup.html"
},
"background": {
"page": "html/background.html"
},
"content_scripts": [
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"js/content.js"
],
"run_at": "document_idle"
},
{
"matches": [
"http://*/*",
"https://*/*"
],
"js": [
"js/lib/iframe.js"
],
"run_at": "document_start",
"all_frames": true
}
],
"web_accessible_resources": [
"js/inject.js"
],
"options_ui": {
"page": "html/options.html",
"open_in_tab": false
},
"permissions": [
"cookies",
"storage",
"tabs",
"webRequest",
"webNavigation",
"http://*/*",
"https://*/*"
],
"content_security_policy": "script-src 'self'; object-src 'self'"
}