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: "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: "desktop",
domain: "Future PLC websites",
bug: "1886293",
contentScripts: {
matches: [
"*://*.androidcentral.com/*",
"*://*.creativebloq.com/*",
"*://*.cyclingnews.com/*",
"*://*.gamesradar.com/*",
"*://*.imore.com/*",
"*://*.itpro.com/*",
"*://*.laptopmag.com/*",
"*://*.livescience.com/*",
"*://*.loudersound.com/*",
"*://*.musicradar.com/*",
"*://*.pcgamer.com/*",
"*://*.space.com/*",
"*://*.techradar.com/*",
"*://*.tomshardware.com/*",
"*://*.windowscentral.com/*",
],
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: "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",
checkIfNeeded() {
return !window.TextEvent;
},
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: "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: "all",
domain: "Sites based on Entrata Platform",
bug: "1784199",
contentScripts: {
matches: [
"*://*.7streetbrownstones.com/*", // #129553
"*://*.aptsovation.com/*", // #100131
"*://*.arboretumapartments.com/*", // bugzilla 1894682
"*://*.avanabayview.com/*", // #118617
"*://*.breakpointeandcoronado.com/*", // #117735
"*://*.courtsatspringmill.com/*", // #128404
"*://*.fieldstoneamherst.com/*", // #132974
"*://*.flatsatshadowglen.com/*", // #121799
"*://*.gslbriarcreek.com/*", // #126401
"*://*.hpixeniatrails.com/*", // #131703
"*://*.liveobserverpark.com/*", // #105244
"*://*.liveupark.com/*", // #121083
"*://*.midwayurban.com/*", // #116523
"*://*.nhcalaska.com/*", // #107833
"*://*.prospectportal.com/*", // #115206
"*://*.securityproperties.com/*", // #107969
"*://*.thefoundryat41st.com/*", // #128994
"*://*.theloftsorlando.com/*", // #101496
"*://*.thepointatkingston.com/*", // #139030
"*://*.vanallenapartments.com/*", // #120056
],
css: [
{
},
],
allFrames: true,
},
},
{
platform: "linux",
domain: "www.samsung.com",
bug: "1799968",
contentScripts: {
matches: ["*://www.samsung.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "www.samsung.com",
bug: "1860417",
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
"*://bathpublishing.com/*", // 100145
"*://dylantalkstone.com/*", // 101356
"*://renewd.com.au/*", // 104998
"*://*.lamudi.co.id/*", // 106767
"*://weaversofireland.com/*", // 116816
"*://*.iledefrance-mobilites.fr/*", // 117344
"*://*.lawnmowerpartsworld.com/*", // 117577
"*://*.discountcoffee.co.uk/*", // 118757
"*://*.arcsivr.com/*", // 120716
"*://drafthouse.com/*", // 126385
"*://*.lafoodbank.org/*", // 127006
"*://rutamayacoffee.com/*", // 129353
"*://give.umrelief.org/give/*", // bugzilla 1916407
],
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: "all",
domain: "nppes.cms.hhs.gov",
bug: "1827678",
contentScripts: {
matches: ["*://nppes.cms.hhs.gov/*"],
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: "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: "all",
domain: "nicochannel.jp",
bug: "1849058",
contentScripts: {
matches: [
"*://ado-dokidokihimitsukichi-daigakuimo.com/*",
"*://canan8181.com/*",
"*://gs-ch.com/*", // 124511
"*://keisuke-ueda.jp/*",
"*://kemomimirefle.net/*",
"*://nicochannel.jp/*", // 124463
"*://p-jinriki-fc.com/*",
"*://pizzaradio.jp/*",
"*://rnqq.jp/*",
"*://ryogomatsumaru.com/*",
"*://takahashifumiya.com/*",
"*://yamingfc.net/*",
],
js: [
{
},
],
},
},
{
platform: "android",
domain: "eksiseyler.com",
bug: "1855014",
contentScripts: {
matches: ["*://eksiseyler.com/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "tvmovie.de",
bug: "1868345",
contentScripts: {
matches: [
"*://www.tvmovie.de/tv/fernsehprogramm",
"*://www.tvmovie.de/tv/fernsehprogramm*",
"*://www.goodcarbadcar.net/*",
],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "turn.js breakage",
bug: "1897120",
contentScripts: {
matches: ["*://flipbook.se.com/*", "*://*.flipbookpdf.net/*"],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "desktop",
domain: "Office 365 email handling prompt",
bug: "1889326",
contentScripts: {
matches: [
"*://*.live.com/*",
"*://*.office.com/*",
"*://*.office365.com/*",
"*://*.office365.us/*",
"*://*.outlook.cn/*",
"*://*.outlook.com/*",
"*://*.sharepoint.com/*",
],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "all",
domain: "helpdeskgeek.com",
bug: "1881922",
contentScripts: {
matches: ["*://helpdeskgeek.com/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "vanbreda-health.be",
bug: "1901780",
contentScripts: {
matches: ["*://www.vanbreda-health.be/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "gracobaby.ca",
bug: "1896571",
contentScripts: {
matches: ["*://www.gracobaby.ca/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "www.softrans.ro",
bug: "1895994",
contentScripts: {
matches: ["*://*.softrans.ro/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "digits.t-mobile.com",
bug: "1898952",
contentScripts: {
matches: ["*://digits.t-mobile.com/*"],
js: [
{
},
],
},
},
{
platform: "desktop",
domain: "Office 365 Outlook locations",
bug: "1815733",
contentScripts: {
matches: [
"*://outlook.live.com/*",
"*://outlook.office.com/*",
"*://outlook.office365.com/*",
"*://outlook.office365.us/*",
"*://*.outlook.cn/*",
"*://*.outlook.com/*",
],
js: [
{
},
],
allFrames: true,
},
},
{
platform: "all",
domain: "plus.nhk.jp",
bug: "1899937",
contentScripts: {
matches: ["*://plus.nhk.jp/*"],
css: [
{
},
],
js: [
{
},
],
},
},
{
platform: "all",
domain: "www.six-group.com",
bug: "1886616",
contentScripts: {
matches: ["*://www.six-group.com/*/market-data/etf/etf-explorer.html*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "vivaldi.com",
bug: "1896349",
contentScripts: {
matches: ["*://vivaldi.com/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "docs.google.com",
bug: "1836872",
contentScripts: {
matches: ["*://docs.google.com/document/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "play.google.com",
bug: "1779908",
contentScripts: {
matches: ["*://play.google.com/store/*"],
css: [
{
},
],
},
},
{
platform: "all",
domain: "developers.pinterest.com",
bug: "1879879",
contentScripts: {
matches: ["*://developers.pinterest.com/docs/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "login.yahoo.com",
bug: "1856915",
contentScripts: {
matches: ["*://login.yahoo.com/account/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "www.korg.com",
bug: "1841730",
contentScripts: {
matches: ["*://www.korg.com/*/support/download/product/*"],
js: [
{
},
],
},
},
{
platform: "all",
domain: "www.zhihu.com",
bug: "1895051",
contentScripts: {
matches: ["*://www.zhihu.com/question/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "www.tiktok.com",
bug: "1924500",
contentScripts: {
matches: ["*://www.tiktok.com/*"],
js: [
{
},
],
},
},
{
platform: "desktop",
domain: "eyebuydirect.ca",
bug: "1901000",
contentScripts: {
matches: ["*://*.eyebuydirect.ca/*"],
css: [
{
},
],
},
},
{
platform: "android",
domain: "bankmandiri.co.id",
bug: "1889505",
contentScripts: {
matches: ["*://*.bankmandiri.co.id/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "developer.apple.com",
bug: "1925508",
contentScripts: {
matches: ["*://developer.apple.com/*"],
css: [
{
},
],
},
},
{
platform: "desktop",
domain: "voice.google.com",
bug: "1928216",
contentScripts: {
matches: ["*://voice.google.com/*"],
js: [
{
},
],
},
},
{
platform: "android",
domain: "nsandi.com",
bug: "1873166",
contentScripts: {
matches: ["*://*.nsandi.com/*"],
css: [
{
},
],
},
},
{
id: "1875540",
platform: "all",
domain: "allstate.com",
bug: "1875540",
contentScripts: {
matches: ["*://*.allstate.com/*"],
css: [
{
},
],
},
},
{
id: "1886566",
platform: "all",
domain: "quezoncity.gov.ph",
bug: "1886566",
contentScripts: {
matches: ["*://qceservices.quezoncity.gov.ph/qcvaxeasy*"],
css: [
{
},
],
},
},
{
id: "1846742",
platform: "desktop",
domain: "microsoft.com",
bug: "1846742",
contentScripts: {
matches: ["*://www.microsoft.com/*"],
js: [
{
},
],
},
},
{
id: "1886591",
platform: "all",
domain: "la-vache-noire.com",
bug: "1886591",
contentScripts: {
matches: ["*://la-vache-noire.com/*"],
css: [
{
},
],
},
},
{
id: "1923286",
platform: "desktop",
domain: "bing.com",
bug: "1923286",
contentScripts: {
matches: ["*://www.bing.com/images/search*"],
js: [
{
},
],
},
},
{
id: "1930440",
platform: "all",
domain: "online.singaporepools.com",
bug: "1930440",
contentScripts: {
matches: ["*://online.singaporepools.com/*"],
js: [
{
},
],
},
},
];
module.exports = AVAILABLE_INJECTIONS;