Skip navigation.

exploreopera

| Help

Sign up | Help

Drag images and pages around with your mouse

,

It seems I never posted this userjs publicly before. After using it for a while I can't live without it. It's excellent for dragging around big images without having to reach for the scrollbars, and also for pages.

To drag images around simply click, hold and drag. To drag around pages, either get hold of an image and drag that or use shift+click, hold and drag somewhere in the page that is not normally clickable.

I guess for you people surfing with the Wii, this behaviour is familiar.

Download it here: http://people.opera.com/nicolasm/userjs/dragscroll.js

A video of the userjs in use can be seen here: <video src="http://people.opera.com/nicolasm/userjs/dragscroll.ogg">http://people.opera.com/nicolasm/userjs/dragscroll.ogg</video>

Note: the video is a bit sketchy as the movement and click events didn't work 100% when capturing the desktop.

Vi/Vim tutorial

, , ,

Everything you ever wanted to know about vi, is presented here. :wink:

Read more...

Sound of terror

, , ,

Right across the street of the Opera offices in Oslo, there is some construction going on. Actually new buildings have been popping up everywhere around Opera lately, which is nice. The problem with this particular project coined Waldemars Hage 2 is that they are doing sheet piling with 10-20 metres long sheets sticking them into the ground using a giant vibrating hammer, each sheet takes probably 10 minutes to put down, and the noise made is extremely loud.

Read more...

DOMContentLoaded gotcha with external stylesheets

, , , ...

DOMContentLoaded is an event supposed to be thrown when a page's DOM is loaded, meaning that you don't need to wait for external images etc. to be loaded before running a script that expects a DOM to be in place. If you combine the initiation of your script with a JavaScript library like Interface you might get fatal consequences.

Read more...

Pan or drag and scroll pages and images

,

Actually wanting to add this feature for a long while, but it wasn't until today when I noticed someone wanted the feature that I decided to make a User Javascript to be able to pan any web page with the mouse. The following User Javascript allows you to click, hold and drag a web page around in the same way you are used to move a map around, just remember to hold the shift key when dragging. This so that regular text selection and drag-n-dropping of images and pages doesnt break.

Update: You can scroll in big images without modifier key, and the scrolling should time out if you havppen to release the button outside of the browser.

Update2: Script now only allows to use the left mouse button. Hold down shift to drag pages, and shift not needed when dragging an image alone. Only images without tags surrounding can be used to move page.

Download Drag Scroll User Javascript

Zoom text only in web pages with Opera

, ,

Most of you are probably familiar with the zoom function of Opera. Opera lets you zoom the entire page, including pictures and flash animations, this is different from the zoom functionality other browsers have which is basically text zoom only. But how do you zoom text only in Opera?

Read more...

Oooh green tags

,

So, just had a new dig at using user stylesheets right here on MyOpera. I noticed after selecting a different theme that the tags didn't stand out from the text really well, so I decided to paint them green.

Read more...

Opera 9.2 out

,

Ah, finally a new public release again, this time with speed dial, some important bugfixes for X11 systems, a link to developer tools and many general fixes and improvements.

Read the changelogs and download Opera here.

Fixing earphones with fire

, , , ...

I use earphones a lot, although mostly indoors, I normally try to spare people around me from music or other noise. It's not uncommon that I stay up quite late so it's been ages since I first got hold of some earphones to listen to music late at night instead of keeping neighbours awake.

Anyway, I've been able to break quite a few over the years, everything from breaking handles, bars, arcs etc. to wearing off cables, or plugs.

This time I decided I didn't want to give up easily on a pair whom which the cable between the the left and right part was teared off. After some fiddling around with it, I manged to get some sound from both sides if the cable was held in a special way. (It had a small rift on it.) However it wasn't really logic which position it needed to be to have contact.

So, I put on some bright light and got an extra pair of glasses in front of me as I bluntly cut the cable and prepared to remove the insulation to twist the conductors together and put some insulation tape over it. That always work. I thought. It turns out, the cable had two apparent conductors, with two different colors, but since they were adjaceant, they had to have the actual conductor inside them.

Of course, there wasn't anything inside, just the bunch of tiny colored cables and some white featherish thread in the middle. Check the picture. Anyway, after some thought and searching the net I realised each of the small individual colored cables were conductors. A suggestion was to scrape off the colored insulation, but that was easier said than done. Someone mentioned how the heat of the solder iron weared off the insulation and I tried out a lighter. I wired the conductors together, put on some music and melted the insulation from the "knots" till I got contact. Voila, working earphones :wink: (It's 3:37 AM here, so excuse me if this is obvious to you, I'm happy at least :wink: )

Dot.com 2.0 web app demo

, , , ...

The computer party Digilab 2007 was newly held in Porsgrunn, Norway. I didn't attend, but luckily they accepted competition entries from non-participants too. I submitted a small intro that was originally meant to be released at the Gathering 2006 called Dot.com 2.0. It ended up at third place (out of four? :-) ).

Anyway, it runs in Opera, uses Javascript, Canvas, SVG and various DOM techniques, no flash involved, pure open standards. It even uses the Opera Animation library :wink:

Check it out here: dst_dc20.zip ~10 MB (The giant size is due to a large .wav file included ;()

Pouët entry: http://www.pouet.net/prod.php?which=29946

UPDATE: Added some fixes for Firefox, but I won't spend much more time getting it to work there. I accept patches though, so feel free to send one :wink:

I also submitted this picture drawn by hand in Gimp, but it doesn't seem like it made it thru.
May 2008
SMTWTFS
April 2008June 2008
123
45678910
11121314151617
18192021222324
25262728293031