> [email protected] install E:\Webstorm_WorkSpace\X-Admin\node_modules\chromedriver
> node install.js
Downloading https://chromedriver.storage.googleapis.com/2.33/chromedriver_win32.zip
Saving to C:\Users\ADMINI~1\AppData\Local\Temp\chromedriver\chromedriver_win32.zip
ChromeDriver installation failed Error with http(s) request: Error: getaddrinfo ENOTFOUND chromedriver.storage.googleapis.com chromedriver.storage.googleapis.com:443
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--Colors coverted using Lea Verou’s LCH coverter https://css.land/lch/--> | |
<div class="main-wrapper"> | |
<header> | |
<h1>Comparing LCH and HSL colors</h1> | |
<button data-toggle hidden role="switch" checked="false"> | |
Grayscale<span data-text aria-hidden>: Off</span> | |
</button> | |
</header> | |
<div class="grid"> | |
<div class="wrapper"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by OXOYO on 2018/11/9. | |
* | |
* 禁用调试工具 | |
*/ | |
const closeWindow = (loop) => { | |
clearInterval(loop) | |
// 关闭当前窗口 | |
window.close() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Background () { | |
chrome.runtime.onInstalled.addListener(function (details) { | |
// only run the following section on install | |
if (details.reason !== "install") { | |
return; | |
} | |
chrome.tabs.create({ | |
url: "https://webdesktop.net" | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<style scoped lang="less" rel="stylesheet/less"> | |
.high-light-block { | |
position: relative; | |
display: inline-block; | |
width: 100%; | |
line-height: 1; | |
margin-bottom: 10px; | |
background: #3f3f3f; | |
&:hover { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Smooth scroll-to inspired by: | |
// http://stackoverflow.com/a/24559613/728480 | |
// | |
module.exports = function (scrollTo, scrollDuration) { | |
// | |
// Set a default for where we're scrolling to | |
// |