hypothetical/resources/assets/js/site-vars.js

4 lines
104 B
JavaScript

var SiteVars = {
page: location.href.replace(/https*:\/\/[^\/]*\//, '').replace(/(#|\?).*/, '')
};