Does a couple hacks to resize and hide background when playing a video on funimation.com

Latest Version

Version
1.0
Update
April 7, 2015
Size
33.49KiB
Developer
Category
Users
90
Rating
3 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
WebRequest
WebRequestBlocking
Http://www.funimation.com/shows/*
See more

Funimation Better Lights Off Extension

The funimation player is a tad weak. It inexplicable does not follow the width of the window to make use of as much screen real-estate as possible and lights-off mode still leaves a bunch of distracting gunk in the background. This extension hopes to address some of those issues by user agent spoofing to make use of the html5 player and hijack the video play/pause signals to:

- clamp the video width to the width of the window while maintaining aspect ratio (
Read more

Source Manifest.json

{"update_url": "https://clients2.google.com/service/update2/crx", "manifest_version": 2, "name": "Funimation Better Lights Off", "description": "Does a couple hacks to resize and hide background when playing a video on funimation.com", "version": "1.0", "background": { "scripts": ["user_agent_fix.js"] }, "content_scripts": [ { "matches": ["http://www.funimation.com/shows/*/videos/official/*"], "js": ["jquery-2.1.3.min.js", "size_fix.js"] } ], "permissions": [ "webRequest", "webRequestBlocking", "http://www.funimation.com/shows/*" ]}
Read more