You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Custom Opera Buttons
Your Skin's Images is a useful resource for choosing button icons.This is the old thread for Opera 9.5 Buttons
You can even specify which Advanced Preference Tab you wish to focus. Hover over a link to get the code you want, e.g. "Show Preferences, 15" is the code you need to show Preferences, Advanced, Fonts. You can add the icons to menus too, if you wish, but they're optional.
Opera Preferences Buttons (Updated to correct additions since the initial post)
Forms • Search • Web Pages • P4 ... P9 (Undefined) • Tabs • Browsing • Notifications • P13 • Content • Fonts • Downloads • Programs • P18 • History • Cookies • Security • Network • Storage • P24 • Toolbars ( + Customize Toolbars) • Shortcuts • Voice • P28 • P29 • P30
Any numbers that are undefined will bring up the last dialogue box used.
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • FTP • Document Courier
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Opera Türkiye | Opera SSS | Opera Türkiye Projeleri | Opera Türkçe Yardım
Originally posted by Pesala:
Your Skin's Images is a useful resource for choosing button icons.
... although you do have to scroll through 24 screens to see them all, while the charts we made last year show them all at once:
mine, that got things started and has size options;
yours, with added icons for your skins; and
Ayush's, that used to put icon name on clipboard when clicked but doesn't seem to any more.
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
Opera 10 Skin Images (flat/chart)
Originally posted by bpm:
Did you find a list, or put it together by going through skin changelog
I made them from the skin.ini of Opera 10.1.1844 .... I just wrapped the relevant code around each entry (ID), then commented out the code for the ones that weren't showing an image.
NB: This is just my own personal Buttons Collection ( as a Panel [approx 230px wide] ) and is a Work in Progress. I've tested them in Opera 10.1.1844 and they work as I'd like/expect. I'll keep adding to it and will eventually sort them into some sort of logical order (maybe). If you wanna use it as a Panel from the online copy then you'll always get the changes/additions as I do them. If you download it to use locally then it's up to you to check the file date/size of your local copy with the online one. I won't be changing the filename of this one.
11. November 2009, 08:16:56 (edited)
10. November 2009, 23:19:06 (edited)
Originally posted by TerraHertz:
Also, is there still a 'Go' icon that is just the word 'Go
Go Drag the link to a toolbar.
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • FTP • Document Courier
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Originally posted by Pesala:
Originally posted by TerraHertz:
Also, is there still a 'Go' icon that is just the word 'Go
Go Drag the link to a toolbar.
Thanks.
But... too bad it has an outline, and which isn't even consistent with the other 'buttons'. Oh well.
I guess there's no way to remove the outlines, huh?
And I bet someone was proud of adding that 'feature', too.
11. November 2009, 14:38:08 (edited)
http://my.opera.com/community/forums/topic.dml?id=291642&t=1257949017&page=1
15. November 2009, 17:53:00 (edited)
Regarding help screens for buttons and toolbars, here are two demos:
using a button's title tooltip:
Pressing this button will scramble your hard drive and email unforgivable insults to all your contacts.
This particular button has no real action - it's just a way of providing the tooltip. But one could use the method to include instructions or explanations with any button.
For an info-only button, one could also use a javascript alertbox:
toolbar help
So how's this for an idea? Opera could install with these things all over the place - popup help to explain contexts and get you started; with the invitation to delete the buttons once no longer needed. Like info stickers on a product.
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
toolbar
Back (action: Back + Show popup menu, "Back button menu")
Forward (action: Forward + Show popup menu, "Forward button menu")
paste into menu.ini:
[Back button menu]
Item, "back in new"=duplicate page & back
----------------
include, Internal Back History
[Forward button menu]
Item, "forward in new"=duplicate page & forward
----------------
include, Internal Forward History
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
29. November 2009, 13:32:06 (edited)
Go,new , Go,Background. Here's a text address to try them out on: www.zombo.com
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
3. December 2009, 20:22:20 (edited)
opera:/button/View%20main%20bar,6,,%22Main%20Bar%22,%22Panel%20chat%22%20|%20View%20main%20bar,0Edit: or the other way around, such as <i>Panel Chat = lobo/mb.png</i>, but that requires more editing, I've never tried defining my own variables to an image in a skin, but seems likely that Opera might just ignore it as erroneous and skip it.
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • FTP • Document Courier
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Go to page, "javascript:ujs_bbcode_tag('',' [img]http://i607.photobucket.com/albums/tt154/e3433e/sueltas/kamehamehamslg3.gif[/img]')",":p",":p","Smiley Tongue"
javascript:window.googl_callback%20=%20function(response){if(response.error_message){alert("An%20error%20occured:%20"%20+%20response.error_message);}else{alert(response.short_url);}};%20var%20s%20=%20document.createElement("script");%20s.src%20=%20"http://ggl-shortener.appspot.com/?url="%20+%20encodeURIComponent(window.location.href)%20+%20"&jsonp=googl_callback";%20void(document.body.appendChild(s));
19. December 2009, 20:54:43 (edited)
opera:/button/Go%20to%20page,%22javascript:var%20s%20=%20document.createElement('script');s.src%20=%20'http://ggl-shortener.appspot.com/?url='%20+%20encodeURIComponent(window.location.href)%20+%20'&jsonp=googl_callback';document.body.appendChild(s);alert(s.src)%22(remove the "alert(s.src)")You might have better luck with it, if you know <i>where</i> (ie the ID, or Name of the element) you are writing to... I don't know where/what "googl_callback" is or does...
...lol, nor am I any good with more complex JS, document.write() works, and that button doesn't error... but, it never seems to show up on pages.Edit: I removed the first function for 2 reasons: 1, it requires a variable "response" but there isn't (well, as far as I know) a way of setting the variable beforehand, so the variable is empty (unless the script automatically picks it up from memory?), and 2, because the function doesn't do anything but spit out Alerts, lol.
You would have to do something like:
window.googl_callback = function MyFunc(response){if(response.error_message){return 'An error occured: ' + response.error_message} else {return response.short_url}}
-formatted:
window.googl_callback%20=%20function%20MyFunc(response)%7Bif(response.error_message)%7Breturn%20'An%20error%20occured:%20'%20+%20response.error_message%7D%20else%20%7Breturn%20response.short_url%7D%7D
--- OR ---
if(response.error_message){window.googl_callback = 'An error occured: ' + response.error_message} else {window.googl_callback = response.short_url}
-formatted:
if(response.error_message)%7Bwindow.googl_callback%20=%20'An%20error%20occured:%20'%20+%20response.error_message%7D%20else%20%7Bwindow.googl_callback%20=%20response.short_url%7D
Unless <i>function(response)</i> is how to call the "response" function (seriously, I don't bother with JS buttons), normally thats just <i>response()</i> to call it, and it would be <i>response().error_message</i>...etc...
20. December 2009, 08:50:53 (edited)
My question is how to force not to block script
here is nw button code:
<a href="opera:/button/Go%20to%20page, "javascript:window.googl_callback = function(response){if(response.error_message){alert('An error occured: ' + response.error_message);}else{alert(response.short_url);}}; var s = document.createElement('script'); s.src = 'http://ggl-shortener.appspot.com/?url=' + encodeURIComponent(window.location.href) + '&jsonp=googl_callback'; void(document.body.appendChild(s));",,%22goo.gl%22,%22Top10%22" class="operabutton" title="goo.gl">goo.gl</a>
21. December 2009, 22:17:52 (edited)
Menu reloader. Of value to Opera hackers only; something I've wanted for years.
For Sourceview toolbar: ApplyChanges&ReloadMenus
And for those not editing in Opera: Reload Menus
Became possible as soon as we had Delay, actually.
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
Edit: I removed the first function for 2 reasons: 1, it requires a variable "response" but there isn't (well, as far as I know) a way of setting the variable beforehand, so the variable is empty (unless the script automatically picks it up from memory?), and 2, because the function doesn't do anything but spit out Alerts, lol.
You would have to do something like:
window.googl_callback = function MyFunc(response){if(response.error_message){return 'An error occured: ' + response.error_message} else {return response.short_url}}
-formatted:
window.googl_callback%20=%20function%20MyFunc(response)%7Bif(response.error_message)%7Breturn%20'An%20error%20occured:%20'%20+%20response.error_message%7D%20else%20%7Breturn%20response.short_url%7D%7D
--- OR ---
if(response.error_message){window.googl_callback = 'An error occured: ' + response.error_message} else {window.googl_callback = response.short_url}
-formatted:
if(response.error_message)%7Bwindow.googl_callback%20=%20'An%20error%20occured:%20'%20+%20response.error_message%7D%20else%20%7Bwindow.googl_callback%20=%20response.short_url%7D
Unless function(response) is how to call the "response" function (seriously, I don't bother with JS buttons), normally thats just response() to call it, and it would be response().error_message...etc...
I am the author of that bookmarklet, and the gateway it uses. Respectfully, your post is incorrect.
response is a formal parameter that is passed into window.googl_callback function. This function is called by the script inserted into the page at the end of the bookmarklet script. The script does in fact work fine (including in Opera), as demonstrated by this review (among others). The function "spits out Alerts" because that is exactly what it is designed to do (display the goo.gl URL, or notify the user if an error occurs).
None of the proposed "fixes" you propose would work properly.
I suggest that if you don't want to "bother with JS buttons", you don't give advice on them.
I don't use Opera, but DZE-MasteR's code looks reasonable.
Best,
Matthew Flaschen
If no one else has given a reply to a post, and I am moderately interested in it, then I will give it a try, no matter how well versed I may, or may not be in the topic.
DZE didn't give much to go on, like I said I don't know where googl_callback is, what it is, or how it's supposed to be accessed.
So with all disrespect, take your holier than thou attitude back off this forum.
Finally, you know nothing about my JavaScript experience.
Matt Flaschen
25. December 2009, 03:25:52 (edited)
But, 10.5 pre-alpha, is generally very glitchy with link buttons, a lot of "typical" ones that work in 9.5 to 10.20, don't work either, but some are perfectly fine.
How to use: drag and drop the following button to Opera's toolbar, type commands in the address bar, then click this button, a new button which contains your commands will be created in a seperate tab.
button
http://blog.judes.me/opera/skin.html
26. December 2009, 02:44:34 (edited)
dragonfly = custom/dragonfly.png dragonfly.selected = custom/dragonfly_selected.png
Then added this to my custom buttons:
Button1, "Dragonfly"="Attach Developer Tools Window, , , "Dragonfly", "dragonfly" | Close Developer Tools Window, , , "Close Dragonfly", "dragonfly.selected""
Now this works, but only after I played around with it. I thought it would automatically use the .selected image, but it doesn't, hence me setting it specifically.
What this results in is me not seeing the "indent" on the button like I would when it's selected, but that's essentially what I want. I could live without it, but hey, why should I?
Something that just struck me... maybe I should be doing this instead?
Attach Developer Tools Window = custom/dragonfly.png Attach Developer Tools Window.selected = custom/dragonfly_selected.png
I'm going to try it, but I'm not all that hopeful... and hey, if it works, at least it's archived for the future.
EDIT: So it doesn't really work. ".selected" doesn't anyway (is it because of the address bar or the way the button "must" work?). I just set it up with the official names for open (Attach Developer Tools Window) and close (Close Developer Tools Window)
Works, just no indent
It would look too sexy with it anyway.EDIT 2 - the second coming: Just switch to the standard skin and it's indented there. Is c00 set up some way to not indent or something :? Any advice on how to change it?
Checkbox, "UserJS" = Set preference, "User Prefs|User JavaScript=1" | Set preference, "User Prefs|User JavaScript=0"
^ Was the old code, and now I can't seem to get it to work. What bugs me is I don't see that it's doing anything wrong for the new version.
Set preference,"User Prefs|User JavaScript=1",,"UserJS","Checkbox skin" | Set preference,"User Prefs|User JavaScript=0",,,"Checkbox skin.selected"
Originally posted by Vectronic:
Thanks a lotTry this one
Set preference,"User Prefs|User JavaScript=1",,"UserJS","Checkbox skin" | Set preference,"User Prefs|User JavaScript=0",,,"Checkbox skin.selected"
Works a charm. javascript:var%20t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var%20e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/translate_t?text='+t+'&hl=en&langpair=auto|es&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|es&tbb=1&ie='+e;};
thanks vetronic for the private tab button
A buttonmaker / icon chart that:
- makes draggable installer tags and copiable BBCode / HTML tags
- lets you toggle view of action & tags
- permits commenting of tags, and reloading for correction or modification
- includes a Save button so your tags and comments can be saved to disk
http://files.myopera.com/bpm/iconchart/ButtonMaker3.htm
(copy to hard drive to be able to save the file with the buttons and comments you add)
blog: HTML editing, link grabber, tab aliaser, perfected search, better sessions, simple DOS backup, buttons etc.
I'm having difficulty finding a way to 'buttonize' a tab menu option.
Basically, I sometimes use Opera in full screen mode and when I do this I want to manipulate tab windows and arrange them myself. I do not like the default "Tile" option at all.
Other times I use the Opera window in less than fullscreen mode and then I want all the tabs to be full size.
On the tab menu, I use "restore" to break the tab out of fullscreen mode. It is awesome.
I want to make two buttons that I think will make life a lot easier for everyone.
Button 1 has two functions: "Restore All" toggle. So if the browser has tabs fullsize, it restores the last size position state for all tabs and if they are scattered about the Opera space it will make them "fullsize" (or regular tab style)
Button 2 is a "new restored tab" button but opens the tab in "restore" (shrunken) mode. As it is, I have to open a new tab with the menu button and it obscures my whole screen, then I have to "restore it" to be useful. This is a real PITA.
I see where the tab defaults can be changed, but I don't 'always' work in one mode or the other, but switch between, so having to reset my preferences well.. it just sux.
I know there is a way to do this and I'm a little surprised Opera UI folks didn't come up with it, or if they have I can't find it. However, I am very impressed with the ease of manipulating and extending the UI. Great work you folks, you should be compensated for the time you put into making Opera better.
BTW I'm using the 10 Beta. Nice functionality

Cheers.
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • FTP • Document Courier
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links

can anyone post a button to do this?
thanks in advance
Showing topic replies 1 - 50 of 317.
