Giter VIP home page Giter VIP logo

da2x / edgedeflector Goto Github PK

View Code? Open in Web Editor NEW
2.9K 74.0 146.0 67 KB

A tiny helper application to force Windows 10 to use your preferred web browser instead of ignoring the setting to promote Microsoft Edge. Only runs for a microsecond when needed.

Home Page: https://www.ctrl.blog/entry/edgedeflector-default-browser.html

License: MIT License

C# 45.98% NSIS 54.02%
uri-manipulations web-browser system-utility windows-10 intercept-links cortana

edgedeflector's Introduction

🛑 Discontinued because Microsoft sabotaged the project.

EdgeDeflector

EdgeDeflector was a small helper application that intercepted URIs that force-open web links in Microsoft Edge and redirected it to the system’s default web browser. This allowed you to use Windows features like the Cortana assistant and built-in help links with the browser of your choice instead of being forced to use Microsoft Edge. With EdgeDeflector, you were free to use Firefox, Google Chrome, or whatever your favorite web browser might be!

You’ll never see EdgeDeflector ever again after installing it. It does its thing transparently in the background and only runs when a link needs to be deflected away from Microsoft Edge.

System requirements: Windows 10/11, and your favorite web browser.

Read more about how EdgeDeflector works and why it was created.

Installation

  1. Download the latest version of EdgeDeflector from GitHub releases
  2. Run the installer.
  3. The installer will open a page that guides you through some manual installation steps.

You may need to repeat the above steps after installing major feature updates to Windows through Windows Update.

You don’t need to specify your browser of choice in EdgeDeflector. It will pick up on the system configured default from Windows Settings app: Apps: Default apps: Web browser.

FAQ

It isn’t working!

Please reinstall and follow the instructions shown after the installer has finished.

Will searches inside Cortana still use Bing?

Yes. EdgeDeflector doesn’t interfere with either Cortana or the Windows shell in any way. All that EdgeDeflector does is intercept links as you open them in order to rewrite them to open with your preferred web browser.

“Intercepting links” sounds like it would affect my privacy?

Yes it does, but no. Everything is done on your local computer. EdgeDeflector rewrites links which are forced by the Windows shell to open inside Microsoft Edge to open using your default web browser instead. No data is collected about you nor even stored on your local computer.

Will EdgeDeflector redirect Bing searches to Google?

No. You can use an extension in your favorite web browser to achieve this.

How do I uninstall EdgeDeflector?

From Add and Remove Programs in the Windows Settings app.

edgedeflector's People

Contributors

ajay4q avatar aldo-f avatar da2x avatar someaspy avatar thegluck avatar tip2tail avatar voltura avatar wilfred avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edgedeflector's Issues

No longer works

Unfortunately this seems to not work. Start menu searches still open in Edge after installing it.

Perhaps Microsoft "fixed" this in the Creators Update.

Works on second attempt

Hi,

First off great program. Mainly I see this with iCloud Notes from within Windows, it doesn't deflect to my default browser (Chrome) until the second try.

Open Notes > Notes open in Edge > Close Edge > open Notes again > Notes open in Chrome

Keep up the good work!

Windows 10 Creator's Update?

Hey are you going to patch this for the Creator's Update? I just received the notification to upgrade to it but I set it for later as I'm not sure what the changes would do this program and many other ones.

EdgeDeflector will not work

Ok so I installed edge deflector and set everything up, but to my surprise, it does not work. It briefly opens a new chrome tab then It closes. Help would be appreciated! P.S. I tried search with my browser and it dose not work there either.

Cortana utilizing Google, and Google Chrome to open searches, But not Taskbar links

Recently I have discovered the wonders of Edge Deflector and am beginning to understnand it a little more now that it is working properly for me. Although, with that being said, I have came to notice that the links that I have created a desktop, and then a taskbar icon for(I keep my school website, email down there for easy access) (Settings -> More Tools -> Add to Desktop, and then drag down onto task bar) continue to open within Microsoft Edge. I am just wondering if there is perhaps something that I may have missed that could potentially enable this feature as this was my sole purpose for investigating the concept initially. Thank you for any assistance in accomplishing this.

image
image
image
image

Could this be adapted (or used) to intercept *all* URI/URL open attempts?

It annoys me when any process or application presumes to just open a browser session to a specific URL without asking me. It's rather presumptuous.

To combat this, I set up multiple profiles in Firefox and uncheck "open this profile by default" in the Profile Manager. Anytime this annoying behavior occurs I am presented with the profile manager, which I can dismiss if I never asked to go to a web site.

Can EdgeDeflector operate the same way--intercepting all URI/URL open attempts? If not can it be adapted to do so?

A Different Outcome Every Time

As of yesterday, I have re-downloaded, installed, tried to run, restarted, re-ran, uninstalled, deleted, and restarted at least 15 times. Sometimes I actually get the pop-up after installation, but the instruction to "Run the installer once to configure your system" does absolutely nothing. Perhaps it runs and doesn't tell me what it is doing? Fine, I will give it the benefit of the doubt. It still doesn't work however.

Sometimes the result is that Cortana will perform a web search in my chosen browser, but she pops up a Bing page to do so! So the result is that I have one tab open in Firefox, to this website, and another tab next to it is open to Bing and Bing's search results. Now Cortana isn't doing anything whatsoever. It won't pop up pages, tabs, otherwise acknowledge what you have said in any way.

I'd delete it altogether, but the resources at my disposal indicate that it won't just become an old-fashioned search bar that can access the internet as well as internal files, which is what I would love it to become. Hmm. I strayed away from this page for a moment to turn on some music, now no other files will load!

Unfortunately, this computer is Windows 10 that is completely updated with the creator's update and whatever other updates you get when you fire up a new pc. I guess I am going to uninstall EdgeDeflector again, just to see if I can magically use other programs again. Have any tips for getting this thing to work?

Website name not working

When I input a website, not a search, Chrome doesn't open. For example, if I type google is cool and hit enter, Chrome opens and correctly searches "google is cool".
But if I type bestbuy.com
and hit enter, nothing happens. I am running the latest Windows 10 Home, and just downloaded the latest EdgeDeflector.

Can't Run It???

Hi, the issue I'm having is that I can't find an installer for this, do I need a specific program to run it, or am I just being blind?

Thanks!

Prompting to Close Firefox when its already running

Seems there is an issue with Firefox (at least 57) where doing a search through Cortana will make Firefox prompt to close and reopen with a new process which then will show the search query. Didnt see this as an issue already and not sure if anyone else noticed it but I cant get the app to work in Firefox if its already running. Works fine when its closed.

don't search in google

I want to search in google, but Cortana must search in Bing.
So, I suggest changeing a method that named RewriteMsEdgeUriSchema like

static string RewriteMsEdgeUriSchema(string uri)
{
    //changed area start
    string new_uri = "";
    char[] separator_chars = { '&', '?' };
    string[] words = uri.Split(separator_chars);
    Regex match_question = new Regex("^q=*");
    foreach (string s in words) {
        if (match_question.IsMatch(s)) {
            new_uri = "https://www.google.co.jp/search?" + s + "&gws_rd=ssl";
            break;
        }
    }
    //changed area end

    if (IsHttpUri(new_uri))
    {
        return new_uri;
    }

    return "http://" + new_uri;
}

thanks.

Changing search engine

Could you add any option on the installer (or just a .cfg file) where you could change the search engine used for "web results"?

Redirect Besides Default Browser?

Is there a way to make EdgeDeflector redirect to a specific application? For example, what if I don't want it to redirect to Vivaldi? What if I want it to redirect to "C:/Program Files (x86)/Google/Chrome/Application/chrome.exe -incognito" or something similar?

Create an installer

EdgeDeflector seems to work. Create an installer and and an uninstaller to make it easier to use.

Very slow response time

HI Pal, thanks for the great extension it is actually very useful as I like having a good search bar in windows, it was actually like the third I installed after a new windows install. however this time around I can't get it working properly, I have installed and the rogram works, however it is very slow, like I have to wait at least 1 minute to get a result.
the only circumstances that I know of my computer is that I used an offline account this time, (no Microsoft login) and I have changed some lang settings but apart from that I have done nothing at all! I don't know how to debug it, I created a dump file but it has a lot of nonsense in it, and I clicked in analyze wait chain to find only gebsvchost sihost nodes

Stopped working wit Build 16241

Hey, I've been using ED for months through various insider builds but it seems to have stopped working with insider build 1624. When selected it will just stop responding.
capture

Uninstalling EdgeDeflector

Hello,

At the moment as ED is not working, I would like to uninstall it. I would prefer to have an edge popup than none at all.

How would one go about doing this?

Not Opening Chrome

I'm having the same problem as others have had in the past (#40). I've got the latest version installed (1.1.3.0) and running https://example.com and microsoft-edge:https://example.com both open the example page in Chrome. However like BurgP7's past problem, when I search in Cortana I get a loading pinwheel next to the cursor, and then nothing happens. How can I fix this?

fixed

whoops. can't figure out how to delete this post.

not working after fall creators update

edge-deflector stopped working after upgrading windows 10 with the fall creators update to v.1709.
Manually setting edge-deflector as standard in System-Settings > Apps > Standard-Apps > By protocol to use edge-deflector for MIRCOSOFT-EDGE doesn't work either.

1709

Hi, i am having problem on 1709 check log-
image
image
Any Ideas?
Thanks

Search system redirections

Hi!

I very like your program since it allows me to make search through my startmenu. But, I don't feel well with bing, so I need to install 3-rd party extensions to my browser to redirect all the requests to google instead of bing.

So, this would be nice if there was a possibility to configure the re-directions between search system. For example, in the nearby file lying in the application folder.

Chrome uses Bing as default browser regardless of Chrome settings

I just set up EdgeDeflector. (Thanks for building it!)

Unfortunately, when I enter a search term in the W10 Start menu field, when my default browser opens (Chrome), Bing is used as the search engine. This happens regardless of the default search engine settings within Chrome.

I've gone so far as removing all other search engine options from the settings list, save for Google. Bing still opens with any search term that I enter using the Start menu search field.

Is this an EdgeDeflector issue? Or something else within Windows/Chrome?

Not Working

I get "Google Chrome is unresponsive. Relaunch now?" dialog whenever I click on an article in Cortana.

Doesn't work

I tried to use it today, but it's not working anymore. I'm on a win10 64bit with all the lastest upgrades done.

EDIT:
I'm using firefox, this is why is not working I think

Not working from search bar

I'm using the latest version and while I can get windows to set it as the default ms-edge app, it doesn't actually do anything when I search - I'll get the background work cursor for a few seconds, but it won't open a chrome tab or actually perform any search.

  • using latest version
  • windows fall creators update
  • ran installer, restarted computer

Works correctly when called directly through win + R ( C:\Program Files (x86)\EdgeDeflector\EdgeDeflector.exe microsoft-edge://gmail.com, C:\Program Files (x86)\EdgeDeflector\EdgeDeflector.exe microsoft-edge://google.com ), but not from the cortana search bar

Uninstallation breaks Cortana

OK, so I uninstalled this vie the classic control panel now Cortana is broken.

When I click on any of the web results, nothing happens. I suspect the there's no default app set for the specially crafted urls any more.

Can you please explain how to get the normal function back?

How do i uninstall

This isn't working after the latest windows 10 update, how do i unregister the EdgeDeflector functionality

Its not working

Hi,
I am currently using the possible latest updated win10 and this software is not helping me to do the intended work.

EdgeDeflector not Opening Chrome

Hi. I tried installing EdgeDetector, but it doesn't work. Even after setting the proper protocol to EdgeDeflector, when a search is made using Cortana or the search bar, I get a loading pinwheel next to the cursor, and then nothing happens. It seems like EdgeDeflector runs, but doesn't actually do anything. I'm not sure how to fix this. Thanks!

Privilege check doesn't work

If the user runs the program without any arguments, it performs an elevated privilege check. If the check fails, the program then requests permissions necessary for registry editing. The program then exits without completing the installation. The else clause found here is the culprit.

More critically, however, these security permissions are not sufficient to complete the installation (in my experience). I was able to get sufficient permissions by adding them to the app manifest, but this approach has the downside of requiring permissions every time the application is run. I have solved this problem by splitting the program into two projects: an installer and the deflector. The installer uses the elevated privileges and the deflector just rewrites the url requests.

You can see my forked repository for my complete solution to these issues. Rather than using an msi installer (I didn't see any code for this in your repository), the user just has to run EdgeDeflectorInstaller.exe. This way, all necessary code from installation to runtime are included in the repository.

I am not submitting a pull request in case you want to go a different direction with your project, but I wanted to provide my take in case it's helpful. If you do want me to do a pull request just let me know. The source you've provided is already a huge help and I would be happy to contribute however I can. Thanks for putting all of this together!

Fix interception of links from lock screen

If I try to click a link on the Windows 10 lock screen (using the Windows Spotlight pictures), it will normally open in Microsoft Edge, but if I change the microsoft-edge protocol to EdgeDeflector, the links simply do not work.

Error 404???

When searching a simple word in Cortana... "hey", I click hey, and expect the system to search Google for Hey, using Google chrome. It appears as if that is indeed happening, although for some reason receive this error

image

It's broken for me

I'm not sure if windows has had an update since the rest of these guys commented but just a heads up. This is not working for me on a freshly installed and updated copy of windows 10 pro version 1709 build 16299.192. also thank you for the work you're doing here this workaround is a life saver

Release 1.1.3.0 does not work

The newest released Version 1.1.3.0 does not work. Web requests in the search bar will do completly nothing and the edgedeflector process does not start at all. The previous version do run fine.
When i tried the version in the issue before me it worked too, but redirected me to github all the time.
Windows-Specifications: Windows 10 Pro Version 1709 Build 16299.309

Program Not Working

Hello!

I downloaded the program and it wasn't giving me the option to select EdgeDeflector when I used the Cortana search bar. So, I restarted my computer and installed the newest windows updates. I went to Cortana again and this time set EdgeDeflector as my default. I then went to search something and now nothing happens. It doesn't open up in edge or Chrome. Chrome is set as my default browser and I even tried reinstalling EdgeDeflector with no luck. Any idea what might be going wrong?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.