Index: safari/include.youtube.js |
diff --git a/safari/include.youtube.js b/safari/include.youtube.js |
index 33011d13f3050e5290b843e4f68c5ff9deeefd24..1a8c8ee19961b3edc0c6555a997cbf55d497b9ce 100644 |
--- a/safari/include.youtube.js |
+++ b/safari/include.youtube.js |
@@ -23,7 +23,7 @@ |
try |
{ |
var beforeLoadEvent = document.createEvent("Event"); |
- beforeLoadEvent.initEvent("beforeload"); |
+ beforeLoadEvent.initEvent("beforeload", false, true); |
if (safari.self.tab.canLoad(beforeLoadEvent, |
{category: "request", |
payload: {type: "prefs.get", |