Skip to content

Instantly share code, notes, and snippets.

@tianyuf
Created May 14, 2016 15:03
Show Gist options
  • Star 74 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save tianyuf/783ddb0727d366a11d1fa46ab53bfb85 to your computer and use it in GitHub Desktop.
Save tianyuf/783ddb0727d366a11d1fa46ab53bfb85 to your computer and use it in GitHub Desktop.
BaaN: Baidu as a Network Utility - 百度的实用主义方法论.
@-moz-document domain("baidu.com") {
body {
display: none;
}
html {
margin: 30px;
}
html::after {
font-family: "BlinkMacSystemFont", "Segoe UI", sans-serif;
content: "Network Status: You have successfully connected to the Internet. ";
}
}
@liguge
Copy link

liguge commented May 15, 2016

能不能发布一个chrome扩展?

@luckscx
Copy link

luckscx commented May 15, 2016

补刀一个Chrome插件
https://gist.github.com/luckscx/31b37aea1d552c3a56d7784ce289fd2f
食用方法:下载Zip包解压 - Chrome - 扩展程序 - 勾选开发者模式 - 加载已解压的扩展程序

@jesseky
Copy link

jesseky commented May 15, 2016

好黑,哈哈哈 ,然而我们平常就是用baidu来测试是不是能上网!

@slowlearnerLspeedup
Copy link

干得好!!!!!!!十万个顶!!

@xieranmaya
Copy link

建议增大字号

@kinosang
Copy link

@weaming
Copy link

weaming commented May 17, 2016

#u1,
#ftCon,
#form input,
#form span
{display: none;}

#form::after {
    font-family: "BlinkMacSystemFont", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: green;
    content: "Network Status: You have successfully connected to the Internet. ";
}

qq 20160517145350

@cwx0046
Copy link

cwx0046 commented May 20, 2016

干掉滚动条,夏日更清爽 (▰˘◡˘▰)

body {
    display: none;
}
html {
    padding: 30px;
    box-sizing: border-box;
    overflow: hidden;
}
html:AFTER {
    font-family: "Incosolata", monospace;
    content: "Network Status: You have successfully connected to the Internet. ";
}

@hicqu
Copy link

hicqu commented Oct 27, 2017

Great! I can use this test my tamer monkey, too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment