Add Prebid application

main
Elbert Alias 8 years ago
parent f45b8ab6e8
commit f14e45c431

@ -57,8 +57,8 @@ cp -r ../src/icons $manifest_dir/Extension/images
mv $webextension_dir/manifest.json $webextension_dir/manifest.edge.json mv $webextension_dir/manifest.json $webextension_dir/manifest.edge.json
mv $webextension_dir/manifest.webextension.json $webextension_dir/manifest.json mv $webextension_dir/manifest.webextension.json $webextension_dir/manifest.json
sed -i 's/INSERT-YOUR-PACKAGE-IDENTITY-NAME-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml sed -i 's/INSERT-YOUR-PACKAGE-IDENTITY-NAME-HERE/1591Wappalyzer.Wappalyzer/' $manifest_dir/appxmanifest.xml
sed -i 's/INSERT-YOUR-PACKAGE-IDENTITY-PUBLISHER-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml sed -i 's/INSERT-YOUR-PACKAGE-IDENTITY-PUBLISHER-HERE/D240C22F-A6C1-45DF-BF7B-4C835064DF51/' $manifest_dir/appxmanifest.xml
sed -i 's/INSERT-YOUR-PACKAGE-PROPERTIES-PUBLISHERDISPLAYNAME-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml sed -i 's/INSERT-YOUR-PACKAGE-PROPERTIES-PUBLISHERDISPLAYNAME-HERE/Wappalyzer/' $manifest_dir/appxmanifest.xml
sed -i 's/Version="0.\([^"]\+\)/Version="\1.0/' $manifest_dir/appxmanifest.xml sed -i 's/Version="0.\([^"]\+\)/Version="\1.0/' $manifest_dir/appxmanifest.xml

@ -161,6 +161,21 @@
"icon": "ActOn.png", "icon": "ActOn.png",
"website": "http://act-on.com" "website": "http://act-on.com"
}, },
"Prebid": {
"cats": [
"36"
],
"icon": "Prebid.png",
"env": [
"pbjs",
"PREBID_TIMEOUT"
],
"script": [
"/prebid\\.js",
"adnxs\\.com/[^\"]*(?:prebid|/pb\\.js)"
],
"website": "http://prebid.org"
},
"AdInfinity": { "AdInfinity": {
"cats": [ "cats": [
"36" "36"

@ -257,7 +257,7 @@
if ( cat === match && !found ) { if ( cat === match && !found ) {
if ( /\.svg$/i.test(icon) ) { if ( /\.svg$/i.test(icon) ) {
icon = 'converted/' + icon + '.png'; icon = 'converted/' + icon.replace(/\.svg$/, '.png');
} }
browser.pageAction.setIcon({ browser.pageAction.setIcon({

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 B