1、http://www.pixijs.com/
javascript
var e = [
"\n %c %c %c Pixi.js 4.1.0 - ✰ WebGL ✰ %c %c http://www.pixijs.com/ %c %c ♥%c♥%c♥ \n\n",
"background: #ff66a5; padding:5px 0;",
"background: #ff66a5; padding:5px 0;",
"color: #ff66a5; background: #030307; padding:5px 0;",
"background: #ff66a5; padding:5px 0;",
"background: #ffc3dc; padding:5px 0;",
"background: #ff66a5; padding:5px 0;",
"color: #ff2424; background: #fff; padding:5px 0;",
"color: #ff2424; background: #fff; padding:5px 0;",
"color: #ff2424; background: #fff; padding:5px 0;"
];
window.console.log.apply(console, e)
2、https://www.baidu.com/
javascript
window.console && window.console.log && (console.log("一张网页,要经历怎样的过程,才能抵达用户面前?\n一位新人,要经历怎样的成长,才能站在技术之巅?\n探寻这里的秘密;\n体验这里的挑战;\n成为这里的主人;\n加入百度,加入网页搜索,你,可以影响世界。\n"),
console.log("请将简历发送至 %c ps_recruiter@baidu.com( 邮件标题请以“姓名-应聘XX职位-来自console”命名)", "color:red"),
console.log("职位介绍:http://dwz.cn/hr2013"))
3、https://www.tmall.com/
javascript
var e = {
"info": "\u55b5~ \u52a0\u5165\u6211\u4eec\u5427 http://tb.cn/iS8NBOy",
"logo": " ::: ::: \n ::::::: ::::: \n::::::::: ::::::::\n:::::::::::::::::::::::::::::::::::::::::::\n:::: ::: :::::::::::::::: ::: ::::\n::: Smart :::::cool:::: Crazy :::\n::::: ::: ::::::::::::::: ::: :::\n:::::::::::::::::::::::::::::::::::::::::::"
};
window.console && console.info && console.info(e.logo + "\n\n" + e.info)
4、https://www.alipay.com/
javascript
var t = "\u6e29\u99a8\u63d0\u793a\uff1a\u8bf7\u4e0d\u8981\u8c03\u76ae\u5730\u5728\u6b64\u7c98\u8d34\u6267\u884c\u4efb\u4f55\u5185\u5bb9\uff0c\u8fd9\u53ef\u80fd\u4f1a\u5bfc\u81f4\u60a8\u7684\u8d26\u6237\u53d7\u5230\u653b\u51fb\uff0c\u7ed9\u60a8\u5e26\u6765\u635f\u5931 \uff01^_^",
s = "\u505a\u5730\u7403\u4e0a\u6700\u5177\u4e92\u8054\u7f51\u6027\u3001\u521b\u65b0\u6027\u3001\u4e13\u4e1a\u6709\u7231\u7684\u56e2\u961f\u3002",
n = "https://github.com/alipay/x",
i = [s, " ", n].join("");
console.log("%c AliPay %c Copyright \xa9 2004-%s", 'font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;font-size:64px;color:#00bbee;-webkit-text-fill-color:#00bbee;-webkit-text-stroke: 1px #00bbee;', "font-size:12px;color:#999999;", (new Date).getFullYear()),
console.log("%c " + t, "color:#333;font-size:16px;"),
console.log("\n " + i)
5、http://www.alloyteam.com/
javascript
window.console && console.log && console.log("\n" + " _ _ _ _____ \n \/_\\ | || | ___ _ _ \/__ \\ ___ __ _ _ __ ___ \n \/\/_\\\\ | || | \/ _ \\ | | | | \/ \/\\\/ \/ _ \\ \/ _` || '_ ` _ \\ \n\/ _ \\| || || (_) || |_| | \/ \/ | __\/| (_| || | | | | |\n\\_\/ \\_\/|_||_| \\___\/ \\__, | \\\/ \\___| \\__,_||_| |_| |_|\n |___\/\n\n 欢迎加入AlloyTeam:请将简历(邮件标题后面再加上'from console')发送至 %c Kinvix@QQ.com \n", "color:red");
0、本屌站 略略略
javascript
window.console && console.log && console.log("%c\n\\ \/ \n \\ _ \/ | | \n \\ \/ \\ \/ __ |__ __ | __ \n \\ \/ \\ \/ |_ | \\ \/ | \/ \\ \\ \/\\ \/ \n \\_\/ \\_\/ |__ |__\/ \\__ | \\__\/ \\\/ \\\/ \n\n", "color:blue")
本来想好好写写的,结果败在懒上。应该是2、3月之前的日记了。
文章信息
- 文章标题:一些不错的console.log - Keystion
- 文章链接:https://webclown.net/posts/一些不错的console-log.html
- 版权声明:本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。
- 转载请注明来自 Keystion !
markdown
[一些不错的console.log - Keystion](https://webclown.net/posts/一些不错的console-log.html)