Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Enter this on your index.html just before end <body> tag
<script type="text/javascript">
$(document).ready(function() {
var hash = window.location.hash.replace(/^[#\/]*/, '');
var request = hash.split('/', 2);
var type = request[0];
var term = request[1];
if (type === "search"){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment