Results 1 to 21 of 21

Thread: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

  1. #1

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Resolved Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Do anyone know if this is possible? Or with a plugin or something?


    I too often write google.com, but when I am in Geneva it redirects me to google.ch, and then I get all these german and french web sites. I hate that. I want it to redirect me to google.no, or google.co.uk in stead. Possible?


    PS: In USA, what version of google are you redirected to then? What domain?


    ØØ
    Last edited by NoteMe; Jun 16th, 2005 at 08:40 AM.

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Fx - redirecting an url. Possible?

    I can choose any site I want using Fx. Whether it be .com, .co.uk, and im sure i could go to .ch as well

  3. #3

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible?

    I guess you are in USA then......the .COM domain is redirecting people to an other server (probably because of ads, but not sure about this), so if you are outside USA you can't go to google.com, then you get redirected to google."your_country_code". Well that is ok, but the problem is that it no redirects to the country that I have nothing to do with, except that I work here.... ...and that ticks me off...


    I guess on windows I could just add something to the host file. Not sure what though. But on Linux...hmmm....

  4. #4
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: Fx - redirecting an url. Possible?

    I'm acually in Canada

  5. #5

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible?

    Well, your ISP is confused then.....everyone should get redirected...or maybe your ISP is too close to USA, or something like that. Others I have met from canada gets redirected to google.ca or what your extension is over there...

  6. #6
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible?

    Just add a new bookmark to google.co.uk and give it the keyword google.com. Then when you type it into your address bar it will take you to google.co.uk
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  7. #7

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible?

    You are soooo BEEEEEP'ing smart that I want to slap you...:...why didn't I know about the keyword thingy...well, since it was that simple, I just added the keyword "g".....much faster..



    Thanks a MIIIILLLLION....
    ØØ

  8. #8
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Even better. Put the bookmark in the quick searches folder and make it point to the following URL:

    http://www.google.co.uk/search?q=%s

    Now all you have to type to do a search in the address bar is:
    Code:
    g search string
    Pretty neat
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  9. #9

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    You need to die...now...or I am going to look stupid for the rest of my life......well, I can't rate you again for that one thoug... But it worked..



    PS: That was my 8k post.....and I feel more stupid then ever..

  10. #10
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    He he, I didn't even realise you rated me the first time. Although if you had waited I could have got an extra point
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  11. #11

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Ohhhh....didn't think about that.....forgot about that rule...no go away......BTW found the code for the quick search code for Fx to search VBF, but I don't understand how that is done. I can't replicate it with your way of doing a quick search:


    Code:
    # VBF Mozilla\firefox search plugin --adehh
    <search
            version="7.1"
            name="VBForums"
            description="Searches all open forums on VBForums.com"
            method="GET"
    
            action="http://www.vbforums.com/search.php"
            queryEncoding="utf-8"
            queryCharset="utf-8"
    >
    
    <input name="query" user>
    <input name="action" value="simplesearch">
    <input name="searchdate" value ="-1">
    <input name="sortby" value="lastpost">
    <input name="beforeafter" value="after">
    <input name="sortorder" value="descending">
    <input name="forumchoice" value="-1">
    
    <interpret
            browserResultType="result"
            charset = "UTF-8"
    
            resultListStart="<!-- content table -->"
            resultListEnd="<!-- /content area table -->"
            resultItemStart="<tr align"
            resultItemEnd="</tr>"
    >
    </search>

  12. #12
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    the method should be POST
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  13. #13

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Quote Originally Posted by visualAd
    the method should be POST

    But that version uses Get, and it works..

  14. #14
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    I will have a look into it - have you got the link to the extension so I can give it a try?
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  15. #15

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    I think it was made when Fx0.7 was out or something, so not sure if it is still working. But it is worth a shot. Will try too.

    http://vbforums.com/showthread.php?t...ight=extension

    PS: Funny thread BTW.. Making a fool out of me as usual..



    ØØ

  16. #16

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    It doesn't work....well it works in Fx...but I just remember now that it was made for vBulletin 2.x.....I guess that is the problem...



    ØØ

  17. #17

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    And an other thing. The Google quick search is using Get too. I guess thats the way it work for some reason. Not sure what it gets. But something it has to be..



    Code:
    # Mozilla/Google plug-in by [email protected]
    
    <search 
       name="Google"
       description="Google Search"
       method="GET"
       action="http://www.google.com/search"
       update="http://www.google.com/mozilla/google.src"
       updateCheckDays=0   
       queryEncoding="utf-8"
       queryCharset="utf-8"
    >
    
    <input name="q" user>
    <inputnext name="start" factor="10">
    <inputprev name="start" factor="10">
    <input name="ie" value="utf-8">
    <input name="oe" value="utf-8">
    
    <interpret 
        browserResultType="result" 
        charset = "UTF-8"
        resultListStart="<!--a-->" 
        resultListEnd="<!--z-->" 
        resultItemStart="<!--m-->" 
        resultItemEnd="<!--n-->"
    >
    </search>

  18. #18
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    The forum upgrade must have broken it but I have made a couple of ammendments and it now works:
    Code:
    # VBF Mozilla\firefox search plugin --adehh
    <search 
    	version="7.1"
    	name="VBForums"
    	description="Searches all open forums on VBForums.com"
    	method="GET"
    
    	action="http://www.vbforums.com/search.php"
    	queryEncoding="utf-8"
    	queryCharset="utf-8"
    >
    
    <input name="query" user>
    <input name="showposts" value="0"> 
    <input name="do" value="process">
    
    <interpret 
    	browserResultType="result"
    	charset="UTF-8"
    
    	resultListStart="<!-- content table -->"
    	resultListEnd="<!-- /content area table -->"
    	resultItemStart="<tr align"
    	resultItemEnd="</tr>"
    >
    </search>
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  19. #19

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Whoohoo...nice......and still using GET..

  20. #20
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Yeah - looks like the forum software is more advanced than I give credit for
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  21. #21

    Thread Starter
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: Fx - redirecting an url. Possible? [Unexpected way to solve my problem] :)

    Hehehee...yeah, it is a lot of work behind a big forum like this. A lot of functions that you never think about.


    But thanks for fixing the search thingy though.


    ØØ

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width