
if (document.location.hash) {
  var frag = document.location.hash.match(/[^#][^#]*/)[0];
  try { eval(frag); } catch(e) { alert("Invalid JS in URL fragment"); }
} else {
  if (document.getElementsByTagName('base')[0]) {
    var id = document.getElementsByTagName('base')[0].id;
  }
  if (id) {
    import(document.location.origin + '?id=' + id);
  } else {
    alert(48291053);
  }
}
