Greasy Fork is available in English.

FADIVVVV - vvvvid.it Anti Flash

Guardati i tuoi anime preferiti senza avere Adobe Flash Player!

< Feedback on FADIVVVV - vvvvid.it Anti Flash

Question/comment

§
Posted: 05.08.2016
Edited: 05.08.2016

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.

RobotexAuthor
§
Posted: 30.08.2016

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

Post reply

Sign in to post a reply.