Introduction
Import a console-like object to mobile web pages. Tap the bottom of this screen to see it at work.
How to use this web app in your mobile browser.
You will have to import the file for any webpage you visit, each time you visit and want to use this tool. (Note: you will not be able to get this to work on some sites, like Google or Facebook, whose security restrictions suppress the new script,)
To run the file, follow these quick 5 steps:
-
Copy the following (very long) line of code:
- Go to the webpage you want to work with.
- Clear the address bar, and paste the copied code into the address bar.
-
Type
javascript:
into the beginning of the address bar, including the colon (:) - leave no spaces anywhere! - Press GO.
How to use for your own development.
Download the mobile-browser-console.js file (or minified mobile-browser-console.min.js file) at https://github.com/tlong314/mobile-browser-console and store and reference locally.
By default the console will open when the page loads. Writing window.delayConsole = true;
in a script before calling in this file will prevent it from opening on page load.
You can then open it dynamically with createConsole();