Search found 3 matches

by saaib
Tue Jun 02, 2015 11:08 pm
Forum: NoScript Surrogates
Topic: Fix for 2mdn.net
Replies: 3
Views: 90203

Re: Fix for 2mdn.net

Your suggestion did not work, but it did get me interested in JavaScript Proxies After reading a bit about what they do I came up with a working solution: if('Proxy' in window){ let _f=function(){}; google={}; Object.defineProperty(google,'__noSuchMethod__',{configurable:true,enumerable:false,value:...
by saaib
Tue Jun 02, 2015 10:08 pm
Forum: NoScript Surrogates
Topic: Fix for 2mdn.net
Replies: 3
Views: 90203

Fix for 2mdn.net

Hi again a few weeks ago videos on a local news website in Belgium stopped working without 2mdn.net allowed. See this example: http://goo.gl/g77eho . It complained about google.ima.settings being undefined. So I added a __noSuchMethod__ function to catch calls to google.ima.settings. I am not exactl...
by saaib
Sat May 23, 2015 7:05 pm
Forum: NoScript Surrogates
Topic: Update gigya script surrogate
Replies: 1
Views: 15938

Update gigya script surrogate

I hope this is the right place to post this, but I tweaked the script surrogate for gigya. I added the gigya.accounts because videos on vtm.be wouldn't play without me allowing the full gigya script. This is the updated script surrogate: gigya={__noSuchMethod__:function(){}, isGigya:true, __initiali...