Source code
Revision control
Copy as Markdown
Other Tools
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
"use strict";
/* globals module, require */
// This is a hack for the tests.
if (typeof InterventionHelpers === "undefined") {
var InterventionHelpers = require("../lib/intervention_helpers");
}
/**
* For detailed information on our policies, and a documention on this format
* and its possibilites, please check the Mozilla-Wiki at
*
*/
const AVAILABLE_INJECTIONS = [
{
id: "testbed-injection",
platform: "all",
domain: "webcompat-addon-testbed.herokuapp.com",
bug: "0000000",
hidden: true,
contentScripts: {
matches: ["*://webcompat-addon-testbed.herokuapp.com/*"],
css: [
{
file: "injections/css/bug0000000-testbed-css-injection.css",
},
],
js: [
{
file: "injections/js/bug0000000-testbed-js-injection.js",
},
],
},
},
{
platform: "all",
domain: "ib.absa.co.za",
bug: "1452707",
contentScripts: {
js: [
{
},
],
},
},
{
platform: "desktop",
domain: "histography.io",
bug: "1457335",
contentScripts: {
matches: ["*://histography.io/*"],
js: [
{
},
],
},
},
{
platform: "desktop",
domain: "bankofamerica.com",
bug: "1472075",
contentScripts: {
matches: [
"*://*.bankofamerica.com/*",
"*://*.ml.com/*", // #120104
],
js: [
{
},
],
},
},
{
platform: "android",
domain: "m.tailieu.vn",
bug: "1579159",
contentScripts: {
matches: ["*://m.tailieu.vn/*", "*://m.elib.vn/*"],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "desktop",
domain: "Download prompt for files with no content-type",
bug: "1583366",
data: {
contentType: {
name: "content-type",
value: "text/html; charset=utf-8",
},
},
customFunc: "noSniffFix",
},
{
platform: "all",
domain: "apply.lloydsbank.co.uk",
bug: "1575000",
contentScripts: {
matches: ["*://apply.lloydsbank.co.uk/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "directv.com.co",
bug: "1610344",
contentScripts: {
matches: [
],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "usps.com",
bug: "1644830",
contentScripts: {
css: [
{
},
],
},
},
{
platform: "android",
domain: "teletrader.com",
bug: "1651917",
contentScripts: {
matches: ["*://*.teletrader.com/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "livescience.com",
bug: "1653075",
contentScripts: {
matches: ["*://*.livescience.com/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "reactine.ca",
bug: "1654907",
contentScripts: {
matches: ["*://*.reactine.ca/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "m.myvidster.com",
bug: "1694470",
contentScripts: {
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "Office Excel spreadsheets",
bug: "1707795",
contentScripts: {
matches: [
"*://*.live.com/*",
"*://*.office.com/*",
"*://*.sharepoint.com/*",
],
css: [
{
},
],
allFrames: true,
},
},
{
platform: "all",
domain: "buskocchi.desuca.co.jp",
bug: "1712833",
contentScripts: {
matches: ["*://buskocchi.desuca.co.jp/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "frontgate.com",
bug: "1722955",
contentScripts: {
matches: ["*://*.frontgate.com/*"],
js: [
{
file: "lib/ua_helpers.js",
},
{
},
],
allFrames: true,
},
},
{
platform: "android",
domain: "news.yahoo.co.jp",
bug: "1724868",
contentScripts: {
matches: ["*://news.yahoo.co.jp/articles/*", "*://s.yimg.jp/*"],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "all",
domain: "patient.alphalabs.ca",
bug: "1741234",
contentScripts: {
matches: ["*://patient.alphalabs.ca/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "Sites using draft.js",
bug: "1739489",
contentScripts: {
matches: [
],
js: [
{
},
],
},
},
{
platform: "android",
domain: "veniceincoming.com",
bug: "1765947",
contentScripts: {
matches: ["*://veniceincoming.com/*"],
css: [
{
},
],
},
},
{
id: "bug11769762",
platform: "all",
domain: "tiktok.com",
bug: "1769762",
contentScripts: {
js: [
{
},
],
},
},
{
platform: "all",
domain: "coldwellbankerhomes.com",
bug: "1770962",
contentScripts: {
matches: ["*://*.coldwellbankerhomes.com/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "rainews.it",
bug: "1774490",
contentScripts: {
matches: ["*://www.rainews.it/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "Sites relying on window.InstallTrigger",
bug: "1774005",
contentScripts: {
matches: [
],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "all",
domain: "Sites relying on there being no window.InstallTrigger",
bug: "1859617",
contentScripts: {
matches: [
],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "android",
domain: "aveeno.com and acuvue.com",
bug: "1784141",
contentScripts: {
matches: [
"*://*.aveeno.com/*",
"*://*.aveeno.ca/*",
"*://*.aveeno.com.au/*",
"*://*.aveeno.co.kr/*",
"*://*.aveeno.co.uk/*",
"*://*.aveeno.ie/*",
"*://*.acuvue.com/*", // 1804730
"*://*.acuvue.com.ar/*",
"*://*.acuvue.com.br/*",
"*://*.acuvue.ca/*",
"*://*.acuvue-fr.ca/*",
"*://*.acuvue.cl/*",
"*://*.acuvue.co.cr/*",
"*://*.acuvue.com.co/*",
"*://*.acuvue.com.do/*",
"*://*.acuvue.com.pe/*",
"*://*.acuvue.com.sv/*",
"*://*.acuvue.com.gt/*",
"*://*.acuvue.hn/*",
"*://*.acuvue.com.mx/*",
"*://*.acuvue.com.pa/*",
"*://*.acuvue.com.py/*",
"*://*.acuvue.com.pr/*",
"*://*.acuvue.com.uy/*",
"*://*.acuvue.com.au/*",
"*://*.acuvue.com.cn/*",
"*://*.acuvue.com.hk/*",
"*://*.acuvue.co.in/*",
"*://*.acuvue.co.id/*",
"*://acuvuevision.jp/*",
"*://*.acuvue.co.kr/*",
"*://*.acuvue.com.my/*",
"*://*.acuvue.co.nz/*",
"*://*.acuvue.com.sg/*",
"*://*.acuvue.com.tw/*",
"*://*.acuvue.co.th/*",
"*://*.acuvue.com.vn/*",
"*://*.acuvue.at/*",
"*://*.acuvue.be/*",
"*://*.fr.acuvue.be/*",
"*://*.acuvue-croatia.com/*",
"*://*.acuvue.cz/*",
"*://*.acuvue.dk/*",
"*://*.acuvue.fi/*",
"*://*.acuvue.fr/*",
"*://*.acuvue.de/*",
"*://*.acuvue.gr/*",
"*://*.acuvue.hu/*",
"*://*.acuvue.ie/*",
"*://*.acuvue.co.il/*",
"*://*.acuvue.it/*",
"*://*.acuvuekz.com/*",
"*://*.acuvue.lu/*",
"*://*.en.acuvuearabia.com/*",
"*://*.acuvuearabia.com/*",
"*://*.acuvue.nl/*",
"*://*.acuvue.no/*",
"*://*.acuvue.pl/*",
"*://*.acuvue.pt/*",
"*://*.acuvue.ro/*",
"*://*.acuvue.ru/*",
"*://*.acuvue.sk/*",
"*://*.acuvue.si/*",
"*://*.acuvue.co.za/*",
"*://*.jnjvision.com.tr/*",
"*://*.acuvue.co.uk/*",
"*://*.acuvue.ua/*",
"*://*.acuvue.com.pe/*",
"*://*.acuvue.es/*",
"*://*.acuvue.se/*",
"*://*.acuvue.ch/*",
],
css: [
{
},
],
},
},
{
platform: "all",
domain: "Sites based on Entrata Platform",
bug: "1784199",
contentScripts: {
matches: [
"*://*.7streetbrownstones.com/*", // #129553
"*://*.aptsovation.com/*",
"*://*.avanabayview.com/*", // #118617
"*://*.breakpointeandcoronado.com/*", // #117735
"*://*.courtsatspringmill.com/*", // #128404
"*://*.fieldstoneamherst.com/*", // #132974
"*://*.gslbriarcreek.com/*", // #126401
"*://*.hpixeniatrails.com/*", // #131703
"*://*.liveatlasathens.com/*", // #111189
"*://*.liveobserverpark.com/*", // #105244
"*://*.liveupark.com/*", // #121083
"*://*.midwayurban.com/*", // #116523
"*://*.nhcalaska.com/*",
"*://*.prospectportal.com/*", // #115206
"*://*.securityproperties.com/*",
"*://*.thefoundryat41st.com/*", // #128994
"*://*.theloftsorlando.com/*",
"*://*.vanallenapartments.com/*", // #120056
],
css: [
{
},
],
allFrames: true,
},
},
{
platform: "linux",
domain: "www.samsung.com",
bug: "1799968",
contentScripts: {
matches: ["*://www.samsung.com/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "healow.com",
bug: "1799980",
contentScripts: {
matches: ["*://healow.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "FastClick breakage",
bug: "1448747",
contentScripts: {
matches: [
"*://*.co2meter.com/*", // 10959
"*://*.franmar.com/*", // 27273
"*://*.themusiclab.org/*", // 49667
"*://*.oregonfoodbank.org/*", // 53203
"*://*.fourbarrelcoffee.com/*", // 59427
"*://bluetokaicoffee.com/*", // 99867
"*://bathpublishing.com/*", // 100145
"*://dylantalkstone.com/*", // 101356
"*://renewd.com.au/*", // 104998
"*://*.lamudi.co.id/*", // 106767
"*://*.thehawksmoor.com/*", // 107549
"*://weaversofireland.com/*", // 116816
"*://*.iledefrance-mobilites.fr/*", // 117344
"*://*.lawnmowerpartsworld.com/*", // 117577
"*://*.discountcoffee.co.uk/*", // 118757
"*://torguard.net/*", // 120113
"*://*.arcsivr.com/*", // 120716
"*://drafthouse.com/*", // 126385
"*://*.lafoodbank.org/*", // 127006
"*://rutamayacoffee.com/*", // 129353
],
js: [
{
},
],
},
},
{
platform: "android",
domain: "FastClick breakage - legacy",
bug: "1818818",
contentScripts: {
matches: [
"*://*.chatiw.com/*", // 5544
"*://*.wellcare.com/*", // 116595
],
js: [
{
},
],
},
},
{
platform: "all",
domain: "axisbank.com",
bug: "1819476",
contentScripts: {
matches: ["*://*.axisbank.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "cmbchina.com",
bug: "1819450",
contentScripts: {
matches: ["*://www.cmbchina.com/*", "*://cmbchina.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "free4talk.com",
bug: "1827678",
contentScripts: {
matches: ["*://www.free4talk.com/*"],
js: [
{
},
],
},
},
{
platform: "desktop",
domain: "nppes.cms.hhs.gov",
bug: "1827678",
contentScripts: {
matches: ["*://nppes.cms.hhs.gov/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "blueshieldca.com",
bug: "1830776",
contentScripts: {
matches: ["*://*.blueshieldca.com/*"],
js: [
{
},
],
},
},
{
platform: "desktop",
domain: "tomshardware.com",
bug: "1829949",
contentScripts: {
matches: ["*://*.tomshardware.com/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "my.babbel.com",
bug: "1830747",
contentScripts: {
matches: ["*://my.babbel.com/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "afisha.ru",
bug: "1830752",
contentScripts: {
matches: ["*://*.afisha.ru/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "91mobiles.com",
bug: "1830761",
contentScripts: {
matches: ["*://*.91mobiles.com/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "copyleaks.com",
bug: "1830796",
contentScripts: {
matches: ["*://*.copyleaks.com/*"],
css: [
{
},
],
allFrames: true,
},
},
{
platform: "all",
domain: "interceramic.com",
bug: "1830810",
contentScripts: {
matches: ["*://interceramic.com/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "onstove.com",
bug: "1830813",
contentScripts: {
matches: ["*://*.onstove.com/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "All international Nintendo domains",
bug: "1831007",
contentScripts: {
matches: [
"*://*.mojenintendo.cz/*",
"*://*.nintendo-europe.com/*",
"*://*.nintendo.at/*",
"*://*.nintendo.be/*",
"*://*.nintendo.ch/*",
"*://*.nintendo.co.il/*",
"*://*.nintendo.co.jp/*",
"*://*.nintendo.co.kr/*",
"*://*.nintendo.co.nz/*",
"*://*.nintendo.co.uk/*",
"*://*.nintendo.co.za/*",
"*://*.nintendo.com.au/*",
"*://*.nintendo.com.hk/*",
"*://*.nintendo.com/*",
"*://*.nintendo.de/*",
"*://*.nintendo.dk/*",
"*://*.nintendo.es/*",
"*://*.nintendo.fi/*",
"*://*.nintendo.fr/*",
"*://*.nintendo.gr/*",
"*://*.nintendo.hu/*",
"*://*.nintendo.it/*",
"*://*.nintendo.nl/*",
"*://*.nintendo.no/*",
"*://*.nintendo.pt/*",
"*://*.nintendo.ru/*",
"*://*.nintendo.se/*",
"*://*.nintendo.sk/*",
"*://*.nintendo.tw/*",
"*://*.nintendoswitch.com.cn/*",
],
js: [
{
},
],
},
},
{
platform: "android",
domain: "thai-masszazs.net",
bug: "1836157",
contentScripts: {
matches: ["*://*.thai-masszazs.net/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "autostar-novoross.ru",
bug: "1836103",
contentScripts: {
matches: ["*://autostar-novoross.ru/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "cnn.com",
bug: "1836105",
contentScripts: {
matches: ["*://*.cnn.com/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "www.youtube.com",
bug: "1842437",
contentScripts: {
matches: ["*://www.youtube.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "vio.com",
bug: "1848711",
contentScripts: {
matches: ["*://*.vio.com/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "cleanrider.com",
bug: "1848713",
contentScripts: {
matches: ["*://*.cleanrider.com/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "theaa.com",
bug: "1848849",
contentScripts: {
matches: ["*://*.theaa.com/route-planner/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "axa-assistance.pl",
bug: "1849019",
contentScripts: {
matches: ["*://*.axa-assistance.pl/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "nicochannel.jp",
bug: "1849058",
contentScripts: {
matches: ["*://nicochannel.jp/*", "*://gs-ch.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "kucharkaprodceru.cz",
bug: "1849388",
contentScripts: {
matches: ["*://*.kucharkaprodceru.cz/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "eksiseyler.com",
bug: "1855014",
contentScripts: {
matches: ["*://eksiseyler.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "www.meteoam.it",
bug: "1855071",
contentScripts: {
matches: ["*://www.meteoam.it/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "Esri breakage",
bug: "1864564",
contentScripts: {
matches: [
"*://*.ncep.noaa.gov/*",
"*://*.northumberland.gov.uk/*",
"*://webmap.gis.gov.mo/*",
],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "desktop",
domain: "tvmovie.de",
bug: "1868345",
contentScripts: {
matches: [
"*://www.tvmovie.de/tv/fernsehprogramm",
"*://www.tvmovie.de/tv/fernsehprogramm*",
],
css: [
{
},
],
},
},
{
platform: "android",
domain: "offerup.com",
bug: "1877346",
contentScripts: {
matches: ["*://offerup.com/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "foodora.cz",
bug: "1884842",
contentScripts: {
matches: ["*://*.foodora.cz/*"],
css: [
{
},
],
},
},
];
module.exports = AVAILABLE_INJECTIONS;