javascript - Injecting multiple files into bookmarklets -
at moment, using code here: http://benalman.com/projects/run-jquery-code-bookmarklet/ write bookmarklets jquery. now, jquery isn't enough , want include other libraries/css files, isn't prettiest example. there framework creating bookmarklets available anywhere?
what best way go creating bookmarklets ability inject multiple scripts/files? better alternatives?
is there framework creating bookmarklets available anywhere?
short: not.
long: not possible "no" , sure, because can know subject. can keep eye on subject of bookmarklets (you'll see of answers related), , i've not yet seen such thing. start imagine how 1 might created, - depending on goals - doubt effort wold worthwhile.
what best way go creating bookmarklets ability inject multiple scripts/files?
well, no matter what, need load things sequentially, requires using onload or similar state change events trigger next steps. depending on goals, might load files sequentially or async or combination. there number of solutions this, depends on needs , aesthetic sensibilities suitable. i'd start google search javascript lazy load js files
.
Comments
Post a Comment