Index: safari/include.youtube.js |
=================================================================== |
--- a/safari/include.youtube.js |
+++ b/safari/include.youtube.js |
@@ -92,7 +92,7 @@ |
patchPlayer(event.target); |
}, true); |
- runInDocument(document, function(badArgumentsRegexSource) |
+ runInPageContext(function(badArgumentsRegexSource) |
{ |
var badArgumentsRegex = new RegExp(badArgumentsRegexSource); |