https://bugzilla.wikimedia.org/show_bug.cgi?id=27488
--- Comment #18 from Nux <[email protected]> 2011-04-02 15:43:08 UTC --- (In reply to comment #17) > There's a big thing being overlooked here. > > The brilliance of dynamically loading modules after the startup script comes > in > is that dependencies are always and only handled on the client. This might work for extension developers. But in Wikipedia I get reports from users that some library was not ready when other scripts needed it and this differs in different browsers (see attached scripts and test results). >From user script developer side of view I would want a way to inject scripts before or after other scripts. Two or three types of scripts might be considered here - libraries which just must be ready before all other scripts (like JQuery and wikibits). - scripts changing interface to the point described e.g. in comment #9 (adding tabs, moving crucial elements etc). - scripts changing behavior (e.g. Popups). >From all of this scripts only Popupus should be in the footer. BTW. Interesting thing I've found in testing is that doc.write doesn't work in Chrome if the script was attached dynamically (e.g. with importScript). -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
