How to shorten URLs directly in Opera

Back, in October, I wrote a blog post detailing how to shorten URLs using the Opera address bar. I use Twitter, and most of the time I use the Twitter Opera widget to do it. (Here is the newer version of the widget.) The widget will shorten URLs for you, but you have to be inside of the 140 character max or the “tweet” button is grayed out.

In that case, you must shorten the URL yourself before tweeting, which is a pain. Your next step will be to browse to a site like tinyurl.com, shorten your URL, then paste it back into your Twitter client. This can be a pain. And now there’s a better way!

Method 1: Shorten URLs via the Opera address bar using custom search

It’s easy to create a custom search in Opera. But here I prove you can use it for more than searching! Create a custom search that posts to http://is.gd/create.php using URL=%s as your query string. Click OK, and you can now create a shortened URL directly from the Opera address bar by typing u <URL> and hitting Enter, assuming you used “u” as the shortcut key.

Here is my original blog post with more detailed instructions:

http://my.opera.com/BAMAToNE/blog/2009/10/04/how-to-shorten-urls-from-the-opera-address-bar

Method 2: Shorten URLs via custom Opera button

After my blog post became famous (thanks, Espen!), Opera Community member mistressEVIL furthered my idea and showed us a way to shorten URLs using a custom button. I think it’s a great idea because not everyone is comfortable customizing Opera the way I have shown. But using a custom button is easy because it just takes a click. :)

Here is mistressEVIL’s blog post with more detailed instructions on how to create custom buttons:

http://my.opera.com/missevilat/blog/2010/01/15/shorten-url-with-a-button

On this first day of 2010, Opera Software has been kind enough to not only release a Unix version of Opera 10.5 for those Unix/Linux users who missed out, but they also updated the Windows and Mac versions. This has filled me with great joy, as I have been almost breathlessly waiting for the new Qt-less Unix release, and have been very much wanting an updated Windows release as well.

At first glance, the new Windows version still suffers from a few of the same issues, such as not be able to right-click and insert notes. Granted I didn’t expect them to fix many of the issues that fast, especially since they gave us some new features in this build…

What makes this new Unix build special?

The engine changes in the Windows version (Carakan) are in the Unix version as well, so one may be wondering why it merits it’s own announcement, and why it took so much longer to get it ready than the Windows and Mac versions. The answer to this is simple: It no longer relies on Qt. That’s right, it’s now completely graphical toolkit independent (as some of us have been dreaming for years).

On top of that, it will attempt to load your GTK+ theme for it’s user interface, allowing at least the appearance of being integrated into the platform. Sadly, loading KDE4/Qt4 themes is not yet stable enough, and will not be in the pre-alpha release. Also, not all of the UI elements conform to their GTK specifications in this pre-alpha, so don’t expect it to be perfect. Nevertheless, this is most certainly a step in the right direction. Not that I dislike Qt, but it never really worked will with Opera, even when you were using KDE.

Another new feature is support for the video HTML element. You will need to have some gstreamer plugins installed for this to work properly. On most Linux distros, they refer to these plugins as gstreamer ‘base’ plugins. Here are a a few links to working video element examples that some of you may remember – Example 1Example 2Example 3Example 4Example 5.

One important thing to bear in mind is that some features, such as printing and drag-and-drop, don’t work. Seriously, this is a pre-alpha. What did you expect? Perfectly polished chrome when it hasn’t made it off of the assembly line yet? Don’t even bother trying this pre-alpha if all you are going to do is throw a fit at the developers because some feature you like/need/want/whatever isn’t working as you expect. They spent a lot of time getting this thing working so that you would have a new toy to play with, so at least act like you appreciate it.

To wrap up the Unix explanation, I’ll just be lazy and quote the Desktop Team Blog:

Because this is a pre-alpha release, we don’t recommend you to install it over your existing Opera installation. This is why we are releasing only non-installable tarballs instead of installable packages. To run Opera, extract the tarball and run ‘./opera’ from the main directory.

You can download the Unix build here.

What changes are there in the Windows/Mac builds?

The developer blog post didn’t mention a lot of changes in this build for Windows and Mac. The main change on Windows is the addition of video element support, but this is not yet in the Mac version. They also mentioned that there were a small number of improvements that should help with stability, and less crashing is always good.

Check out the official blog post for the download links.

Opera 10.5 – Faster JavaScript? New Features?

First let me apologize to everyone for how dead OperaWatch has been lately. It’s been a long time since anyone has posted anything, and we’ve considered declaring it dead a few times. For those of you who still haven’t deleted the RSS feed, or who still drop by every now and then to see if we really are dead, then here is a quick overview of Opera 10.5:

Opera Software announced today a pre-alpha of Opera 10.5, with promises of more speed, and new/updated features. Here’s a rundown of what’s new, as is stated on the Opera Labs blog:

On the inside:

  • Carakan: The new JavaScript engine that has been in development, with promises of up to 7 times better performance in the SunSpider benchmark than with Opera 10.10 (depending on your hardware and software configuration, of course).
  • Presto 2.5: The latest and greatest update to the Presto layout engine that Opera uses, which contains a huge amount of improvements. It also incluses support for CSS3 transitions and transforms, as well as more HTML5 features (such as persistent storage).
  • Vega: Opera’s new Vector Graphics Library. While Vega can be hardware accelerated, right now it is only doing software rendering, which apparently does not hurt it’s benchmark scores on Peacekeeper (although it is important to note that Futuremark’s Peacekeeper does not currently include the results of their complex graphics tests in the overall score).

On the outside:

  • Platform integration: On Windows 7/Vista, those of us with Areo enabled will now see Opera using the Areo interface, with the pretty transluceny. On MacOS, a complete rewrite in Cocoa brings a more Mac-like interface such as Unified Toolbar, native buttons and scrollbars, multi-touch gestures, and various other smaller improvements.
  • “Private tab” and “Private window”: Not only can you open a private window that forgets everything (history, cahce, etc) once it’s closed, but you can also do it with individual tabs.
  • Non-modal dialogs: What was formerly dialog boxes that wouldn’t allow you to click in the browser window and continue working are now overlays, similar to the way other browsers do it (although I feel it fits the interface better, and looks nicer). Now you can click the button at your liesure, and do whatever else you were planning on doing before you come back to it.
  • Address field and Search field improvements: Not only has the layout of the search and address bar suggestions been changed a bit, but new features have been added that allow you to remove items from history and even set searches to be remembered.

With all of these interesting improvements, we are left with a few questions. Firstly, just how much faster is the JavaScript engine compared to other browsers? How stable is this pre-alpha? Is site compatibility broken with both an updated Presto engine, and the new Carakan engine both in the same pre-alpha? Does Opera still pass Acid3?

Well, I took the liberty of hitting a couple of online benchmarks just to see what would happen. I did not do a proper series of tests, so don’t expect your own results to be the same, this was just a quick run to get an idea of where the new pre-alpha stands.

I ran Peacekeeper in Opera 10.5, SRWare Iron 3.0.197.0 (22047) (which is a somewhat faster version of Google Chrome), 64-bit Minefield 3.7a1 pre-alpha built on November 16th of 2009 (development build of Firefox in 64-bit which is more efficient on 64-bit operating systems), and Internet Explorer 8 with all updates applied. The operating system was Windows 7 Professional x64. The platform was VMware Player 3 with 1.5GB of RAM allocated to the guest operating system. The host operating system was running Windows 7 Professional x64, and the host computer has an AMD 64 FX-60 (socket 939) processor with 4GB of DDR RAM. The only resident software was VMware Tools (no anti-virus, no anti-spyware, no anti-malware, and nothing else running). Note that the JSBenchmark tests were run in the host operating system, using the same browser versions.

Below are the screenshots, but before you look at them, please note that your results will be different. I did not do a proper set of benchmarks, and these should not be used as definitive test results. Tests need to be run at least 10 times and the averages compared, and the files need to be loaded from your own hard drive and not run live off of the Internet. I did not do either of these, and thus the results of the tests are probably not entirely accurate.

Tests used: Futuremark’s Peacekeeper and JSBenchmark. Please have some fun, and run these tests yourself.

Browser Tests Results - Peacekeeper

Opera 10.5 on JSBenchmark

SRWare Iron 3.0.197.0 on JSBenchmark

Internet Explorer 8 on JSBenchmark

At first glance, Opera seems to do better in one test, and not as good in the other. And yes, I did neglect installing Minefield 3.7a1 for the JSBenchmark test. I really only cared about whether or not Opera beat SRWare Iron, and of course I had to have Internet Explorer for reference.

As far as stability, so far Opera 10.5 has been fairly stable. Unfortunately it did crash once on me while I was getting close to finishing this article. Oh well, such is the bane of pre-alpha software. Other than that one crash, I have gone the rest of the day without problems of any kind.

For those of you who want more information, more screenshots, and a download please head over to Opera Labs and the Desktop Team Blog.

Opera is planning on releasing a new, hmm… how should I put it, well let’s just say that Opera is about to announce something really cool on June 16th.

The company is framing this new ‘thing’ as ‘Reinventing the Web.’ I’m excited about it; it definitely has the potential to be a game changer (for some).

Opera’s hint: We start our little story with the invention of the modern day computer. Over the years, the computers grew in numbers, and the next natural step in the evolution was …

www.opera.com/freedom

There are several ways to open multiple web pages.

  • Bookmarking web pages to a folder, navigating to folder from bookmarks menu and clicking Open All Folder Items.
  • Bookmarking web pages to a folder, giving nickname to folder and entering nickname in address field or setting nickname as home page in Tools > Preferences… > General > Home page.
  • Opening web pages, saving them as session File > Sessions > Save This Session… and opening it File > Sessions.

The advantage of sessions over bookmarks is it can store several settings (zoom, fit to width, images, etc.) per tab.

Sessions can be opened quickly by assigning it to a Speed Dial slot.

  • Open web pages.
  • Save them as session File > Sessions > Save This Session….
  • Assign it to a Speed Dial slot.

The path to session file should not contain space. If path has space use DOS name. To find DOS name of a directory/file, open Command Prompt, change path to parent directory of directory/file and type the following command.

dir /x

Command Prompt to find DOS name
Command Prompt to find DOS name

Directory name DOS name
Program Files PROGRA~1
Documents and Settings DOCUME~1
Application Data APPLIC~1

Opera Speed Dial dialog with path to session file
Speed Dial edit dialog with path to session file

Note the WIN extension at the end of the session name.

Opera Speed Dial with session
Speed Dial with session

Opera will show above thumbnail but you can replace it with any image.

[Eric J. Goers via forums]

Opera’s homepage cracks me up

I had a nice laugh this morning when I popped open www.opera.com — A 90’s website to celebrate the 15 year anniversary of the Opera desktop browser. Nice.

opera-homepage
A screenshot of www.opera.com on April 28th, 2009

The height of toolbars in current default skin is large compared to previous default skin and it can be reduced to increase browsing space.

Create a backup of your current skin# or the skin you want to change the height of toolbars.

  1. Extract skin.ini from zipped skin file.
  2. Reduce the values of Padding Top and Padding Bottom under the sections mentioned in the following table. You can also specify negative values.
    Toolbar Section
    Menu bar [Menu Button Skin]
    Main bar [Mainbar Skin]
    Personal bar [Personalbar Skin]
    Tab bar [Pagebar Button Skin]
    Address bar [Addressbar Skin]
    Navigation bar [Navigationbar Skin]
    View bar [Viewbar Skin]
    Status bar [Statusbar Skin]
  3. Update skin.ini in zipped skin file. You can’t update an active skin.
  4. Activate modified skin from Tools > Appearance… > Skin.

See Opera Skinning article to know more about basics of skinning Opera.

# To see path to current skin file, select opera:config#Button%20Set and click go to web address from right click menu.

Opera is going to relaunch affiliate program

If you remember, an affiliate program was launched by Opera Software along with Opera 8 release on April 19, 2005 to give registration key upon 250 unique referrals. Opera Software is going to relaunch it soon to promote Opera. Stay tuned for more information.


Affiliate program link in My account page


Affiliate program page


Top affiliates page

You have to use the new affiliate link as shown below (replace operawatch with your My Opera username).

http://my.opera.com/community/download.pl?ref=operawatch&p=opera_desktop

Also, affiliate counter will be reset to make sure everyone starts off at the same level and you can replace existing Opera banner in your My Opera page with any banner as shown here.

Opera Mobile 9.7 with Opera Turbo

Opera Software announced upcoming release of Opera Mobile 9.7 Beta for Windows Mobile touchscreen devices with the following great features.

  • Improved rendering engine (Presto 2.2).
  • Opera Turbo.
  • Improved Widget Manager.
  • Gears support.
  • Hardware acceleration with OpenGL ES support.

Also, some of the major issues with the 9.51 Beta is fixed.

  • Installation on storage card is now possible, and the Beta happily coexists with preinstalled versions of Opera Mobile.
  • Better IME support.
  • Better performance and feedback when clicking links.

Watch Opera Mobile 9.7 with Opera Turbo video.

Opera version history

Recently, Apple made a lot of misleading and false accusations with the release of Safari 4 beta and this created controversy in forums, blogs and magazines (translated version).

Most of the Opera users know that Opera has a long (and glorious) history of browser innovation. However, the “outside world” needs to know – especially those who like to claim that they were first with something.

Therefore, Opera Software Documentation team has created a very comprehensive and easy-to-use history of Opera’s desktop versions with release dates, release types, rendering engines, JavaScript engines, and features in major releases.

See it here.

[via Espen André Øverdahl]

Opera Turbo now available for time limited testing

Recently, Opera Labs started the time limited test phase for Opera Turbo.

Opera Turbo is a server-side optimization and compression technology similar to Opera Mini that provides significant improvements in browsing speeds over limited-bandwidth connections by compressing network traffic. This does not only make you surf faster, but also lowers the cost of browsing when you are on a pay per usage plan.

  • Opera Turbo can be easily turned on/off by clicking the Opera Turbo button in status bar. When turned on, Opera Turbo will display the average compression rate and the amount of bandwidth saved will be shown in a tooltip when Opera Turbo button is hovered.

    Opera Turbo button

  • Opera Turbo will work with any type of connection, but to get the most out of it you should be on a situation with limited bandwidth. On a fast network the main reason to avoid Turbo would be reduced speed due to sending data via a proxy and the reduced image quality.
  • Opera Turbo doesn’t change the Web site but image resolution may appear considerably lower as a result of the compression. Dynamic Web technologies such as Ajax and Flash are supported, but some plugin content will load only after clicking on the empty element.
  • Even when Turbo is enabled, encrypted traffic does not go through compression servers.

Opera Turbo demo

Download Opera Turbo

Useful User JavaScripts for Opera

User JavaScript is a powerful tool and it can be used for many purposes, including:

  • Fixing broken scripts on Web pages. Opera uses browser.js to automatically fix incompatible Web pages, out of date scripts, and pages that inadvertently block Opera.
  • Enhancing Web pages by changing or adding your own content to the page.

Installing/Uninstalling User JavaScripts

If you don’t have UserJS directory, create a directory with name userjs (preferably inside profile directory) and enter path to it in Tools > Preferences… > Advanced > Content > JavaScript Options… > User JavaScript files

Path to Opera User JavaScript directory
Path to User JavaScript files

  • To install, place User JavaScript file (*.js or *.user.js) inside User JavaScript directory.
  • To uninstall, remove corresponding User JavaScript file from User JavaScript directory.
  • To disable, change corresponding User JavaScript file extension from *.js to *.js.x

You can also use UserJS Manager for Opera to perform above actions.

Download

Download all the following User JavaScripts in a single zip file, unzip and place it inside User JavaScript directory.

  1. Autosizer
  2. Breadcrumb URL
  3. Clean URI
  4. Cooliris alike
  5. Gallery crawler
  6. Get feed link
  7. Image thumb
  8. Link alert
  9. Power drag
  10. Linkify URL
  11. View Selection Source
  12. Ultimate Search Highlighter

Useful User JavaScripts

  1. Autosizer
    Autosizer will enhance image viewing in Opera by adding five different sizing modes to images: “Original”, “Shrink to Fit”, “Maximize”, “Fit to Width” and “Fit to Height”. “Shrink to Fit” is enabled by default. Simply click on the image to view in next mode or hold down Shift key while clicking to view in previous mode. Move cursor to top right corner to view the menu. See help for more information.

    Autosizer

  2. Breadcrumb URL
    Breadcrumb URL will place link to each directory of current URL at the top left corner of the page. Useful if you browse without address bar or browse in full screen mode.

    Breadcrumb URL

  3. Clean URI
    Clean URI will recognise links that use redirected URLs (example: http://www.google.com/url?q=http://winmerge.sourceforge.net/ ) and replace them with the direct URL.

    Clean URI

  4. Cooliris alike
    Similar to Cooliris extension for Firefox and helps to preview links without leaving current tab. Hold Ctrl key and hover any link to open preview window in top right corner of current tab. Size of preview window can be changed to 3 heights by clicking “Restore” icon.

    Cooliris Alike

  5. Gallery crawler
    Gallery crawler adds link to next and previous image so pictures numbered sequentially can be viewed without flipping through links, ads and poor page design.

    Gallery crawler

  6. Get feed link
    Get feed link will place feed icons at the top left corner of the page. Useful if you browse without address bar or browse in full screen mode or if you need feed link URL.

    Get Feed Link

  7. Image thumb
    Image thumb will show thumbnail in bottom left corner when you hover an image link. Hold Ctrl key to view in original size.

    Image Thumb

    This UserJS breaks functioning of autosizer UserJS.

  8. Link alert
    Link alert identifies links to specific file types, and displays an appropriate icon when the link is hovered.

    Link Alert

  9. Power drag
    Power drag will help you to resize textareas, select boxes, iframes, objects, images or input fields by holding Shift key and then dragging lower right corner of an item. Double click lower right corner to restore the original dimensions. You can enable the dragging corner always, or use another modifier key.

    Power Drag

  10. Linkify URL
    Linkify URL makes text http/https/ftp URLs clickable.

    Linkify URL

  11. View Selection Source
    View Selection Source allows you to see HTML source of any part of a page, it’s very useful for web developers. If you don’t know how to edit menu setup see this and add the following under [Hotclick Popup Menu].

    Item, "View selection source"="Go to page, "javascript:opera.getSelectionSource()""

    View Selection Source

  12. Ultimate Search Highlighter
    Ultimate Search Highlighter will show search bar at the top and can show number of search results, jump to next instance of highlighted term or previous (hold Shift key and click on term in toolbar) and supports RegExp highlighting. Move cursor to top to show search bar after timeout period. Get USH button or search field from here or create a search engine with the following.

    javascript:opera.USH.run(opera.USH.check='%s','newSearch');

    Ultimate Search Highlighter

Should Opera abandon the desktop?

According to Nate Lanxon at CNET UK, yep. I’m not going to quote the whole “article,” but here are my thoughts:

  1. A new Javascript engine is on its way from Opera. But even if it weren’t, who bases his or her choice of a web browser based upon Javascript speed benchmarks? Nobody I know. All that matters is real world results. (Haavard makes the same argument here.) That Safari or Chrome or Firefox may or may not load a given page .3087 seconds more quickly than Opera surely won’t be noticed by me.
  2. “[S]o I really don’t see what the Opera fans are clinging on to.” Obviously, Lanxon is not an everyday Opera user or the answer would be quite simple. For some, it’s Mouse Gestures (done right, without a buggy extension). For others, it’s enhanced keyboard navigation. (Spatial Navigation ftw!) Or maybe it’s the ability to synchronize bookmarks across multiple installations and platforms with Opera Link. Or maybe it’s the “full page zoom” feature that so many people for years said was dumb – that is, until Safari recently decided to include it. Or maybe it’s the ability to run custom Javascript and CSS on a per site basis. All of these things and more are included in Opera “out of the box.” They just work. And if your counter argument is “but that makes the browser all bloaty!” then explain to me how Opera’s installation exe file is 5.4 MB (4.8 MB for Classic Installer), while Firefox’s is 7.1 MB (before any extentions added!) and Safari 4 Beta’s is a whopping 25.5 MB!? (That’s without Quicktime bundled!)
  3. Look at the hot, new features of Safari 4 and tell me how many of them were Apple innovations. (Don’t quote from the Apple site – they lie. More on that here.) Opera innovates, and other companies incorporate those features into their browsers. This is not a bad thing. But Lanxon is forgetting that competition breeds innovation.
  4. Even Asa Dotzler, one of the faces of Firefox, knows it makes no sense for Opera to abandon the desktop.

    Opera’s desktop browser means millions and millions of desktop users logging hours and hours of testing and providing lots of feedback to the Opera team. That feedback allows them to keep their rendering engine, javascript engine, and other bits of the browser as functional as possible across as many Web sites and Web apps as possible. Take it away, and the Opera mobile efforts will slowly but surely fall behind the “one Web” as Opera calls it.

  5. And even if Opera were to concede it will never gain a significant foothold in desktop browser market share, why abandon software that saw a 117% increase in revenue from one year ago? Opera Software actually makes money at a time when many companies across the globe are hemorrhaging it.

So no, Mr. Lanxon. Opera will not abandon the desktop browser. Thanks for the advice, though.

Read Lanxon’s opinion here: http://reviews.cnet.co.uk/natelanxon/0,139102300,49301254,00.htm

See Opera’s Haavard respond here: http://my.opera.com/haavard/blog/2009/03/02/cnet-uk-opera-should-give-up-on-desktop-browsers

Entire text of Asa Dotzler’s response: http://weblogs.mozillazine.org/asa/archives/2009/02/opera_should_gi.html

Opera 9.64 update

Opera Software released Opera 9.64 today, which addresses several security issues and few minor improvements. This release is a recommended security update for all those running the previous stable releases.

Starting with this release, Opera on Windows supports the security measures Data Execution Prevention (DEP) (available in Windows XP SP2 and newer) and Address Space Layout Randomization (ASLR) (available in Vista and newer).

These security measures are a kind of second line of defence once an application runs into a serious fault, which would normally cause it to crash sooner or later.

Changelogs: Windows, Mac & Linux/UNIX

Download Opera 9.64

There was an interesting tidbit in Opera employee Haavard’s “State of the Opera” blog post this morning. Apparently, Opera Software CEO Jon von Tetzchner is considering an “end-user release” of Opera Turbo, which I blogged about earlier this month.

Opera Turbo uses Opera Mini’s compression technology and brings it to use for desktop users in a business environment, lowering costs while speeding up internet browsing. Many people who heard about Opera Turbo were disappointed that it would not be deployed for non-business users. It would be exciting if normal consumers were able to partake in this technology.

Other facts from Haavard’s “State of the Opera: Q4 2008:”

  • Total revenue up 69% since Q4 2007
  • Desktop revenue up 117% in Q4 2008 compared to Q4 2007
  • Desktop user count up 67% since the end of 2007, and 17% compared to Q3 2008
  • 20 million monthly Opera Mini users in January 2009, up over 160% compared to January 2008, and up from 17.6 million users in December 2008
  • Opera Mini data traffic up 350% in January 2009 compared to January 2008
  • Mobile/Device revenue up 56% since Q4 2007
  • Opera now has 675+ employees in 10 countries

See the details here: http://my.opera.com/haavard/blog/2009/02/27/q4-2008

If you want to search for same thing in different search engines, Search panel is convenient compared to integrated search field in address field.

When you add a search engine to the Search panel, Opera will add search field instead of a button. The problem with search field is you have to enter the search term again if you want to search for already entered search term in global search field. Search field can be converted in to a button easily.

  1. Add required search engine to the Search panel from Tools > Appearance… > Buttons > Search
  2. Open toolbar configuration# file and under [Search Panel Toolbar.content] replace SearchX, Y with ButtonX, “Search Engine Name”=Search, Y
  3. Activate modified toolbar setup from Tools > Preferences… > Advanced > Toolbars > Toolbar setup to see the changes.
Opera Search panel
Acronym Finder search field
Opera Search panel
Acronym Finder search button

Toolbar content before modification.

[Search Panel Toolbar.content]
Search0
Button1, "Google"=Search
Button2, "Ask"=Search, 1
Button3, "Yahoo!"=Search, 2
Button4, "Amazon.com"=Search, 3
Button5, "Wikipedia"=Search, 4
Button6, "Ebay.com"=Search, 5
Button7, "Yahoo!Shopping"=Search, 6
Button8, "BitTorrent"=Search, 7
Search9, 31

Toolbar content after modification.

[Search Panel Toolbar.content]
Search0
Button1, "Google"=Search
Button2, "Ask"=Search, 1
Button3, "Yahoo!"=Search, 2
Button4, "Amazon.com"=Search, 3
Button5, "Wikipedia"=Search, 4
Button6, "Ebay.com"=Search, 5
Button7, "Yahoo!Shopping"=Search, 6
Button8, "BitTorrent"=Search, 7
Button9, "Acronym Finder"=Search, 31

# To see path to toolbar configuration file, select opera:config#Toolbar%20Configuration and click go to web address from right click menu.