Bug 1958395 - Add .tweet-embed to smartblock embed twitter shim selector. r=emz,webcompat-reviewers,twisniewski

Differential Revision: https://phabricator.services.mozilla.com/D247180
This commit is contained in:
William Wen
2025-04-30 18:38:11 +00:00
committed by twisniewski@mozilla.com
parent a9cd133245
commit 65b2551c07
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Web Compatibility Interventions",
"description": "Urgent post-release fixes for web compatibility.",
"version": "140.1.0",
"version": "140.2.0",
"browser_specific_settings": {
"gecko": {
"id": "webcompat@mozilla.org",

View File

@@ -8,6 +8,7 @@ embedHelperLib.initEmbedShim({
shimId: "TwitterEmbed",
scriptURL: "https://platform.twitter.com/widgets.js",
embedLogoURL: "https://smartblock.firefox.etp/x-logo.svg",
embedSelector: ".twitter-tweet, .twitter-timeline, .twitter-video",
embedSelector:
".twitter-tweet, .twitter-timeline, .twitter-video, .tweet-embed",
isTestShim: false,
});