August 01, 2011

Simple javascript tricks for Opera Mini

Now, I'll try to give simple tricks for Opera Mini, so it can be used to View Source Code of Web Page and Selecting all text on Opened Web Page

Bookmark these two code:

1. Source Code Viewer:

javascript:document.write(document.all.tags('html')[0].outerHTML.replace(//gim,'>').replace(/\n/gim,'
'));



2. Select all text on Opened Page:

javascript:try{a=document.getElementsByTagName('script');for(b=0;b'+document.body.outerHTML.replace(/\n/gim,'').replace(/]+)>/
gim,'\n').replace(/
/gim,'\n').replace(/<([^>]+)>/gim,'')+'');



How to use?

Open a Web Page and after Web Page Opened, go to your Bookmarks and select your own desired javascript bookmarks

No comments: