• Categories
  • Recent
  • Tags
Collapse
  1. Home
  2. Cookie 6
  3. cannot auto delete on safari exit

cannot auto delete on safari exit

Scheduled Pinned Locked Moved Cookie 6
30 Posts 2 Posters 3.6k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    abitgame
    wrote on last edited by abitgame
    #1

    macOS12:

    AutoDelete enabled. but when safari exit, the cookie still exists.
    when i click [Remove Non-Favorites], all cookie will be deleted.
    but just auto delete doesn't work.

    67e0c73f-6c90-426d-a905-c4a6d455e339-image.png

    d150ccef-a2cb-463e-adac-7dbd920313c9-image.png

    0bcc0219-ca49-4446-927b-3d062209e6bf-image.png

    1 Reply Last reply
    0
    • A Offline
      A Offline
      abitgame
      wrote on last edited by
      #2

      i had tried this way :
      https://support.sweetpproductions.com/topic/798/after-update-to-macos-12-cookie-is-not-firing-on-browser-quit

      but still not work.

      1 Reply Last reply
      0
      • SweetPS Offline
        SweetPS Offline
        SweetP
        wrote on last edited by
        #3

        Strange,
        I can't recreate this.
        Does this happen on a fresh install of Cookie?

        ~
        Russell
        SweetPProductions.com

        1 Reply Last reply
        0
        • A Offline
          A Offline
          abitgame
          wrote on last edited by
          #4

          yes , all new fresh install of CookieAPP.
          i had tested on 2 macOS system. both are macOS12.

          1 Reply Last reply
          0
          • SweetPS Offline
            SweetPS Offline
            SweetP
            wrote on last edited by
            #5

            can you try this:
            add a website as a favourite.
            then uncheck the website as a favourite.

            then try the removal again.
            does that work

            ~
            Russell
            SweetPProductions.com

            A 1 Reply Last reply
            0
            • A Offline
              A Offline
              abitgame
              wrote on last edited by
              #6

              i had tried reboot the system. but still not work.
              and i tried on macOS13, still not work.

              Can I ask, how CookieApp monitors the safari browser quiting.

              SweetPS 1 Reply Last reply
              0
              • SweetPS SweetP

                can you try this:
                add a website as a favourite.
                then uncheck the website as a favourite.

                then try the removal again.
                does that work

                A Offline
                A Offline
                abitgame
                wrote on last edited by
                #7

                @SweetP said in cannot auto delete on safari exit:

                can you try this:
                add a website as a favourite.
                then uncheck the website as a favourite.

                then try the removal again.
                does that work

                "add a website as a favourite." on safari or cookieapp?

                SweetPS 1 Reply Last reply
                0
                • A abitgame

                  @SweetP said in cannot auto delete on safari exit:

                  can you try this:
                  add a website as a favourite.
                  then uncheck the website as a favourite.

                  then try the removal again.
                  does that work

                  "add a website as a favourite." on safari or cookieapp?

                  SweetPS Offline
                  SweetPS Offline
                  SweetP
                  wrote on last edited by
                  #8

                  @tuancc said in cannot auto delete on safari exit:

                  "add a website as a favourite." on safari or cookieapp?

                  inside Cookie

                  ~
                  Russell
                  SweetPProductions.com

                  A 1 Reply Last reply
                  0
                  • A abitgame

                    i had tried reboot the system. but still not work.
                    and i tried on macOS13, still not work.

                    Can I ask, how CookieApp monitors the safari browser quiting.

                    SweetPS Offline
                    SweetPS Offline
                    SweetP
                    wrote on last edited by
                    #9

                    @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

                    ~
                    Russell
                    SweetPProductions.com

                    A 1 Reply Last reply
                    0
                    • SweetPS SweetP

                      @tuancc said in cannot auto delete on safari exit:

                      "add a website as a favourite." on safari or cookieapp?

                      inside Cookie

                      A Offline
                      A Offline
                      abitgame
                      wrote on last edited by
                      #10

                      @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.

                      97fde20f-fb3e-409d-b1db-119400a41db3-image.png
                      ed090811-3002-4852-9707-de83173a9657-image.png
                      2fba4d9a-2a13-4656-9a57-86b69a9023e6-image.png

                      But I can manually click the [remove] button to remove cookies.
                      It seems that cookieapp cannot successfully monitor safari quiting.
                      8d544878-122e-469d-b5d1-490e3d9f067a-image.png
                      ce8235ae-2d6d-45e1-a7e4-7f615886b3f9-image.png
                      78260d1c-fff8-43f8-be73-9be8dcda12d6-image.png

                      1 Reply Last reply
                      0
                      • SweetPS Offline
                        SweetPS Offline
                        SweetP
                        wrote on last edited by
                        #11

                        do you have any other browsers installed in your Mac
                        if so, do they work on Quit?

                        ~
                        Russell
                        SweetPProductions.com

                        A 1 Reply Last reply
                        0
                        • SweetPS SweetP

                          @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

                          A Offline
                          A Offline
                          abitgame
                          wrote on last edited by
                          #12

                          @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" ?

                          1 Reply Last reply
                          0
                          • SweetPS SweetP

                            do you have any other browsers installed in your Mac
                            if so, do they work on Quit?

                            A Offline
                            A Offline
                            abitgame
                            wrote on last edited by
                            #13

                            @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.

                            0b94c954-9d96-4f57-ba8f-f07d979bf732-image.png

                            when i quit chrome, it auto delete all cookies, and show a notification:

                            4d0af259-745f-4021-b820-0ee69d2f40f8-image.png

                            1 Reply Last reply
                            0
                            • A Offline
                              A Offline
                              abitgame
                              wrote on last edited by
                              #14

                              is there any different for safari quiting / chrome quiting?

                              1 Reply Last reply
                              0
                              • A Offline
                                A Offline
                                abitgame
                                wrote on last edited by
                                #15

                                It seems to be a problem with the system language, if I set the system language to English, cookieapp can monitor safari quiting.

                                image.png

                                But as long as the system language is changed to another language, the application name of safari will change, it will not work.

                                image.png

                                SweetPS 1 Reply Last reply
                                0
                                • SweetPS Offline
                                  SweetPS Offline
                                  SweetP
                                  wrote on last edited by SweetP
                                  #16

                                  @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

                                  ~
                                  Russell
                                  SweetPProductions.com

                                  1 Reply Last reply
                                  0
                                  • A abitgame

                                    It seems to be a problem with the system language, if I set the system language to English, cookieapp can monitor safari quiting.

                                    image.png

                                    But as long as the system language is changed to another language, the application name of safari will change, it will not work.

                                    image.png

                                    SweetPS Offline
                                    SweetPS Offline
                                    SweetP
                                    wrote on last edited by
                                    #17

                                    @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

                                    ~
                                    Russell
                                    SweetPProductions.com

                                    A 1 Reply Last reply
                                    0
                                    • SweetPS SweetP

                                      @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

                                      A Offline
                                      A Offline
                                      abitgame
                                      wrote on last edited by SweetP
                                      #18

                                      @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-mHu7XQ

                                      great! it works for non-english system!

                                      SweetPS 1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        abitgame
                                        wrote on last edited by
                                        #19

                                        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.

                                        image.png

                                        SweetPS 1 Reply Last reply
                                        0
                                        • A abitgame

                                          @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-mHu7XQ

                                          great! it works for non-english system!

                                          SweetPS Offline
                                          SweetPS Offline
                                          SweetP
                                          wrote on last edited by
                                          #20

                                          @tuancc said in cannot auto delete on safari exit:

                                          great! it works for non-english system!

                                          Super nice!
                                          thanks for your help
                                          Ill clean up the code and release this officially later today.

                                          ~
                                          Russell
                                          SweetPProductions.com

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags