Skip navigation.

Posts tagged with "javascript"

Opera del.icio.us post hack

, , ,

This is more a personal note that doesn't need to be hidden :alien:

Opera search.ini hack for del.icio.us post in japanese here ->Higa Opera but does not support Japanese Tags.
This enables you to bookmark to del.icio.us by just typing the keyword(in the below example it's 'p') and Tags in the search field.

It's just this to add to the search.ini file:
[Search Engine **]
Name=&Post to Del.icio.us
URL=javascript:d='%s';u='USERNAME';e=document.getSelection();l=location.href;t=document.title;window.location.href='http://del.icio.us/'+u+'?jump=doclose&tags='+escape(d)+'&url='+escape(l)+'&description='+escape(t)+'&extended='+escape(e);
Query=
Key=p
Encoding=utf-8
Is post=0
Has endseparator=0
Search Type=0
VerbText=

Same hack available for Hatena

BTW, if you use Safari, I've added this, Post to Netvouz, Wink and many more... to the AcideSearch public database

And incase you know Japanese:
IRC: irc://irc.opera.com/japanese <--Opera 日本語ユーザのためのIRCチャンネル。
上リンクが駄目の場合 >>  irc://irc.se.opera.com/japanese
Opera ユーザーリングメンバー募集中

Opera Buttons for newbies

, , , ...

Opera Buttons!
An other cool thing...


It's not been long that I'm using Opera regulary, I find lots of features I had added to Firefox missing, but if you set images to load from cache it's much much faster.

Old Opera users know all this, so this is for beginners like me, and for those who don't like reading long articles.

If you've tried to Customize your toolbars and buttons, you may have noticed that, like extensions in Firefox, they are made by users.
But the big difference, it seems to me, is that it's easyer!

You can add buttons like TinyURL,custom del.icio.us, launch external programs and more! Check in my sidebar links ->
To install, all you do is click on them! Or drag them.


But I havn't found somewhere that explains how to make a button to launch mac apps, you know how? Please tell me!


Also an other great thing is the user.js, a folder where you dump scripts, like the user stylesheet, you assign, not the file, but the hole scripts directory in the preference(preference > advanced > content > javascript).
They resemble greasemonky scripts, they can change the content or behaviour of a page.

Like this script will put an icon beside links to show the extension(pdf,txt..)
Just make a directory, the name you want, anywhere you want, and put the file in it and tell Opera wher it is.
There are tones more here and here!

Note to change the toolbars:
View > Toolobars > customize > buttons, then drag and drop to any button to any toolbar.
The View > Toolobars > customize > toolbar is for changing the place of the toolbars

CSS Test: My 1st JavaScript + transparency

, ,

CSS transparency test: here

This idea came from the CSS fixed position. I needed a "follow mouse y coordinate" script and I'm no good in JavaScript, I tried to write one myself and gave up when found out that I could tweaked a script from javascriptkit worked. (It's becoming a bad habit!)


These are the different transparency rules I have found:

/* standard css opacity rule: */

opacity: 0.5

/* for Gecko Browsers: */

-moz-opacity:0.5

/* for Konquerer and Safari: */

-khtml-opacity:0.5

/* for IE: */

filter:alpha(opacity=50)


Most browsers won't understand the standard rule for transparency : opacity:0.5.(yet? I hope)
The problem: Either the hightlight block follows the cursor and you won't be able click on a link so it has to be a bit above or below.

This test has been tested it in Firefox, Opera and Safari, dosn't work in Mac IE which is normal. But I don't know if it will work for other browsers in Windows. If it doesn't work please let me know, comments are welcome.


Here's the test: CSS3 and Javascript screen reader test




Download Opera, the fastest and most secure browser