Turn Off the Lights Chrome extension arrives on Microsoft Edge as a preview

Reading time icon 2 min. read

Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more

Turn Off the Lights, for those that did not know, is a free browser extension for Google Chrome, Internet Explorer, Mozilla Firefox, and other browsers, where you can dim everything on the screen except the Flash or HTML5 video you are watching. This is a really cool and useful extension that helps viewers focus on the video they want to watch and not be distracted by the brightness of a website.

With the most recent build of Windows 10 Redstone offering support for Microsoft Edge extensions, the developer behind Turn Off the Lights has released a preview of their extension for the Edge browser. Not all of the features work and there are a few things you need to do in order to get the extension working.

  1. If you add this on all the JavaScript from your Chrome extension, it works then already well in your Edge browser.
    if (typeof msBrowser !== ‘undefined’) {
    chrome = msBrowser;
    else if (typeof browser != ‘undefined’) {
    chrome = browser;

    2) Edge doesn’t support the “sync” feature from Google Chrome, so you must change the code from this:
    to this

    3) Currently there is no “Options” button visible to change the settings in the “Turn Off the Lights” options page.
    4) Our Turn Off the Lights extension use the pageaction icon, so the icon is also visible in the first page when you open the Edge web browser. Just right of the blue search button. When you click on the gray lamp button, it dims only the webview element. And that is just below the search box, the other part is gray and is coming from the browser UI.

Head over here to grab the extension and pay close attention to the documentation provided. Let us know in the comments below if you find this extension to be useful. What other extensions are you looking forward to seeing, aside from Adblock?