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. ";
}
}
@tianyuf
Copy link
Author

tianyuf commented May 14, 2016

screen shot 2016-05-14 at 11 04 27 pm

@tianyuf
Copy link
Author

tianyuf commented May 14, 2016

@JokerQyou
Copy link

Any chance to make a Tampermonkey user script? :-D

@cookie223
Copy link

@-moz-document 只适用于Gecko吧……然而Webkit才是主流……

@Liam0205
Copy link

太坏了,233

@OahMada
Copy link

OahMada commented May 15, 2016

Good one.

@insurgo222
Copy link

干的好

@huanglizhuo
Copy link

👍 👍 👍 👍 👍 👍

@DelightRun
Copy link

支持下Safari啊

@FradSer
Copy link

FradSer commented May 15, 2016

好呀

@slanterns
Copy link

slanterns commented May 15, 2016

The easiest way to use user styles is to use Stylish for Firefox, Stylish for Chrome, Stylish for Safari, or Stylish for Opera. It's all free, by the way.

https://userstyles.org/
都有。

@ZoharWang
Copy link

干的漂亮!

@tianyuf
Copy link
Author

tianyuf commented May 15, 2016

@laike9m
Copy link

laike9m commented May 15, 2016

👍

@chuangtim
Copy link

这么黑,好像有什么不对,呵呵

@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