saber酱的抱枕

Fly me to the moon

06/15
02:15
软件

恶作剧的 carnival.js

carnival.js

carnival.js 可以让网页不停地抖动,作者可真是个小机灵鬼。

在网站头部引用carnival.js:

<script src="https://nd002723.github.io/carnival/js/carnival.js"></script>

或者将下面代码保存为书签,动态引入:

javascript:void(function(){var d = document,a = 'setAttribute',s = d.createElement('script');s[a]('tyle','text/javascript');s[a]('src','https://nd002723.github.io/carnival/js/carnival.js');d.head.appendChild(s);})();

网站示例 (在这个页面点击书签部分的代码,稍等一会儿就能看到效果。)

源码下载(zip)

本文由网友投稿

恶作剧的 carnival.js

评论 nd002723 撤销评论