User:BakiDance/timeless.js

From Drawn to Life Wiki
< User:BakiDance
Revision as of 02:02, 23 June 2022 by BakiDance (talk | contribs) (Created page with "document.onreadystatechange = function () { // page fully load if (document.readyState == "complete") { // hide loader after 2 seconds setTimeout(function(){...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
You are viewing a page within the User namespace. These pages are typically designated for user-generated content, and should not be confused for canon.

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
document.onreadystatechange = function () {
  // page fully load
  if (document.readyState == "complete") {
    // hide loader after 2 seconds
    setTimeout(function(){ 
      document.getElementById('smooth-loader').style.display = 'none';
    }, 2000);
  }
}