eruda icon indicating copy to clipboard operation
eruda copied to clipboard

Please read

Open open-codebranch opened this issue 4 years ago • 5 comments

In order to try it for different sites, execute the script below on browser address bar.

I am not sure what you said here. Please show how to use this tool.

open-codebranch avatar Feb 17 '21 09:02 open-codebranch

It means: copy them, then paste it into browser's address bar. Finally press enter.

If everything is OK, then the script will load eruda and show it.

( However, it may not work due to the limit of the mobile browser. If this happens, please ask for a scripting extension for help. )

14725 avatar Feb 17 '21 10:02 14725

Did try it on chrome beta. But I get redirected to google serche.

Open site and depot all text in adressbar then place

​javascript:​(​function​ ​(​)​ ​{​ ​var​ ​script​ ​=​ ​document​.​createElement​(​'script'​)​;​ ​script​.​src​=​"//cdn.jsdelivr.net/npm/eruda"​;​ ​document​.​body​.​appendChild​(​script​)​;​ ​script​.​onload​ ​=​ ​function​ ​(​)​ ​{​ ​eruda​.​init​(​)​ ​}​ ​}​)​(​)​;

mullcom avatar Apr 16 '21 10:04 mullcom

... I do not use chrome beta, sorry. There are invisible space in your text, making the browser confused. It may help if you copy it from https://github.com/liriliri/eruda/edit/master/README.md.

In addition, if you use a mobile, the "text" is likely to fail anyway :-)

14725 avatar Apr 18 '21 11:04 14725

Doesn't work for me either...

https://eruda.liriliri.io/ has a console that comes up, but javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })(); does nothing (nothing visible, at least). 😢

Chrome 91.0.4472.120 Android 7.1.1; 9024W Build/NMF26F

ProphetZarquon avatar Jul 12 '21 05:07 ProphetZarquon

Chrome mobile will remove javascript: from the start of pasted text. You need to go to the start of the URL in the address bar and add it back. Alternatively, bookmark the javascript: URL and invoke the bookmark by typing the bookmark's name.

algorythmic avatar May 06 '22 02:05 algorythmic

This should be included in the README

Oreeeee avatar Nov 27 '22 18:11 Oreeeee