Here I see two solutions.
First: you can process these GET parameters on the server hosting twitter.js so that it dynamically changes the js file. For example, the file:
var handle = {{ handle }};
And your server is somehow processing the file, replacing this twitter.js template file depending on what request was sent.
The second option is to set global variables on the page where the .js twitter is loaded, for example:
<script type="text/javascript"> window.twitter_js_handle = 'aplusk'; </script> <script type="text/javascript" src="http://domain.com/twitter.js" />
And on twitter.js:
var handle = window.twitter_js_handle || null;
source share