hestiaAI / ad-radar

Ad Radar - a browser extension that shows information about the ads you see online - developed by Hestia for The Eyeballs.
https://eyeballs.hestialabs.org/
GNU Affero General Public License v3.0
9 stars 1 forks source link

Detect Prebid.js with names different from pbjs #3

Closed streitl closed 2 years ago

streitl commented 2 years ago

Some websites import Prebid.js as pbjs_handler or similar variable names (which websites do this?). Idea: use a regex to match the name of all variables (in window?) that contain pbjs and try one of pbjs's known methods