Skip navigation.

Bits and Pieces

Opera tips, music, anime, my life experiences.

Page tools menu

, ,

Adds a menu of useful tools.


Step 1: Open your menu.ini and add this to the end of the file;
[User Tools Menu]
Item, "Text Ruler"="Go to page, "javascript:var isDrag=false;var ele='';var ele3=false;var currentEvent='';var leftStart=0;var topStart=0;var ele2=false;function setEvent(e){if(e) return e;if(event) return event;}function setTarget(e){if(e) return e.target;if(event) return event.srcElement;}function moveAndResize(e){if(isDrag){currentEvent=setEvent(e);ele.style.top=document.documentElement.scrollTop+(currentEvent.clientY-topStart)+'px';return false;}}function setElement(e){currentEvent=setEvent(e);ele=setTarget(e);if(ele==ele3){if(window.opera)document.getElementById('forOpera').focus();isDrag=true;topStart=document.documentElement.scrollTop+currentEvent.clientY-ele.offsetTop;return false;}else {drag=false}}(function(){if(!ele3){ele3=document.createElement('div');ele3.setAttribute('style','position:absolute;left:0;right:0;top:'+document.documentElement.scrollTop+'px;height:50px;z-index:9000;background-image:url(\'data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs%2B9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAABGdBTUEAALGeYUxB9wAAACBjSFJNAAB6JQAAgIMAAPoBAACA5gAAdTEAAOpcAAA6lwAAF25E0P0BAAAAQElEQVR42mJkYPivxkAEAAggJgYiAUAAEa0QIICIVggQQEQrBAggohUCBBDRCgECiGiFAAFEtEKAACJaIUCAAQDjWgE5f4XJtQAAAABJRU5ErkJggg%3D%3D\');');document.body.insertBefore(ele3,document.body.firstChild);if(window.opera){var ele5=document.createElement('div');ele5.innerHTML='<input type=\'text\' id=\'forOpera\' style=\'height:0;width:0;overflow:hidden;\' />';ele3.appendChild(ele5);};}document.onmousemove=moveAndResize;document.onmousedown=setElement;document.onmouseup=function (){isDrag=false;};})()",,,"ruler""
;Item, 67672="Manage, "notes",,,"note"
---1
Item, "Search This Site"="Go to page, "javascript:var t=window.location.hostname;var s=prompt('Google site search - enter search string:','');if(s)void(location.href='http://www.google.com/search?q=site:'+t+'+'+s+'&sourceid=opera')", 1, "Search site", "Search Web""
---2
Item, "BugMeNot"="Go to page, "http://www.bugmenot.com/view.php?mode=bookmarklet&url=%u",,,"bugmenot""
---3
Item, "Cached Page"=Go to page, "http://www.google.com/search?sourceid=opera&q=cache:%u",,,"Google
Item, "Wayback Machine"=Go to page, "http://web.archive.org/web/*/%u",,,"wbm
---4
Item, "Make a TinyURL"="Go to page, "http://tinyurl.com/create.php?url=%u",,,"tinyurl""
---5
Item, "Convert with Zamzar"=Go to page, "javascript:(function(){var scriptElem = document.createElement('SCRIPT');scriptElem.setAttribute('language', 'JavaScript');scriptElem.setAttribute('src', 'http://www.zamzar.com/tools/bookmarklets/converter.js');document.body.appendChild(scriptElem);})()", , , "zamzar""
---6
Item, "Download Video"="Go to page, "http://videodownloader.net/get/?url=%u",,,"Attachment Video""
Item, "Download All"="Focus panel, "Links", , ,"Panel Links""
Item, "View Images"="Go to page, "javascript:(function(){var win=open('','images','toolbar=no,width=450,height=500'),doc=win.document;var i=document.images,iX=0,curr,o={};while(curr=i[iX++]){ if(o[curr.src])continue;im=doc.createElement('image');im.src=curr.src;im.title=curr.title;im.alt=curr.alt;im.style='margin:2px;border:1px solid #dedede';if(curr.offsetWidth&&curr.offsetHeight){im.width=curr.clientWidth;im.height=curr.clientHeight;};im.onclick=function(){open(this.src,'imprev','toolbar=no,width='+(this.clientWidth)+',height='+(this.clientHeight)) };doc.body.appendChild(im);o[curr.src]=1}})()",,,"Attachment Images""
---7
Item, "Upload Images"="Go to page, "javascript:(function(){var bar = document.getElementById('newuploadt00lbar');if(bar){bar.parentNode.removeChild(bar);return}; var toolbar = document.createElement('div');toolbar.setAttribute('style','position:fixed;right:0;bottom:0;font:14px Times New Roman;background: -o-skin(\'Window Skin\');border:1px solid;padding: 10px;');toolbar.id='newuploadt00lbar';toolbar.innerHTML='<a href=\'http://www.imageshack.us\' target=\'_blank\'>Imageshack.us</a><form action=\'http://www.imageshack.us/index.php\' method=\'post\' target=\'_blank\' enctype=\'multipart/form-data\'><input type=\'hidden\' value=\'1048576\' name=\'MAX_FILE_SIZE\' /><input type=\'hidden\' value=\'blank\' name=\'type\' /><input type=\'file\' name=\'fileupload\' /><input name=\'submit\' type=\'submit\' value=\'Upload \' /></form><a href=\'http://www.rapidshare.com\' target=\'_blank\'>Rapidshare.com</a><form action=\'http://rs3l3.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=142773989068418119\' method=\'post\' target=\'_blank\' enctype=\'multipart/form-data\' name=\'ul\' id=\'ul\'><input type=\'file\' name=\'filecontent\' /><input type=\'submit\' name=\'u\' value=\'Upload \' /></form>';toolbar.childNodes[0].setAttribute('style','text-decoration: none; color: #0000cc');toolbar.childNodes[2].setAttribute('style','text-decoration: none; color: #0000cc');toolbar.childNodes[1].setAttribute('style','margin:5px;');toolbar.childNodes[3].setAttribute('style','margin:5px;');var clse=document.createElement('img');clse.title='Close';clse.setAttribute('style','position:absolute;right:2px;top:2px;background: -o-skin(\'Caption Close Button Skin\');margin: 1px; width: 18px; height: 18px;');clse.addEventListener('click',function(){toolbar.parentNode.removeChild(toolbar)},false);toolbar.appendChild(clse);document.documentElement.appendChild(toolbar);})()", , , "Upload Button""


Step 2: Add this button to your toolbar. button

Step 3: Restart Opera.

OPTIONAL: Replace;
Item, "BugMeNot"="Go to page, "http://www.bugmenot.com/view.php?mode=bookmarklet&url=%u",,,"bugmenot""

with;
Item, "BugMeNot"="Go to page, "javascript:if(!window.MinFunc){alert('Script is not installed !!')}else{MinFunc({altKey:0,shiftKey:1,ctrlKey:1})}",,,"bugmenot""

and use AyushJ's BugMeNot UserJS from here

My ad blocking urlfilter.iniAnonymizers

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies