From 14b71811c28a701b60e5c241c9596c649e746a9a Mon Sep 17 00:00:00 2001 From: Aram Grigoryan <132480+aram356@users.noreply.github.com> Date: Fri, 24 Apr 2026 13:35:51 -0700 Subject: [PATCH] Remove unused static/prebid/prebidjs-shim.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The file was never served or referenced. Nothing in the Rust adapter, JS build pipeline, configs, or docs points to it. The only /static/prebid/* mentions in code and docs relate to the script_patterns wildcard that intercepts publisher Prebid tags — a separate feature that does not depend on this shim. Predates the tsjs bundle pipeline, where the Prebid module is now loaded as a deferred tsjs-prebid.min.js bundle. --- static/prebid/prebidjs-shim.js | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 static/prebid/prebidjs-shim.js diff --git a/static/prebid/prebidjs-shim.js b/static/prebid/prebidjs-shim.js deleted file mode 100644 index 277c62072..000000000 --- a/static/prebid/prebidjs-shim.js +++ /dev/null @@ -1,30 +0,0 @@ -(function (w) { - var p = (w.pbjs = w.pbjs || {}); - p.que = p.que || []; - - // Provide no-op APIs to keep pages from breaking before tsjs loads - if (!p.setConfig) { - p.setConfig = function () {}; - } - if (!p.getConfig) { - p.getConfig = function () { - return {}; - }; - } - if (!p.requestBids) { - p.requestBids = function (o) { - try { - o && o.bidsBackHandler && o.bidsBackHandler(); - } catch (e) {} - }; - } - if (!p.getHighestCpmBids) { - p.getHighestCpmBids = function () { - return []; - }; - } - - if (w.console && console.info) { - console.info('[tsjs] Loaded Prebid shim; tsjs will be injected separately'); - } -})(window);