Well late but here are the scripts I am currently using in my Opera:

Zoom Image: http://userjs.org/scripts/browser/enhancements/zoom-image
(Zoome In and Out Buttons on image hover. Useful in many occassions.)

Google Image Frame Bypasser: http://userjs.org/scripts/site/enhancements/googleimages-thumblink
(This script seemed to be outdated and wasn’t displaying the “See Context” link. Though I fixed it myself :D)

Opera input suggestion: http://userjs.org/scripts/browser/enhancements/ops

XML Tree: http://userjs.org/scripts/general/developer_tools/xml-tree
(Recently while working on Opera I needed to open IE to view XML files as IE renders them beautifully in form of a tree. Well, I don’t need to switch anymore.)

OSpell: http://my.opera.com/community/forums/topic.dml?id=182282
(Opera Spell Checker)

Snap Links – Open multiple links by drawing a box around links: http://my.opera.com/community/forums/topic.dml?id=206662
(This is one of the coolest userJS I’ve found.)

All-In-One Video Script: http://1024k.de/bookmarklets/video-bookmarklets.html
(Presents a direct link to YouTube videos)

Advertisements
Comments
  1. steve says:

    Hello — I’d be interested in knowing the changes you made in the Google Image Frame Bypasser script to make it work, because I’m experiencing the same problem with the “see context” link. Was it just a matter of modifying a single line or two of the code? Thanks in advance! –steve

    • Basit Ali says:

      Ohhk I don’t actually remember what I changed :p but this is what my .js file looks like. Am sure that no more than a couple of lines were modified.

      if (window.location.hostname.match(/^images\.google/) && window.location.pathname == "/images") {
      document.addEventListener("load",
      function(ev) {
      var ilnk = new Array();
      var alnk = document.getElementsByTagName("a");
      for (var x = alnk.length - 1; x >= 0; x--) {
      if (alnk[x].href.match(/imgurl=/)) {
      ilnk[ilnk.length] = unescape(alnk[x].href.replace(/.*?imgrefurl=(.*?)&h.*/gi, "$1"));
      alnk[x].title = unescape(alnk[x].href.replace(/.*?\/([^/]*?)&imgrefurl.*/gi, "$1"));
      alnk[x].href = unescape(alnk[x].href.replace(/.*?imgurl=(.*?)&imgrefurl.*/gi, "$1"));
      }
      }

      var atds = document.getElementsByTagName("td");
      for (var x = atds.length - 1; x >= 0; x--) {
      if ( atds[x].id.substring(0,9) == "tDataText" ) {
      var tfnt = atds[x].getElementsByTagName("font");
      var tdom = tfnt[1].innerHTML;
      tfnt[1].outerHTML = "";
      var tsiz = tfnt[0].innerHTML;
      tfnt[0].outerHTML = "" + tdom + "" + tsiz + "";
      }
      }
      }
      , false);
      }

  2. steve says:

    Thanks man! Unfortunately I was unable to get it to work. The page loads the same as if there were no userscript at all. Have you tried using your new script within the past week or so? Google seems to have made some changes around that time. Maybe a small portion of the complete code was inadvertently left out above?

    • Basit Ali says:

      Oops don’t remember the last time I googled for an image :P. But thanks for commenting as the script was really not working. Though some more editing made it work again :D.

      if (window.location.hostname.match(/^images\.google/) && window.location.pathname == "/images") {
      document.addEventListener("load",
      function(ev) {
      var ilnk = new Array();
      var alnk = document.getElementsByTagName("a");
      for (var x = alnk.length - 1; x >= 0; x--) {
      if (alnk[x].href.match(/imgurl=/)) {
      ilnk[ilnk.length] = alnk[x].href;
      alnk[x].title = unescape(alnk[x].href.replace(/.*?\/([^/]*?)&imgrefurl.*/gi, "$1"));
      alnk[x].href = unescape(alnk[x].href.replace(/.*?imgurl=(.*?)&imgrefurl.*/gi, "$1"));
      }
      }

      var atds = document.getElementsByTagName("td");
      for (var x = atds.length - 1; x >= 0; x--) {
      if ( atds[x].id.substring(0,9) == "tDataText" ) {
      var tfnt = atds[x].getElementsByTagName("font");
      var tspan = tfnt[0].getElementsByTagName("span");
      var tspantext = tspan[0].innerHTML;
      tspan[0].innerHTML = "" + tspantext + "";
      }
      }
      }
      , false);
      }

      This is the complete script code. And all credit for the original script goes to GreyWyvern as mentioned in the original script file.

  3. steve says:

    Argggg! Still doesn’t work for me. The page again displays the way it would if there were no script at all. Maybe I’m doing something wrong. I’m just highlighting, then copying and pasting the above text into a file named basitali.js which I’m then pointing to in my site preferences for google images. I’d be interested in knowing whether anyone else was able to get it to work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s