instagram-embed.js (655B)
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 https://mozilla.org/MPL/2.0/. */ 4 5 /* globals browser, embedHelperLib */ 6 7 if (!window.smartblockInstagramShimInitialized) { 8 // Guard against this script running multiple times 9 window.smartblockInstagramShimInitialized = true; 10 11 embedHelperLib.initEmbedShim({ 12 shimId: "InstagramEmbed", 13 scriptURL: "https://www.instagram.com/embed.js", 14 embedLogoURL: "https://smartblock.firefox.etp/instagram.svg", 15 embedSelector: ".instagram-media", 16 isTestShim: false, 17 }); 18 }