Open VeeeneX opened 9 years ago
The problem is in def.website = decode_url_by_hash + ".html";, modern pages usually doesn't have .html extension.
def.website = decode_url_by_hash + ".html";
.html
if(decode_url_by_hash != loc){ def.website = decode_url_by_hash + ".html"; def.websiteHeadline = websites_headline_names[def.website]; }
Nice post! Will be in update!
var decode_url_by_hash = loc.split("#")[loc.split("#").length-1]; Should be replaced with: var hash = window.location.hash;
var decode_url_by_hash = loc.split("#")[loc.split("#").length-1];
var hash = window.location.hash;
The problem is in
def.website = decode_url_by_hash + ".html";
, modern pages usually doesn't have.html
extension.