diff --git a/LAB.src.js b/LAB.src.js index 99807cd..7ff05dc 100644 --- a/LAB.src.js +++ b/LAB.src.js @@ -16,7 +16,7 @@ // stateless variables used across all $LAB instances root_page = /^[^?#]*\//.exec(location.href)[0], - root_domain = /^\w+\:\/\/\/?[^\/]+/.exec(root_page)[0], + root_domain = /^[a-z][\w\+-\/]+\:\/\/\/?[^\/]+/.exec(root_page)[0], append_to = document.head || document.getElementsByTagName("head"), // inferences... ick, but still necessary