LDRize Mibuffer load-script command

By ku Last update Dec 10, 2007 — Installed 96 times.


Script Summary: Add load-script command to Minibuffer which creates script tag to load specified script into arbitrary page.

This scripts helps loading certain javascript file into arbitrary page to debugging purpose. This "load-script" command creates script element and append it to the page you invoked this command. For example, you execute following command in Minibuffer


load-script http://localhost/js/MochiKit.js

you get MochiKit functions in the page even if the page is not using MochiKit.