cannot auto delete on safari exit
-
i had tried this way :
https://support.sweetpproductions.com/topic/798/after-update-to-macos-12-cookie-is-not-firing-on-browser-quitbut still not work.
-
-
@SweetP said in cannot auto delete on safari exit:
@tuancc said in cannot auto delete on safari exit:
"add a website as a favourite." on safari or cookieapp?
inside Cookie
i tried on macos12 and macos13, and still not work.
But I can manually click the [remove] button to remove cookies.
It seems that cookieapp cannot successfully monitor safari quiting.
-
@SweetP said in cannot auto delete on safari exit:
@tuancc said in cannot auto delete on safari exit:
Can I ask, how CookieApp monitors the safari browser quiting.
using the macOS native API:
NSWorkspaceDidTerminateApplicationNotification
is there any log when cookieapp received notification "NSWorkspaceDidTerminateApplicationNotification" ?
-
@SweetP said in cannot auto delete on safari exit:
do you have any other browsers installed in your Mac
if so, do they work on Quit?i test for google chrome, it works.
when i quit chrome, it auto delete all cookies, and show a notification:
-
It seems to be a problem with the system language, if I set the system language to English, cookieapp can monitor safari quiting.
But as long as the system language is changed to another language, the application name of safari will change, it will not work.
-
@tuancc there is a slight difference in my checks for when a browser has been quit
Ive updated the code to be more reliable,
can you let me know if this version works better for you:
https://send.tresorit.com/a#jY-LIMpnXwe94BK-mHu7XQ -
@tuancc said in cannot auto delete on safari exit:
It seems to be a problem with the system language, if I set the system language to English, cookieapp can monitor safari quiting.
good spotting!
thats also exactly what I assumed,
the version I just uploaded fixes that -
@SweetP said in cannot auto delete on safari exit:
@tuancc there is a slight difference in my checks for when a browser has been quit
Ive updated the code to be more reliable,
can you let me know if this version works better for you:
https://send.tresorit.com/a#jY-LIMpnXwe94BK-mHu7XQgreat! it works for non-english system!
-
and there is a small problem, that is, when I quit safari, cookieapp immediately starts to delete cookies, but the notification will be delayed, and it takes about 5 seconds for me to receive the notification from cookieapp.
I'm not sure if this is normal behavior.