JSFiddle

  • Giải mã JavaScript #18 is the latest revision

    javascript unpacker, deobfuscate, decode, unminify, beautify

    // by Zzbaivong - https://baivong.github.io
    // https://baivong.github.io/de4js/
    
    (function() {
    
      function format() {
        var source = output.value;
    
        if (beautify ...
  • js-epub-maker demo #10 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    /* global EpubMaker */
    'use strict';
    
    window.runTest = function() {
    
      var epubMaker = new EpubMaker()
        .withUuid('github.com/baivong/Userscript::truyenfull::van-co-chi-ton')
        .withTemplate('idpf-wasteland ...
  • Fake result on Random.Org #4 is the latest revision

    by Zzbaivong

    // https://gist.github.com/baivong/519be990ba6a092265d06cc95935bb56
    /* 
    (function() {
    
        if (location.href !== 'https://www.random.org/') {
            var checkHost = confirm("Bookmarklet doesn't ...
  • Facebook post loading example #22 is the latest revision

    No-Library (pure JS), HTML, CSS, JavaScript

    <!-- 
    Author:
    http://cloudcannon.com/deconstructions/2014/11/15/facebook-content-placeholder-deconstruction.html
    
    Fiddle was created for
    http://stackoverflow.com/questions/32228135/how-to-create-a-facebook-post-animation-using-css/38768897
    -->
    <div class="timeline-wrapper">
        <div class="timeline-item">
            <div class="animated-background">
                <div class="background-masker header-top"></div>
                <div class="background-masker header-left"></div>
                <div class="background-masker header-right"></div>
                <div class="background-masker header-bottom"></div>
                <div class="background-masker subheader-left"></div>
                <div class="background-masker subheader-right"></div>
                <div class="background-masker subheader-bottom"></div>
                <div class="background-masker content-top"></div>
                <div class="background-masker content-first-end"></div>
                <div class="background-masker content-second-line"></div>
                <div class="background-masker content-second-end"></div>
                <div class="background-masker content-third-line"></div>
                <div class="background-masker content-third-end"></div>
            </div>
        </div>
    </div>
  • Centering in CSS

    No-Library (pure JS), HTML, CSS, JavaScript

    <div class="wrapper">
      <div class="element"></div>
    </div>
    <p>
      <a href="https://css-tricks.com/centering-css-complete-guide/">Read more...</a>
    </p>
    
  • Giphy player

    jQuery 3.1.0, HTML, CSS, JavaScript

    // Zzbaivong - baivong.github.io
    
    jQuery(function() {
      'use strict';
    
      // <img src="http://media0.giphy.com/media/3o85xDLykdEKaUjaI8/giphy.gif" alt="" />
      var $giphyImg = $('.post-entry img[src*=".giphy.com/media/"][src$="giphy.gif"]');
    
      // Giphy ...
  • Broken image checker

    jQuery 1.9.1, HTML, CSS, JavaScript

    $("img").on("error", function() {
      $(this).attr({
        alt: this.src,
        src: "http://i.imgur.com/LC55jpd.jpg"
      });
    });
    
  • Auto Mục tiêu cuối

    Tự quay và nhận quà Mục tiêu cuối - VTCgame Đột kích

    /*!
     *  Auto Mục Tiêu Cuối - v1.2.130916
     *  Tự động quay và nhận quà tại http://muctieu.vtcgame.vn
     *  https://baivong ...
  • Back to top

    jQuery 3.1.0, HTML, SCSS, JavaScript

    // Zzbaivong - baivong.github.io
    
    (function($) {
      'use strict';
    
      // https://davidwalsh.name/javascript-debounce-function
      function debounce(func, wait, immediate) {
        var timeout;
        return function ...
  • Userscript popup blocker

    Tester

    // https://github.com/baivong/Userscript/tree/master/popup_blocker
    
    var log = document.getElementById('log'),
      $link = $('#jQuery'),
      $linkNew = $('#jQuery_new'),
      link = document.getElementById ...