By default, jQuery.smoothState.js will:
- Prevent links from triggering a full page load
- Update the user's URLs and history as to not break browsing expectations
- Use Ajax to request and cache on the user's device
By default, jQuery.smoothState.js will:
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>About - Document</title> | |
<script src="js/jquery-1.11.1.min.js"></script> | |
<script src="js/jquery.smoothState.js"></script> | |
<script src="js/scripts.js"></script> | |
</head> | |
<body> |
Mock of an idea for a map generator for an isometric game.
A Pen by Miguel Ángel Pérez on CodePen.
// Run in console while a boost is active. | |
var autoVisitMatches = function(){ | |
jQuery('#spotlight .thumbs .match').each(function(){ | |
var match = jQuery(this), | |
url = match.attr('href'), | |
popup = window.open(url); | |
// Removes Matches I have already Opened | |
match.remove(); |
// Run this in your console on the match page | |
var count = 0, | |
repeat = 3, // total number of times the script will repeat | |
matchTolerance = 60; // match percent tolerance | |
// Master Loop | |
function cardLoop() { | |
console.log('Start Loop'); | |
count ++; |
Questions? Hit me up: @Tayokoart
Questions? Hit me up: @Tayokoart
Questions? Hit me up: @Tayokoart
Questions? Hit me up: @Tayokoart
Questions? Hit me up: @Tayokoart