script.js
script.js copied to clipboard
.path can now be a Function and also changed regexp to include "//" as full path (sometimes we don't want to specify the protocol!)