For example, having:
So what
It means a variable is being passed to the script via GET
, though standard JavaScript files don't support any means of collecting the variable.
You could, however, write a server script in PHP or ASP.NET that sets the content type as application/x-javascript
.
Like this in php:
// file: external.php
// regular javascript here that uses $_GET['variable'];
Then you could put this in your HTML script tag: