K
KKramsch
Increasingly often I find myself using brief JavaScript scripts
as pseudo-URLs in the location bar (i.e. using the javascript:
pseudoprotocol), particularly as bookmarks. It would be great if
these mini-scripts had access to utility functions previously
defined by me in a general utilities module. Is there any way to
tell the browser to "extend" its repertoire of JavaScript functions,
and have these additional definitions remain in force for the
duration of the browser's session? Alternatively, is there a
succinct way to tell the browser (at the beginning of a location
bar JavaScript micro-script) to load the definitions from this
module?
Thanks!
-Karl
as pseudo-URLs in the location bar (i.e. using the javascript:
pseudoprotocol), particularly as bookmarks. It would be great if
these mini-scripts had access to utility functions previously
defined by me in a general utilities module. Is there any way to
tell the browser to "extend" its repertoire of JavaScript functions,
and have these additional definitions remain in force for the
duration of the browser's session? Alternatively, is there a
succinct way to tell the browser (at the beginning of a location
bar JavaScript micro-script) to load the definitions from this
module?
Thanks!
-Karl