想讓您的網頁放屁嗎?試試這個吧 fartscroll.js 讓您屁聲不止XD

完全不知道誰那麼無聊寫了這個 js 拉wwww
官方: http://theonion.github.io/fartscroll.js/

  1. Include "fartscroll.js" in your page. You can include the latest version straight from our CDN:
    <script src="http://code.onion.com/fartscroll.js"></script>
  2. Initialize the fartscroll plugin after the page has loaded:
    // Fart every 400 pixels scrolled in the window
        fartscroll();
    
        // Fart every 800 pixels scrolled
        fartscroll(800);
    
        // Fart every 100 pixels scrolled (probably a bit much)
        fartscroll(100);
    
        // Now I'm just adding more examples to make the page longer
        fartscroll(50);
    
        // SO MANY FARTS
        fartscroll(5);
    
        // I should register fart.io for this
        fartscroll(500);
    
        // I should register fart.io for this
        fartscroll(400);
    
        // Dammit, fart.io is taken
        fartscroll(600);
    
        // Alright, that's probably enough examples
        fartscroll(400);
        

Other ways to experience fartscroll.js:


留言

本月最夯

偷用電腦,怎知?事件檢視器全記錄!(開機時間、啟動項時間...)