From: James Bunton Date: Mon, 15 Sep 2014 21:39:34 +0000 (+1000) Subject: added window.history.pushState to fix signature check X-Git-Url: https://code.delx.au/youtube-cgi/commitdiff_plain/f00fe255ad32e3d1fa209dfd86f76c8d5fd96101 added window.history.pushState to fix signature check --- diff --git a/youtube.cgi b/youtube.cgi index 6495c8d..eeb5fd2 100755 --- a/youtube.cgi +++ b/youtube.cgi @@ -169,7 +169,10 @@ def decode_signature(js_url, signature): var sandbox = { window: { - location: {} + location: {}, + history: { + pushState: function(){} + } }, document: {}, navigator: {},