blackbird消息弹出框(彻底替换alert)
blackbird消息弹出框(彻底替换alert)
脚本简介:
Blackbird 是一个开源的JavaScript库,提供了一种简单的记录日志的方式和一个控制台窗口,有了这个之后,你就可以抛弃alert() 了。
Usage
Public API
log.toggle() Hide/show Blackbird
log.move() Move Blackbird to next fixed positions: top-left, top-right, bottom-left, bottom-right
log.resize() Expand/contract Blackbird
log.clear() Clear all contents of Blackbird
log.debug( message ) Add a debug message to Blackbird
message: the string content of the debug message
log.info( message ) Add an info message to Blackbird
message: the string content of the info message
log.warn( message ) Add a warning message to Blackbird
message: the string content of the warn message
log.error( message ) Add an error message to Blackbird
message: the string content of the warn message
log.profile( label ) Start/end a time profiler for Blackbird. If a profiler named string does not exist, create a new profiler. Otherwise, stop the profiler string and display the time elapsed (in ms).
label: the string identifying a specific profile timer
下载地址:
相关脚本
解压密码:
www.jb51.net
推荐使用 [
迅雷 ] 下载,使用 [
WinRAR v3.93 ] 以上版本解压本站脚本。
如果这个脚本总是不能下载的请在评论中留言,我们会尽快修复,谢谢!
下载本站资源,如果服务器暂不能下载请过一段时间重试!
如果遇到什么问题,请评论留言,我们定会解决问题,谢谢大家支持!
本站提供的一些商业脚本是供学习研究之用,如用于商业用途,请购买正版。
本站提供的
blackbird消息弹出框(彻底替换alert)资源来源互联网,版权归该下载资源的合法拥有者所有。
不知如何下载的,可以查看