parent
dad6e19c98
commit
6d3ba54fa9
@ -0,0 +1,15 @@
|
||||
const fs = require('fs')
|
||||
|
||||
const version = process.argv[2]
|
||||
|
||||
if (!version) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(`No manifest version specified.`)
|
||||
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
fs.copyFileSync(
|
||||
`./src/drivers/webextension/manifest-${version}.json`,
|
||||
'./src/drivers/webextension/manifest.json'
|
||||
)
|
@ -0,0 +1,6 @@
|
||||
/* globals chrome, importScripts */
|
||||
|
||||
importScripts(chrome.runtime.getURL('js/wappalyzer.js'))
|
||||
importScripts(chrome.runtime.getURL('js/utils.js'))
|
||||
importScripts(chrome.runtime.getURL('js/driver.js'))
|
||||
importScripts(chrome.runtime.getURL('js/lib/network.js'))
|
@ -0,0 +1,93 @@
|
||||
{
|
||||
"name": "Wappalyzer - Technology profiler",
|
||||
"short_name": "Wappalyzer",
|
||||
"author": "Wappalyzer",
|
||||
"homepage_url": "https://www.wappalyzer.com/",
|
||||
"description": "Identify web technologies",
|
||||
"version": "6.10.40",
|
||||
"default_locale": "en",
|
||||
"manifest_version": 3,
|
||||
"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"
|
||||
},
|
||||
"action": {
|
||||
"default_icon": {
|
||||
"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"
|
||||
},
|
||||
"default_title": "Wappalyzer",
|
||||
"default_popup": "html/popup.html"
|
||||
},
|
||||
"background": {
|
||||
"service_worker": "js/background.js"
|
||||
},
|
||||
"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": [
|
||||
{
|
||||
"resources": [
|
||||
"js/js.js",
|
||||
"js/dom.js"
|
||||
],
|
||||
"matches": [
|
||||
"http://*/*",
|
||||
"https://*/*"
|
||||
]
|
||||
}
|
||||
],
|
||||
"options_page": "html/options.html",
|
||||
"permissions": [
|
||||
"cookies",
|
||||
"storage",
|
||||
"scripting",
|
||||
"tabs",
|
||||
"webRequest",
|
||||
"webNavigation"
|
||||
],
|
||||
"host_permissions": [
|
||||
"http://*/*",
|
||||
"https://*/*"
|
||||
],
|
||||
"optional_permissions": [
|
||||
"downloads"
|
||||
],
|
||||
"content_security_policy": {
|
||||
"extension_pages": "script-src 'self'; object-src 'self'"
|
||||
}
|
||||
}
|
Reference in new issue