Win10 Redstone version of the Edge browser new extension features: turn off the lights (with extensions used)

  

Win10 in order to take care of users in the dark under the use of computers, in many applications have launched "dark theme", such as Edge browsing Black skin. However, this type of skin is limited to the application itself to change color, and the content of the web page is not affected. Therefore, if it is viewed in the dark, strong contrast between light and dark will make people more uncomfortable.

▲Turn Off the Lights official Twitter uses YouTube as an example to show the effect of the application

Fortunately, the extension function of the Edge browser will be in place in the official version of RedStone, and Windows Insider users can already use it. This feature. Now a new extension has come to the Edge browser, which is "Turn Off the Lights". As the name suggests, this extension can make the page brightness down one button (except HTML5 and Flash video), and with the browser's dark theme skin, it can give users a more comfortable browsing experience in low light conditions.

“ Turn off the lights” Previously, it has appeared in the extension library of Chrome kernel browsers such as Chrome, IE11 (plug-in), Firefox and Sailfish browser. That is to say, the merits are complete. However, due to the fact that the Edge browser's extension support itself is relatively primitive, there is no guarantee that the extension will behave like other browsers, and some features will not open properly. Here's a quick description of the extension:

1. If you add the following statement from your Chrome extension to all JavaScript, it works fine in your Edge browser:


Copy the code
The code is as follows: if (typeof msBrowser !== ‘undefined’) {chrome = msBrowser;}else if (typeof browser != ‘undefined’) {chrome = browser;}

2, Edge browser does not support from Chrome "Sync", so you must modify the code as follows:


Copy the code
The code is as follows: Change chrome.storage.sync.get to: <strong>chrome.storage.local.get</strong>

3, there is currently no "options" button to modify "turn off lights” Extended Settings

4, <; Turn off the lights”Extended to use the page action icon, so when you open the Edge browser, this icon is also displayed on the front page, which is to the right of the blue search button. When you click the gray light bulb button, it only darkens the web view element. Just below the search bar, the rest is grayed out from the browser UI.

Edge Off the Lights Download: Click here to enter
The above is the introduction of the new extended light-off function of the Win10 Redstone Edge browser. Come and see the friends who need it!

Copyright © Windows knowledge All Rights Reserved