Skip to content

Instantly share code, notes, and snippets.

View WebKieth's full-sized avatar
:octocat:
Open source in progress

BeJoy WebKieth

:octocat:
Open source in progress
  • Litota
  • Sevastopol
View GitHub Profile
@luruke
luruke / smashingmagazine.js
Last active January 17, 2025 09:55
Source code of the demo "Improving User Flow Through Page Transitions" on Smashing Magazine.
/*
https://www.smashingmagazine.com/2016/07/improving-user-flow-through-page-transitions/
You can copy paste this code in your console on smashingmagazine.com
in order to have cross-fade transition when change page.
*/
var cache = {};
function loadPage(url) {
if (cache[url]) {