void injectJavaScript(string script)

Injects JavaScript into the current browser, or the main browser if called from a toolbar

Security

Trust Level Required: Low Trust

Parameters

Name Description
script string
The JavaScript to inject

Return

Nothing returned

Examples


KioBrowser.injectJavaScript('window.location="https://www.google.com/?q=KioWare";');

Requirements

KioWare OS (Linux®) version 1.0 or greater.


Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.