Win10 Redstone version of the Edge browser new extension features: turn off the lights

  
In order to take care of users who use computers in the dark, Win10 has launched "Dark theme" in many applications, such as the black skin of the Edge browser. 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 is about to be in place in the official version of RedStone, which is already available to Windows Insider users. . 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. Completed. 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:
The code is as follows:
If (typeof msBrowser !== ‘undefined’) {
chrome = msBrowser;
}
else if (typeof browser != ‘undefined’) {
chrome = browser;
}
2. Edge browser does not support syncing from Chrome", so you must modify the code as follows:
The code is as follows:
Change chrome.storage.sync.get
to :
chrome.storage.local.get
3, there is currently no <;options" button to modify <; turn off lights & rdquo; extended settings
4, & ldquo; turn off lights & rdquo; extended use 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. If you need it, come and understand it!

Copyright © Windows knowledge All Rights Reserved