opera tips

Discussion in 'other software & services' started by iceni60, Sep 15, 2007.

Thread Status:
Not open for further replies.
  1. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    i might start recording some of the things i do with opera. here's one thing i just did, it automatically resizes the videos at youtube to make them much bigger.

    youtube_resizer.png

    it's a userjs hack and this is where i found it -
    http://userstyles.org/styles/3180
    http://userstyles.org/styles/userjs/3180/Youtube Video Resizer.user.js

    incase the link disappears this is the code -
    Code:
    // ==UserScript==
    // @name          Youtube Video Resizer
    // @namespace     http://userstyles.org
    // @description	  Resizes the video player in Youtube to fill up more space, and moves the sidebar underneath.  Thanks to Diddle for helping fix the bugs.
    // @author        steppres
    // @homepage      http://userstyles.org/styles/3180
    // @include       http://youtube.com/*
    // @include       https://youtube.com/*
    // @include       http://*.youtube.com/*
    // @include       https://*.youtube.com/*
    // ==/UserScript==
    var css = "@namespace url(http://www.w3.org/1999/xhtml); #baseDiv { width: 874px !important; } #movie_player {width: 874px !important; height: 688px !important;} #aboutExploreDiv, #dVidsDiv, #otherVidsCell {padding-top: 700px !important;} #leaderboardAd {display: none !important;}";
    if (typeof GM_addStyle != "undefined") {
    	GM_addStyle(css);
    } else if (typeof addStyle != "undefined") {
    	addStyle(css);
    } else {
    	var heads = document.getElementsByTagName("head");
    	if (heads.length > 0) {
    		var node = document.createElement("style");
    		node.type = "text/css";
    		node.appendChild(document.createTextNode(css));
    		heads[0].appendChild(node); 
    	}
    }
    this is how to install userjs scripts (just make a folder to put the scripts in then show opera where it is) -
    http://userjs.org/help/installation
     
  2. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    CustomizeGoogle for Opera
    http://www.smir.de/cg/

    i just got this. i like it, it does lots of stuff -

    Use Google Suggest (suggest words while you're typing)
    Add links to competitors
    Rewrite links to point straight to the images in Google Images
    Removes image copying restrictions in Google Book Search
    Secure Gmail and Google Calendar, switch to https
    Block Google Analytics cookies
    Hide the Gmail spam counter
    Remove ads
    Anonymize your Google userid
    Add a result counter in search result
    Filter spammy websites from search results
    Add links to WayBack Machine (webpage history)
    Remove click tracking
    Use a fixed font for Gmail mail bodies

    i've already got some of those things, but i like the extra links it adds to the google search results. it doesn't work with the search engine i was using, but it anonymises the google cookie id so i can use google now anyway :cool:
     
  3. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
  4. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    my old video download bookmarklet stopped working, it might be when google changed the format, this one works though for lots of sites -
    http://1024k.de/bookmarklets/video-bookmarklets.html

    where it says All-In-One Video Bookmarklet, at the link, drag it straight up to your toolbar, then click on it when you want to save a video!
     
  5. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
  6. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
  7. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    this is the last post i'm doing today! :eek: here are some good bookmarklets -
    http://www.aimwell.org/Help/Buttons/buttons.html

    i use one of the Toggle Toolbars buttons, you can see it in my screenshot from the first post where the heart is on my toolbar, it's the one called Personal. i've got a menu one too, but i don't think it's from that page, my one toggles the menu's toolbar on and off and has all the menu options when it's toggled off.

    the link also has lots of buttons to control loads of other programs for windows users.
     
  8. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    i got a blog the other day so i'll start adding stuff like this there instead in future, that's once i start using it! lol

    here's an easy way to check web pages you write -

    1, goto Tools>Preferences>Advanced>Programs>Choose application for viewing source>Edit and check it's using opera.

    2, open a new tab and go to about:blank

    3, right-click on the page and select source

    4, right-click on the new tab (make sure it's literally the tab where you right-click) that opened up with the source in and select detach

    5, start writing your web page, then to see how it looks just click apply changes and you'll see it straight away. it's much easier and quicker then saving what you've done in a text file then reloading the browser :cool:

    opera.png
     
  9. FastGame

    FastGame Registered Member

    Joined:
    Jan 15, 2005
    Posts:
    677
    Location:
    Blasters worm farm
    Hello iceni60, how do I get all tabs to open (including bookmarks) in the background ?
     
  10. 19monty64

    19monty64 Registered Member

    Joined:
    Apr 10, 2006
    Posts:
    1,302
    Location:
    Nunya, BZ
  11. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    sorry, i'm not sure, there probably is a way to do it though. there is a bookmarklet that opens all links on a page in the background, i had that once. it's the first one on this page, not much use for you though lol -
    http://www.philburns.com/bookmarklets.html
    i'm not a neat-freak at all, but all those bookmarklets do useful things, like i can highlight a word and click one that will open at dictionary.com for the meaning of that word, or one for thesaurus.com. another opens a search box so i can search the domain i'm on etc etc.

    here's the search domain one -

    Screenshot-JavaScript.png

    if i don't highlight a word with the dictionary.com one it opens a popup so i can enter a word in it instead -

    Screenshot-JavaScript-1.png
     
  12. 19monty64

    19monty64 Registered Member

    Joined:
    Apr 10, 2006
    Posts:
    1,302
    Location:
    Nunya, BZ
    Iceni,
    Once I enlarged your pics and could better see what you've done. I realized you were increasing functionality without taken up real estate, which was my main concern. Open/close toolbar-buttons are the bomb. I could add loads of bookmarklets and buttons, arrange them on the proper toolbars, and then hide the toolbars and the clutter when I'm not using them. My girls think we've got the coolest browser on the net now. Thanx for the uber-tips!!! Now I just have to work on video-resizing....takes time but I eventually figure things out!
     
  13. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    i like hiding toolbars too, i've got that menu button that has a menu on the right side, but clicking on the left side hides the menu toolbar, then there's the heart button that hides the bookmark toolbar.

    i did this hack too to move my open tabs toolbar to the same place firefox has it -
    http://nontroppo.org/-/media/mainbar.htm

    i like this userjs link alert too (down the page a bit) i also use the Download embeds too, it lets you double-click on a blank part of a page that has embeded media on so a download link appears to download it :cool: -
    http://www.howtocreate.co.uk/operaStuff/userJavaScript.html

    link alert adds icons to links when you hover your mouse over them, so a PDF link has a PDF icon, a music file has a music icon :D here's a picture i took showing an RSS icon when my mouse hovered over an RSS feed link

    rssej1.png
     
  14. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    i added this, below, to the end of one of the sections of my customised menu file found in ~/.opera/menu e.g. ~/.opera/menu/menu.ini. so i can quickly change my proxy servers between proxomitron and privoxy in the Quick Preferences menu.

    Code:
    [Quick Preferences Menu]
    Item, 52200=Enable popup windows
    Item, 52202=Enable popup windows in background
    Item, 67424=Enable requested popup windows
    Item, 52201=Disable popup windows
    --------------------1
    Item, 52203=Enable gif animation | Disable gif animation
    Item, 52205=Enable embedded audio | Disable embedded audio
    Item, 52206=Enable Java | Disable Java
    Item, 52207=Enable plugins | Disable plugins
    Item, 52208=Enable javascript | Disable javascript
    --------------------2
    Item, 52209=Enable cookies | Disable cookies
    Item, 52215=Enable referrer logging| Disable referrer logging
    Item, 52216=Enable proxy servers | Disable proxy servers
    Item, "HTTP 127.0.0.1:8118" = Set preference, "Proxy|HTTP server=127.0.0.1:8118" 
    Item, "HTTP 127.0.0.1:8080" = Set preference, "Proxy|HTTP server=127.0.0.1:8080"
    --------------------4
    Item, 385004252=Edit site preferences
    if you are using the standard opera menu you can go to Tools>Preferences>Advanced>Toolbars>Menu Setup>and click on duplicate, then find the file called standard_menu (1).ini in the opera menu directory and just add this bit (in the code box) under Item, 52216=Enable proxy servers | Disable proxy servers found under [Quick Preferences Menu] -
    Code:
    Item, "HTTP 127.0.0.1:8118" = Set preference, "Proxy|HTTP server=127.0.0.1:8118" 
    Item, "HTTP 127.0.0.1:8080" = Set preference, "Proxy|HTTP server=127.0.0.1:8080"
    here's a screenshot showing how the new proxomitron and privoxy proxy settings look :cool: -
    this bit in the screenshot
    HTTP 127.0.0.1:8118
    HTTP 127.0.0.1:8080


    Opera_menu.png
     
  15. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    here's another tip, pressing ctrl-enter adds http:// to the start of what's written in the address bar, as well as adding .com to the end :cool:
     
  16. iceni60

    iceni60 ( ^o^)

    Joined:
    Jun 29, 2004
    Posts:
    5,116
    i added this code, below, to my menu.ini (the same file mentioned 2 posts ago for proxy changing), just above where it says "[Hotclick Popup Menu]". it adds lots of vBulletin stuff, so i can select, smilies, fonts, Bold, italic, size, colour and loads more, really, really easily and quickly! :cool:

    menu.jpg

    Code:
    [Edit Widget Popup Menu]
    Submenu, "vB Code", vBcode Menu=Show popup menu, "vBcode menu",,,"Smiley Happy"
    ---Notes---
    Include, Internal Personal Information
    Include, Internal Note List
    
    ---Undo---
    Item, 50864=Undo
    Item, 68116=Redo
    ---Edit---
    Item, 67655=Clear
    Item, 50865=Cut
    Item, 50866=Copy
    Item, 50867=Paste
    Item, 50868=Delete
    ---Select---
    Item, 50869=Select all
    ---Spell---
    Item, "Spell check"=Spell check
    Item, "Wordweb"=Copy,,,,"Wordweb" & Execute program, "Rundll32.exe", "wweb32.dll,ShowRunDLL"
    
    [vBcode Menu]
    Submenu, "Format", Format menu
    Submenu, "Size", Size menu
    Submenu, "Font", Font menu
    Submenu, "Colour", Colour menu
    Submenu, "Codes", Codes menu
    Submenu, "Lists", Lists menu
    Submenu, "Smile&ys", Smileys menu
    
    [Format menu]
    Item, "Bold"=Cut & Insert, "[B]" & Paste & Insert, "[/b]"
    Item, "Italic"=Cut & Insert, "[I]" & Paste & Insert, "[/i]"
    Item, "Underline"=Cut & Insert, "[U]" & Paste & Insert, "[/u]"
    Item, "Strikeout"=Cut & Insert, "[STRIKE]" & Paste & Insert, "[/STRIKE]"
    ---Headings---
    Item, "Heading Large"= Cut & Insert, "[Size=24][B][Color=Gold]" & Paste & Insert, "[/color][/b][/size]"
    Item, "Heading Medium"= Cut & Insert, "[Size=16][B][Color=Crimson]" & Paste & Insert, "[/color][/b][/size]"
    Item, "Heading Small"= Cut & Insert, "[Size=12][B][Color=Turquoise]" & Paste & Insert, "[/color][/b][/size]"
    ---Paragraph---
    Item, "Align Centre"=Cut & Insert, "[ALIGN=center]" & Paste & Insert, "[/Align]"
    Item, "Centre"=Cut & Insert, "[Center]" & Paste & Insert, "[/center]"
    Item, "Right"=Cut & Insert, "[Right]" & Paste & Insert, "[/right]"
    
    
    [Size menu]
    Item, "-1"=Cut & Insert, "[Size=1]" & Paste & Insert, "[/size]"
    Item, "+1"=Cut & Insert, "[Size=2]" & Paste & Insert, "[/size]"
    Item, "+2"=Cut & Insert, "[Size=3]" & Paste & Insert, "[/size]"
    Item, "+3"=Cut & Insert, "[Size=4]" & Paste & Insert, "[/size]"
    Item, "+4"=Cut & Insert, "[Size=5]" & Paste & Insert, "[/size]"
    Item, "+5"=Cut & Insert, "[Size=6]" & Paste & Insert, "[/size]"
    Item, "+6"=Cut & Insert, "[Size=7]" & Paste & Insert, "[/size]"
    
    [Font menu]
    Item, "&Arial"=Cut & Insert, "[Font=Arial]" & Paste & Insert, "[/font]"
    Item, "&Book Antiqua"=Cut & Insert, "[Font=Book Antiqua]" & Paste & Insert, "[/font]"
    Item, "Comic &Sans MS"=Cut & Insert, "[Font=Comic Sans MS]" & Paste & Insert, "[/font]"
    Item, "&Courier"=Cut & Insert, "[Font=Courier]" & Paste & Insert, "[/font]"
    Item, "&Georgia"=Cut & Insert, "[Font=Georgia]" & Paste & Insert, "[/font]"
    Item, "&Lucida Handwriting"=Cut & Insert, "[Font=Lucida Handwriting Italic]" & Paste & Insert, "[/font]"
    Item, "&News Gothic MT"=Cut & Insert, "[Font=News Gothic MT]" & Paste & Insert, "[/font]"
    Item, "&Palace Script MT"=Cut & Insert, "[Font=Palace Script MT]" & Paste & Insert, "[/font]"
    Item, "&Times"=Cut & Insert, "[Font=Times New Roman]" & Paste & Insert, "[/font]"
    
    [Colour menu]
    Item, "Aquamarine"=Cut & Insert, "[Color=Aquamarine]" & Paste & Insert, "[/color]"
    Item, "Blue"=Cut & Insert, "[Color=Blue]" & Paste & Insert, "[/color]"
    Item, "Crimson"=Cut & Insert, "[Color=Crimson]" & Paste & Insert, "[/color]"
    Item, "Darkblue"=Cut & Insert, "[Color=Darkblue]" & Paste & Insert, "[/color]"
    Item, "Firebrick"=Cut & Insert, "[Color=Firebrick]" & Paste & Insert, "[/color]"
    Item, "Gold"=Cut & Insert, "[Color=Gold]" & Paste & Insert, "[/color]"
    Item, "Ivory"=Cut & Insert, "[Color=Ivory]" & Paste & Insert, "[/color]"
    Item, "Khaki"=Cut & Insert, "[Color=Khaki]" & Paste & Insert, "[/color]"
    Item, "Limegreen"=Cut & Insert, "[Color=Limegreen]" & Paste & Insert, "[/color]"
    Item, "Magenta"=Cut & Insert, "[Color=Magenta]" & Paste & Insert, "[/color]"
    Item, "Navy"=Cut & Insert, "[Color=Navy]" & Paste & Insert, "[/color]"
    Item, "Orange"=Cut & Insert, "[Color=Orange]" & Paste & Insert, "[/color]"
    Item, "Pink"=Cut & Insert, "[Color=Pink]" & Paste & Insert, "[/color]"
    Item, "Red"=Cut & Insert, "[Color=Red]" & Paste & Insert, "[/color]"
    Item, "Sienna"=Cut & Insert, "[Color=Sienna]" & Paste & Insert, "[/color]"
    Item, "Turquoise"=Cut & Insert, "[Color=Turquoise]" & Paste & Insert, "[/color]"
    Item, "Violet"=Cut & Insert, "[Color=Violet]" & Paste & Insert, "[/color]"
    Item, "White"=Cut & Insert, "[Color=White]" & Paste & Insert, "[/color]"
    Item, "Yellow"=Cut & Insert, "[Color=Yellow]" & Paste & Insert, "[/color]"
    Item, "Full List"=Go to page, "http://my.opera.com/forums/showthread.php?s=&threadid=40520&highlight=colours#post414603"
    
    [Codes menu]
    Item, "Code"=Cut & Insert, "[Code]" & Paste & Insert, "
    "
    Item, "Button"=Cut & Insert, "[Opbut=" & Paste & Insert, "]Button[/opbut]"
    Item, "Email"=Cut & Insert, "Email me"
    Item, "Image"=Cut & Insert, "http://" & Paste & Insert, ""
    Item, "Link"=Cut & Insert, "[LINK Text]" & Paste & Insert, "[/link]"
    Item, "PhP Code"=Cut & Insert, "
    PHP:
    " & Paste & Insert, "
    "
    Item, "Quote"=Cut & Insert, "
    "
    Item, "URL"=Cut & Insert, "Text"

    [Lists Menu]
    Item, "List Item"=Insert, "[*]"
    Item, "Bulleted List"=Cut & Insert, "
    • " & Paste
      Item, "Alphabetical List"=Cut & Insert, "
      • " & Paste
        Item, "Numbered List"=Cut & Insert, "
        1. " & Paste
          Item, "End List"=Insert, "
        "

        [Smileys Menu]
        Item, "Angry"=Insert, " :mad: ",,,"Smiley Angry"
        Item, "Cool"=Insert, " :cool: ",,,"Smiley Cool"
        Item, "Cry"=Insert, " :'( ",,,"Smiley Cry"
        Item, "Grin"=Insert, " :D ",,,"Smiley Grin"
        Item, "Happy"=Insert, " :) ",,,"Smiley Happy"
        Item, "Indifferent"=Insert, " :| ",,,"Smiley Indifferent"
        Item, "Pacman"=Insert, " :< ",,,"Smiley Pacman"
        Item, "Surprised"=Insert, " :eek: ",,,"Smiley Surprised"
        Item, "Tongue"=Insert, " :p ",,,"Smiley Tongue"
        Item, "Unhappy"=Insert, " :( ",,,"Smiley UnHappy"
        Item, "Wink"=Insert, " ;) ",,,"Smiley Wink"
        ---Serif Smileys---
        Item, "Problem"=Insert, " :problem: "
        Item, "Solution"=Insert, " :solution: "
        Item, "Tip"=Insert, " :tip: "
        Item, "Idea"=Insert, " :idea: " [/code]
        i just tried it out and it works perfectly. i got it from here, where it says 7. VBulletin Code Menu -
        http://www.aimwell.org/Help/Tips/tips.html

        i might take out the wordweb bit though, because it doesn't work with linux. just delete this line if you want -
        Code:
        Item, "Wordweb"=Copy,,,,"Wordweb" & Execute program, "Rundll32.exe", "wweb32.dll,ShowRunDLL"
     
    Last edited: Dec 14, 2007
Loading...
Thread Status:
Not open for further replies.