Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: safari/include.youtube.js

Issue 5096307580469248: Issue 471 - Patch History.prototype.pushState instead history.pushState in Safari on YouTube (Closed)
Patch Set: Created May 13, 2014, 10:23 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: safari/include.youtube.js
===================================================================
--- a/safari/include.youtube.js
+++ b/safari/include.youtube.js
@@ -97,7 +97,7 @@
var script = document.createElement("script");
script.type = "application/javascript";
script.async = false;
- script.textContent = "history.pushState = undefined;";
+ script.textContent = "History.prototype.pushState = undefined;";
document.documentElement.appendChild(script);
document.documentElement.removeChild(script);
})();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld