Turn Off the Lights Browser Extension
Turn Off the Lights is a popular browser extension that works on all major web browsers such as Google Chrome, Firefox, Opera, Safari, Yandex, Maxthon, Brave, Vivaldi, Cốc Cốc, Samsung Internet, Naver Whale, and Microsoft Edge.
!Chrome Web Store !Chrome Web Store !Chrome Web Store
Using Turn Off the Lights to dims the web page and reduces the eye strain caused by the bright screen. And it will highlight the video player on that web page such as on YouTube.
Join our growing community on Facebook to stay up to date!
Join our growing Translators community on Crowdin to stay up to date!
Please use and enjoy it, and if you can make a donation of any amount, I'd appreciate it immensely
Features
- Turn the lights back on, by clicking on it
- Support multiple video sites: YouTube, HTML5 video,... and more
- Customize your YouTube:
- Easter Eggs:
- Option to make the screen dark when the user clicks on the play button
- Option to turn on/off the fade-in and fade-out effects
- Custom colors
- Option to Flash Detection
- Option to Show Dimness Level Bar
- Option Eye Protection for when it's night. And with a whitelist/blacklist filter
- Option atmosphere lighting that shows a glow around the video player
- Option to show the dark layer on the top of the window
- Options to shortcut keys:
- Option for Mouse Wheel Volume Control for each HTML5 video player
- Option to add a filter to the current HTML5 video player (grayscale, sepia, invert, contrast, saturate, hue rotation, and brightness)
- Option to show the Audio Visualization effect on top of the current HTML5 video (Blocks, Frequency, and Music Tunnel)
- Option to loop the current HTML5 video player
- Option to place the Night Mode switch to toggle YouTube in black or white theme. And with a whitelist/blacklist filter
- Option to stop YouTube and HTML5 videos from automatically playing.
Installation
Create package
- Install the dependencies:
npm install
- Build the extension for the browser you want to test:
npm run chrome # creates dist/chrome
npm run firefox # creates dist/firefox
npm run opera # creates dist/opera
npm run edge # creates dist/edge
npm run whale # creates dist/whale
npm run yandex # creates dist/yandex
npm run samsung # creates dist/samsung (submit this to the Galaxy Store)
Or build and package all supported browsers at once:
npm run browserzip
For Safari, use:
npm run safari # builds the Safari extension resources for Xcode
Load the unpacked extension
Google Chrome / Microsoft Edge / Opera / Brave / Vivaldi / Yandex / Naver Whale
- Open your browser's extensions page:
chrome://extensions
- Edge: edge://extensions
- Opera: opera://extensions
- Yandex: browser://extensions
- Whale: whale://extensions
- If you already have Turn Off the Lights installed, disable it
- Check Developer mode at the top of the Extensions page
- Click Load unpacked (or Load unpacked extension...)
- Choose the generated
dist/folder (for exampledist/chromefor Google Chrome)
Firefox
- Open
about:debugging#/runtime/this-firefox - Click Load Temporary Add-on…
- Select the
manifest.jsonfile insidedist/firefox
Safari
- Run
npm run safarito build the extension resources - Open the
xcode/Turn-Off-the-Lights-Safari-extensionproject in Xcode - Build and run the extension target following Apple's Safari extension development instructions
STABLE Channel
The browser extension is available in the following stores:
- Google Chrome in the Chrome web store
- Opera in the Opera Extension gallery
- Firefox in the Firefox Extension gallery
- Safari in the Safari Extension gallery
- Available for Yandex: See Yandex built-in extension
- Maxthon in the Maxthon Extension gallery
- Microsoft Edge in the Microsoft Edge Add-ons Store
- Naver Whale in the Whale Store
- Samsung Internet in the Samsung Galaxy Store