The headless browser for AI agents and web scraping
js: mark Event constructor as native for stealth compatibility
yzyf131237b33c1109c3
diff --git a/crates/obscura-js/js/bootstrap.js b/crates/obscura-js/js/bootstrap.jsindex 66f1f59d..6ac4c54a 100644--- a/crates/obscura-js/js/bootstrap.js+++ b/crates/obscura-js/js/bootstrap.js@@ -4016,6 +4016,7 @@ globalThis.Event = class Event {return path;}};+_markNative(Event);globalThis.CustomEvent = class extends Event {constructor(t,o={}) { super(t,o);this.detail=o.detail; }// Legacy DOM Level 2 init; some libraries (Starbucks China bundle, older