Navigation

    • 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

    [Request] Open link with Chrome is okay but not MS Edge by right click context menu

    Opera for Windows
    2
    7
    259
    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.
    • emc
      emc last edited by leocg

      Hi , Always working by right clicking , open with any browsers from my custom context menu:

      Item, "Chrome" = Execute program, "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe", "%u"

      I use the same settings for Microsoft Edge but it appears not working as it should but opening a separate Microsoft Edge browser without the link content:

      Item, "Microsoft Edge" = Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", "%u"

      What should be correct in the settings ?

      Screenshot - 11_30_2022 , 9_07_32 AM.png

      Reply Quote 0
        burnout426 1 Reply Last reply
      • burnout426
        burnout426 Volunteer @emc last edited by

        @emc said in [Request] Open link with Chrome is okay but not MS Edge by right click context menu:

        Item, "Microsoft Edge" = Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", "%u"

        That works fine for me on Windows 11. The page opens up in Edge. If Edge is already open, the page opens up in a new tab in Edge. Does it work with a simple page like https://example.com/? If so, maybe it has something to do with the URL of the page. Maybe try %U instead of %u.

        Reply Quote 0
          emc 1 Reply Last reply
        • emc
          emc @burnout426 last edited by emc

          @burnout426 Thanks & will try %U , tomorrow, as need update menu.ini and wait for the next restart of Opera.

          any links at the moment not working as it open new separate Edge browser in blank tab and blank address bar , as earlier picture shows.

          Wondering if any other "switches" worth trying other than %u.

          EDIT: just found some of the custom menu I missed an extra ' " ' at the end., it should end with "" but some was ended with " only. Shall see tomorrow.

          Reply Quote 0
            emc 1 Reply Last reply
          • emc
            emc @emc last edited by leocg

            @emc

            [Solves + Report Back]

            In Context menu I modified and finally make it works and want to report back :

            Won't work with switch %u
            Item, "Microsoft Edge" = "Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe", "%U""

            Will work with switch %l
            Item, "Microsoft Edge" ="Execute program, "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe","%l""

            ** as strange with some other browser works with %u. Anyway, anyone who wanna use it should try both %u and %l to see which can works.

            Reply Quote 0
              burnout426 1 Reply Last reply
            • burnout426
              burnout426 Volunteer @emc last edited by

              @emc said in [Request] Open link with Chrome is okay but not MS Edge by right click context menu:

              %l

              That's supposed to be for the link URL when you right-click on a link. Are you saying that when you right-click on a page, %l gets resolved to the document's URL like %u, but just happens to work fine for Edge?

              For testing, you can try:

              test.bat:

              echo %1
              pause
              

              and do:

              Item, "Test" = Execute program, "C:\Users\yourusername\Desktop\test.bat", "%U"
              

              and %l etc. to see what Opera is actually sending to a program or not to see if it's quoted properly etc.

              Reply Quote 0
                emc 1 Reply Last reply
              • emc
                emc @burnout426 last edited by

                @burnout426 said in [Request] Open link with Chrome is okay but not MS Edge by right click context menu:

                Are you saying that when you right-click on a page, %l gets resolved to the document's URL like %u, but just happens to work fine for Edge?

                Sorry for confusing you .........

                I was always want opening LINKS from this post ., it appears I use %U from beginning which is wrong.

                It should be %l for opening links to use in the context menu.

                Thank you very much.

                Reply Quote 1
                  burnout426 1 Reply Last reply
                • burnout426
                  burnout426 Volunteer @emc last edited by

                  @emc Oh, okay.

                  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-