Greasy Fork is available in English.

FADIVVVV - vvvvid.it Anti Flash

Guardati i tuoi anime preferiti senza avere Adobe Flash Player!

< 脚本FADIVVVV - vvvvid.it Anti Flash的反馈

提问/评论

§
发表于:2016-08-05
编辑于:2016-08-05

Request

Hello. I checked you scripts and was wondering if you could help me with something, Do you know how to make the browser think that I don't have flash installed using a userscript? I tried

Object.defineProperty(navigator, 'plugins', {
get: function () {
return { length: 0 };
}
});

but it does not work. It's for the option 1 player on this site which doesn't work unless you make it load the html5 version http://animeflv.net/ver/sakamoto-desu-ga-7.html

I know there is a "trick" to make it think that you are on android or something like that but that replaces the JWplayer with the default browser player and that player causses issues with other scripts and things in my pc that I would like to avoid.

Thanks for your time.

Robotex作者
§
发表于:2016-08-30

I have never looked into JWplayer, but you can peek at its source code to see what mechanism it uses for flash support detection. Also I believe you can just pass it an ad-hoc configuration to force it to prefer one method over another, which should be easier than implementing a missing feature like my script does

发表回复

登录以发表回复。