• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Per site/tab proxy settings

    Opera for Windows
    2
    9
    5755
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • davegould
      davegould last edited by

      Is this in Opera yet? It's really important for using TOR and making sure you don't accidentally leave a trail back to yourself on the same IP in another tab.

      Reply Quote 0
        1 Reply Last reply
      • Deleted User
        Deleted User last edited by

        Google for pac-scripts. It's an only option right now. I'm using this self-made script: http://pastebin.com/NcBcjy2p

        With it you can set proxy per set of domains (like some us-proxy for .us domains, italian for .it, local TOR-one for .onion). First item in array is a proxy, next items are domains to use it on (can be more than one).

        P.S. This forum is so full of bugs. And on a damn native browser. Opera should rethink about how they choose people for hire.

        Reply Quote 0
          1 Reply Last reply
        • davegould
          davegould last edited by

          Doesn't seem to work for Opera 15+. I added --proxy-pac-url=<"C:\pac-script.txt"> to the shortcut and it doesn't seem to do anything.

          Yeah forums don't seem like an improvement.

          Reply Quote 0
            1 Reply Last reply
          • davegould
            davegould last edited by

            I added --proxy-pac-url= to the shortcut and it doesn't seem to do anything.

            Make that --proxy-pac-url=< "C:\pac-script.txt" > without the spaces. < > seem to be control codes.

            Reply Quote 0
              1 Reply Last reply
            • Deleted User
              Deleted User last edited by

              Or you can set pac-script in windows proxy settings. They will be accessible to almost every browser and software that way, so even if you change browser to like FireFox, it will still work.

              Reply Quote 0
                1 Reply Last reply
              • davegould
                davegould last edited by

                Using Internet Options/Properties -> Connections -> LAN Settings -> Use Automatic Configuration Script?

                That's not working either. Tried with/without double quotes on the filename.

                Tried:

                function FindProxyForURL(url, host)
                {
                proxies = [

                ["127.0.0.1:9050", "onion"] ,

                return "DIRECT";
                }

                And tried:

                function FindProxyForURL(url, host)
                {
                proxies = [

                [ "127.0.0.1:9050", "onion"] ,

                for (var x = 0; x < proxies.length; x++)
                for (var y = 1; y < proxies[x].length; y++)
                if (host == proxies[x][y] || shExpMatch(host, "*." + proxies[x][y]))
                return "PROXY " + proxies[x][0];

                return "DIRECT";
                }

                (I don't know what the second bit does).

                Reply Quote 0
                  1 Reply Last reply
                • Deleted User
                  Deleted User last edited by

                  This would be your script in it's simpliest form:

                  function FindProxyForURL(url, host) {

                  if (shExpMatch(host, "*.onion")) return "PROXY 127.0.0.1:9050";

                  return "DIRECT" }

                  Reply Quote 0
                    1 Reply Last reply
                  • davegould
                    davegould last edited by

                    Never got it to work.

                    Found this - much much much better.

                    https://chrome.google.com/webstore/detail/proxy-switchysharp/dpplabbmogkhghncfbfdeeokoefdjegm/related?hl=en

                    You can set per-domain proxy settings, including wildcards & regexps. You need to set it to Auto Switch Mode.

                    Reply Quote 0
                      1 Reply Last reply
                    • Deleted User
                      Deleted User last edited by

                      In my case the problem was the Opera Turbo. When I did deactivate the Opera Turbo it worked. You might have to allow/direct in your script to the Opera Turbo Proxy somewhere in the Internet.

                      Reply Quote 0
                        1 Reply Last reply
                      • First post
                        Last post

                      Computer browsers

                      • Opera for Windows
                      • Opera for Mac
                      • Opera for Linux
                      • Opera beta version
                      • Opera USB

                      Mobile browsers

                      • Opera for Android
                      • Opera Mini
                      • Opera Touch
                      • Opera for basic phones

                      • Add-ons
                      • Opera account
                      • Wallpapers
                      • Opera Ads

                      • Help & support
                      • Opera blogs
                      • Opera forums
                      • Dev.Opera

                      • Security
                      • Privacy
                      • Cookies Policy
                      • EULA
                      • Terms of Service

                      • About Opera
                      • Press info
                      • Jobs
                      • Investors
                      • Become a partner
                      • Contact us

                      Follow Opera

                      • Opera - Facebook
                      • Opera - Twitter
                      • Opera - YouTube
                      • Opera - LinkedIn
                      • Opera - Instagram

                      © Opera Software 1995-