Skip to content

Commit dd2170a

Browse files
committed
Bug 1876363 - Ship v125.0.0 of the WebCompat System Addon; r=twisniewski,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D204527
1 parent e9d9030 commit dd2170a

12 files changed

+98
-296
lines changed

browser/extensions/webcompat/data/injections.js

Lines changed: 30 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -185,20 +185,6 @@ const AVAILABLE_INJECTIONS = [
185185
],
186186
},
187187
},
188-
{
189-
id: "bug1654877",
190-
platform: "android",
191-
domain: "preev.com",
192-
bug: "1654877",
193-
contentScripts: {
194-
matches: ["*://preev.com/*"],
195-
css: [
196-
{
197-
file: "injections/css/bug1654877-preev.com-moz-appearance-fix.css",
198-
},
199-
],
200-
},
201-
},
202188
{
203189
id: "bug1654907",
204190
platform: "android",
@@ -213,24 +199,6 @@ const AVAILABLE_INJECTIONS = [
213199
],
214200
},
215201
},
216-
{
217-
id: "bug1631811",
218-
platform: "all",
219-
domain: "datastudio.google.com",
220-
bug: "1631811",
221-
contentScripts: {
222-
matches: [
223-
"https://datastudio.google.com/embed/reporting/*",
224-
"https://lookerstudio.google.com/embed/reporting/*",
225-
],
226-
js: [
227-
{
228-
file: "injections/js/bug1631811-datastudio.google.com-indexedDB.js",
229-
},
230-
],
231-
allFrames: true,
232-
},
233-
},
234202
{
235203
id: "bug1694470",
236204
platform: "android",
@@ -425,23 +393,6 @@ const AVAILABLE_INJECTIONS = [
425393
allFrames: true,
426394
},
427395
},
428-
{
429-
id: "bug1790750",
430-
platform: "all",
431-
domain: "relearnings.com",
432-
bug: "1790750",
433-
contentScripts: {
434-
matches: [
435-
"https://relearnings.com/linkedinlearning.html", // Bug 1790750
436-
],
437-
js: [
438-
{
439-
file: "injections/js/bug1790750-relearnings.com-linkedinlearning-iframe-fix.js",
440-
},
441-
],
442-
allFrames: true,
443-
},
444-
},
445396
{
446397
id: "bug1859617",
447398
platform: "all",
@@ -557,19 +508,19 @@ const AVAILABLE_INJECTIONS = [
557508
"*://*.avanabayview.com/*", // #118617
558509
"*://*.breakpointeandcoronado.com/*", // #117735
559510
"*://*.courtsatspringmill.com/*", // #128404
511+
"*://*.fieldstoneamherst.com/*", // #132974
560512
"*://*.gslbriarcreek.com/*", // #126401
513+
"*://*.hpixeniatrails.com/*", // #131703
561514
"*://*.liveatlasathens.com/*", // #111189
562515
"*://*.liveobserverpark.com/*", // #105244
563516
"*://*.liveupark.com/*", // #121083
564-
"*://*.metropolisapt.com/*", // #129105
565517
"*://*.midwayurban.com/*", // #116523
566518
"*://*.nhcalaska.com/*",
567519
"*://*.prospectportal.com/*", // #115206
568520
"*://*.securityproperties.com/*",
569521
"*://*.thefoundryat41st.com/*", // #128994
570522
"*://*.theloftsorlando.com/*",
571523
"*://*.vanallenapartments.com/*", // #120056
572-
"*://*.waterfordapartmentstulsa.com/*", // #125870
573524
],
574525
css: [
575526
{
@@ -957,20 +908,6 @@ const AVAILABLE_INJECTIONS = [
957908
],
958909
},
959910
},
960-
{
961-
id: "bug1848716",
962-
platform: "desktop",
963-
domain: "elal.com",
964-
bug: "1848716",
965-
contentScripts: {
966-
matches: ["*://*.elal.com/*"],
967-
css: [
968-
{
969-
file: "injections/css/bug1848716-elal.com-unsupported-banner.css",
970-
},
971-
],
972-
},
973-
},
974911
{
975912
id: "bug1848849",
976913
platform: "all",
@@ -1091,6 +1028,34 @@ const AVAILABLE_INJECTIONS = [
10911028
],
10921029
},
10931030
},
1031+
{
1032+
id: "bug1877346",
1033+
platform: "android",
1034+
domain: "offerup.com",
1035+
bug: "1877346",
1036+
contentScripts: {
1037+
matches: ["*://offerup.com/*"],
1038+
css: [
1039+
{
1040+
file: "injections/css/bug1877346-offerup.com-infinite-scroll-fix.css",
1041+
},
1042+
],
1043+
},
1044+
},
1045+
{
1046+
id: "bug1884842",
1047+
platform: "android",
1048+
domain: "foodora.cz",
1049+
bug: "1884842",
1050+
contentScripts: {
1051+
matches: ["*://*.foodora.cz/*"],
1052+
css: [
1053+
{
1054+
file: "injections/css/bug1884842-foodora.cz-height-fix.css",
1055+
},
1056+
],
1057+
},
1058+
},
10941059
];
10951060

10961061
module.exports = AVAILABLE_INJECTIONS;

browser/extensions/webcompat/data/shims.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -320,17 +320,6 @@ const AVAILABLE_SHIMS = [
320320
],
321321
onlyIfBlockedByETP: true,
322322
},
323-
{
324-
id: "PBMWebAPIFixes",
325-
platform: "all",
326-
name: "Private Browsing Web APIs",
327-
bug: "1773110",
328-
runFirst: "private-browsing-web-api-fixes.js",
329-
matches: [
330-
"*://*.imgur.io/js/vendor.*.js", // Mobile: imgur.io (bug 1742344); desktop: imgur.com (unaffected)
331-
],
332-
onlyIfPrivateBrowsing: true,
333-
},
334323
{
335324
id: "Eluminate",
336325
platform: "all",

browser/extensions/webcompat/data/ua_overrides.js

Lines changed: 20 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -288,25 +288,6 @@ const AVAILABLE_UA_OVERRIDES = [
288288
},
289289
},
290290
},
291-
{
292-
/*
293-
* Bug 1595215 - UA overrides for Uniqlo sites
294-
* Webcompat issue #38825 - https://webcompat.com/issues/38825
295-
*
296-
* To receive the proper mobile version instead of the desktop version or
297-
* avoid redirect loop, the UA is spoofed.
298-
*/
299-
id: "bug1595215",
300-
platform: "android",
301-
domain: "uniqlo.com",
302-
bug: "1595215",
303-
config: {
304-
matches: ["*://*.uniqlo.com/*"],
305-
uaTransformer: originalUA => {
306-
return originalUA + " Mobile Safari";
307-
},
308-
},
309-
},
310291
{
311292
/*
312293
* Bug 1622063 - UA override for wp1-ext.usps.gov
@@ -683,42 +664,6 @@ const AVAILABLE_UA_OVERRIDES = [
683664
},
684665
},
685666
},
686-
{
687-
/*
688-
* Bug 1790698 - UA override for wolf777.com
689-
* Webcompat issue #103981 - https://webcompat.com/issues/103981
690-
*
691-
* Add 'Linux; ' next to the Android version or the site breaks
692-
*/
693-
id: "bug1790698",
694-
platform: "android",
695-
domain: "wolf777.com",
696-
bug: "1790698",
697-
config: {
698-
matches: ["*://wolf777.com/*"],
699-
uaTransformer: originalUA => {
700-
return originalUA.replace("Android", "Linux; Android");
701-
},
702-
},
703-
},
704-
{
705-
/*
706-
* Bug 1800936 - UA override for cov19ent.kdca.go.kr
707-
* Webcompat issue #110655 - https://webcompat.com/issues/110655
708-
*
709-
* Add 'Chrome;' to the UA for the site to load styles
710-
*/
711-
id: "bug1800936",
712-
platform: "all",
713-
domain: "cov19ent.kdca.go.kr",
714-
bug: "1800936",
715-
config: {
716-
matches: ["*://cov19ent.kdca.go.kr/*"],
717-
uaTransformer: originalUA => {
718-
return originalUA + " Chrome";
719-
},
720-
},
721-
},
722667
{
723668
/*
724669
* Bug 1819702 - UA override for feelgoodcontacts.com
@@ -914,22 +859,6 @@ const AVAILABLE_UA_OVERRIDES = [
914859
},
915860
},
916861
},
917-
{
918-
/*
919-
* Bug 1827678 - UA override for f2bbs.com
920-
* Webcompat issue #84932 - https://webcompat.com/issues/84932
921-
*/
922-
id: "bug1827678-webc84932",
923-
platform: "android",
924-
domain: "f2bbs.com",
925-
bug: "1827678",
926-
config: {
927-
matches: ["*://f2bbs.com/*"],
928-
uaTransformer: originalUA => {
929-
return UAHelpers.getDeviceAppropriateChromeUA();
930-
},
931-
},
932-
},
933862
{
934863
/*
935864
* Bug 1827678 - UA override for kt.com
@@ -962,22 +891,6 @@ const AVAILABLE_UA_OVERRIDES = [
962891
},
963892
},
964893
},
965-
{
966-
/*
967-
* Bug 1827678 - UA override for sistema.ibglbrasil.com.br
968-
* Webcompat issue #119785 - https://webcompat.com/issues/119785
969-
*/
970-
id: "bug1827678-webc119785",
971-
platform: "all",
972-
domain: "sistema.ibglbrasil.com.br",
973-
bug: "1827678",
974-
config: {
975-
matches: ["*://sistema.ibglbrasil.com.br/*"],
976-
uaTransformer: originalUA => {
977-
return UAHelpers.getDeviceAppropriateChromeUA();
978-
},
979-
},
980-
},
981894
{
982895
/*
983896
* Bug 1827678 - UA override for onp.cloud.waterloo.ca
@@ -1051,23 +964,6 @@ const AVAILABLE_UA_OVERRIDES = [
1051964
},
1052965
},
1053966
},
1054-
{
1055-
/*
1056-
* Bug 1751604 - UA override for /www.otsuka.co.jp/fib/
1057-
*
1058-
* The site's content is not loaded on mobile unless a Chrome UA is used.
1059-
*/
1060-
id: "bug1829126",
1061-
platform: "android",
1062-
domain: "www.otsuka.co.jp",
1063-
bug: "1829126",
1064-
config: {
1065-
matches: ["*://www.otsuka.co.jp/fib/*"],
1066-
uaTransformer: originalUA => {
1067-
return UAHelpers.getDeviceAppropriateChromeUA();
1068-
},
1069-
},
1070-
},
1071967
{
1072968
/*
1073969
* Bug 1836109 - UA override for watch.tonton.com.my
@@ -1298,6 +1194,8 @@ const AVAILABLE_UA_OVERRIDES = [
12981194
"*://thematiques.metro.fr/*",
12991195
"*://volantino.metro.it/*",
13001196
"*://view.publitas.com/*",
1197+
"*://magazine.kruidvat.be/*",
1198+
"*://folder.kruidvat.nl/*",
13011199
],
13021200
uaTransformer: originalUA => {
13031201
return UAHelpers.getDeviceAppropriateChromeUA();
@@ -1377,6 +1275,24 @@ const AVAILABLE_UA_OVERRIDES = [
13771275
},
13781276
},
13791277
},
1278+
{
1279+
/*
1280+
* Bug 1884779 - UA override for
1281+
* Webcompat issue #134287 - https://webcompat.com/issues/134287
1282+
*
1283+
* The site returns desktop layout on Firefox for Android
1284+
*/
1285+
id: "bug1884779",
1286+
platform: "android",
1287+
domain: "memurlar.net",
1288+
bug: "1884779",
1289+
config: {
1290+
matches: ["*://*.memurlar.net/*"],
1291+
uaTransformer: originalUA => {
1292+
return UAHelpers.getDeviceAppropriateChromeUA();
1293+
},
1294+
},
1295+
},
13801296
];
13811297

13821298
module.exports = AVAILABLE_UA_OVERRIDES;

browser/extensions/webcompat/injections/css/bug1654877-preev.com-moz-appearance-fix.css

Lines changed: 0 additions & 19 deletions
This file was deleted.

browser/extensions/webcompat/injections/css/bug1848716-elal.com-unsupported-banner.css

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/* This Source Code Form is subject to the terms of the Mozilla Public
2+
* License, v. 2.0. If a copy of the MPL was not distributed with this
3+
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4+
5+
/**
6+
* offerup.com - Infinite scroll doesn't work
7+
* Bug #1720060 - https://bugzilla.mozilla.org/show_bug.cgi?id=1720060
8+
*
9+
* The site uses IntersectionObserver to show new items on the page,
10+
* as the page being scrolled and it doesn't work with with
11+
* Dynamic Toolbar enabled. Adding an empty element after the content
12+
* to make up for the height of the dynamic toolbar makes it work.
13+
*/
14+
15+
#__next::after {
16+
display: block;
17+
width: 100%;
18+
height: 10px;
19+
content: "";
20+
}

0 commit comments

Comments
 (0)