BaaN: Baidu as a Network Utility

百度的实用主义方法论.

// ==UserScript==
// @name         BaaN: Baidu as a Network Utility
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  百度的实用主义方法论.
// @author       tianyuf
// @contributor  kinosang
// @include      *www.baidu.com*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    var elements = document.getElementsByTagName('html');
    elements[0].innerHTML = '<style>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. ";}</style>';
})();