aloneguid / bt

Browser Tamer - browser proxy for Windows with autodetection, rules, scripting.
https://aloneguid.github.io/bt/
Apache License 2.0
157 stars 6 forks source link

Not Redirecting Notifications #45

Closed CityguyUSA closed 2 months ago

CityguyUSA commented 1 year ago

I'm not sure if notifications are operating on a different protocol or what but they don't open in the correct browser.

aloneguid commented 1 year ago

It's very much application specific. Can you give more details please.

CityguyUSA commented 1 year ago

I'm not exactly sure what you're asking me but I'll do my best.

Websites are allowed to send notifications based on your allowing them. In my case the notifications were set-up through Vivaldi which is a Chrome derivative. I'm running Win10x64. I have the notification URLs set to open in Chrome but they still open in Vivaldi. I cannot actually see the URL of the notification they may be getting redirected.

I was able to click on email links and have them open the proper browser but they have since just stopped working entirely. I closed and reopened my email hoping to resolve problem but with no such luck. I can't open any links in my email regardless of the browser,

I noted that there are 20 instances of BT running in task manager but I can't account for what those 20 processes are doing. I only have 10 tabs total between my 2 browsers.

If I try to open BT directly to check settings etc it won't open. I did verify that the defaults for the protocols are still set properly, At one point there was an icon in the tray area but it's not currently there.

I'm using the BT.zip install.

CityguyUSA commented 1 year ago

Can't close Chrome browser. It keeps reopening I guess with a redirected tab. I can't even shut it down using Task Manager. It's like going crazy adding more and more. Now I'm getting notifications from crashed addons.

aloneguid commented 1 year ago

This looks like something like an antivirus is interfering. BT should run exactly 1 process at all times. Which antivirus are you using and which BT version?

CityguyUSA commented 1 year ago

Microsoft Defender BT 3.5.2

When I started my computer today. I clicked on an email link then some notifications. It didn't redirect like it had the day before. I checked to see if it was running. BT already had 3 processes running. I was able to open one email link and then nothing. But it wouldn't let me close my browser again kept restarting it. I tried to terminate BT but it just added another process. I was able to get ahead of it using an aggressive kill and I deleted it form my hard drive.

aloneguid commented 1 year ago

Maybe try the latest version. Hard to guess without having more details.

ianzhuo commented 1 year ago

Toast Notification from browser are handled by notification_helper.exe in every chrome based browser. and registry is located in HKEY_CLASSES_ROOT\CLSID\{635EFA6F-08D6-4EC9-BD14-8A0FDE975159}

Maybe Browser Tamer could consider adding a notification_helper_proxy to redirect Toast Notification Clicked in Windows Notification Center.

aloneguid commented 1 year ago

I'm trying to get my head around what you are trying to achieve. Notifications from a browser usually relate to a page or app inside that browser, right? If you are clicking on them, they are going to handle some action inside that browser, not opening an URL. I'm not sure what we can do here?

ianzhuo commented 1 year ago

If disabled system notifications in chrome://flags/, then notifications clicked will be handled directly from browser. image image If enabled system notifications in chrome://flags/, then notifications will be took over by Windows Action Center and clicked will be handle by notification_helper.exe as I mentioned above. image image In my environment, every browser notification clicked from Windows Action Center will be opened by notification_helper.exe which registered in HKEY_CLASSES_ROOT\CLSID\{635EFA6F-08D6-4EC9-BD14-8A0FDE975159} image