1
1
Background: I am a novice web programmer and frequently use different browsers to test for incompatibilities. I sometimes find myself easily distracted and am trying to block video sites such as youtube, twitch, vimeo, etc. I know I can use browser addons/extensions, host file rules, router rules (I'm the only one on this router, btw), etc to accomplish this, but I'm thinking of creating some code to automate blocking of online video loading, based on different times of the day, by a slightly more bypass-proof way. (Yes...sometimes I'm tempted to bypass my own blocks...and yes, I know that no way is completely bypass-proof, but I just want to make it a little harder on myself. I also think of this as a little challenge to myself as to whether or not I can even do this.)
I recently found out a way to block flash for most browsers by removing/renaming a dll file called "NPSW(some numbers here).dll" in
c:/windows/syswow64/macromed/flash
The built in flash in chrome can be disabled by removing the pepflashplayer.dll file in
c:/users/(name here)/appdata/local/google/chrome/application/(version number here)/pepperflash
After flash is disabled this way, Chrome changes from loading videos in flash to loading them in HTML5. The html5 video can be blocked in Chrome by removing/renaming the ffmpegsumo.dll file in
c:/users/(name here)/appdata/local/google/chrome/application/(version number here)
Btw, I found this out here: (https://webapps.stackexchange.com/questions/50978/disable-youtube-html5-player-in-chrome)
My question is whether or not firefox, internet explorer, safari, opera, etc. can have their html5 video disabled. So, chrome has the one dll file to disable its html5 video decoding. Does firefox, internet explorer, etc, have a file that I can remove/rename to accomplish the same thing? I can't seem to find this info out by my own google attempts. What I did find about firefox is that html5 videos can be disabled through a change in the about:config, but I'm asking about whether or not a file exists that I can remove/rename to disable html5 video.
I realize this might not be a solution to your problem, but I found your question while trying to solve the problem of auto-playing videos, so I thought I'd direct others like me to my answer (for Firefox): https://superuser.com/a/1370087/36197
– Sirap – 2018-10-25T21:50:01.027