Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
      4. Frontier Pursuits
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. DLC
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
      7. The Diamond Casino Heist
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA IV Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA SA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA VC Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA III Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. News

    2. Forum Support

    3. Site Suggestions

Talisman_83

Browser notifications

Recommended Posts

Talisman_83

giphy.gif

 

I don't know how many times I've clicked the x just to close this, for it to reappear.. and reappear. Getting a bit tired of this.

Shouldn't there be a flag being set (true / false) to say whether a user has elected to have browser notifications enabled and allow an opt-in / out?

Share this post


Link to post
Share on other sites
Spider-Vice

I haven't seen that pop-up since the first time I X'd out of it. Could be a cookie issue, try removing all your cookies for GTAForums, logging back in and seeing if it sticks.

Share this post


Link to post
Share on other sites
Talisman_83

I could try that, but I'm guessing if whatever logic is still in place, after I delete my cookies, the pop-up will reappear and be added to my newly created cookie.

Will try though.

Edited by Talisman_83

Share this post


Link to post
Share on other sites
Spider-Vice

Not necessarily, there could be some stuck cookie that doesn't register that you've closed the notification so it no longer appears and might be fixed by clearing your cookies. This cookie might be broken for you for example:

VTxBvNU.png 

 

So I still suggest clearing them to eliminate that as a cause. :) 

Share this post


Link to post
Share on other sites
Talisman_83

I did have that cookie set, value was true.

Deleted all, logged back in, will observe future behaviour.

 

Cheers Spider

 

  • Like 1

Share this post


Link to post
Share on other sites
Talisman_83

Ok, this is a bit mental..

 

Spoiler

 

1. It returned (note the time)

 

cf58ccec4f486f9b5e99c16af3ec89fe-full.pn

 

2. These were my cookies at that time, before did anything further.

 

37880d8df7cbe18e17c030ac3c63bcff-full.pn

 

3. I clicked the button to enable browser notifications. I didn't click X to close. These were my cookies after that event:

 

168b0704be8b1c147c26af12e9165af6-full.pn

 

4. I pulled the tab into a new window as I wanted to focus on some comments on the Next DLC thread.

 

5. I replaced the window as a tab and it f*cking reappeared!

 

790407b40dc68e3acb9b3aada33cb584-full.pn

 

5. Cookies (I haven't clicked to enable or to X yet

 

3c08c151f35ebc80322f3ddb963356fc-full.pn


 

 

 

 

 

PS - Checking front_front_core.js, perhaps this isn't being fired:

 

this.on(document, 'permissionDenied.notifications', this.hideNotice);

 

or possibly this piece of logic isn't correct or being fired:

 

dismissNotification: function(e) {
            if (e) {
                e.preventDefault();
            }
            var date = new Date();
            date.setDate(date.getDate() + 100);
            ips.utils.cookie.set('browserNotificationDismiss', true, date.toUTCString());
            this.scope.slideUp({
                duration: 400,
                complete: function() {
                    $(this).remove();
                }
            });
        }

Share this post


Link to post
Share on other sites
Talisman_83

Follow-up:

 

I clicked X to close, refreshed the page and this appeared:

 

ae0297835582505d6f5e89d8a99fb563-full.pn

 

Surely this setting shouldn't be in a cookie with an expiry of a week from now?

Can the cookie expiry value not be set to 01-01-9999 or something?

Or perhaps don't store it at session-level and instead, add it as a flag on your profile?

Having it as a property on your member data would make more sense.

 

Just my 2 cents

Share this post


Link to post
Share on other sites
ṼirulenⱦEqừinox
On 12/1/2019 at 5:59 PM, Talisman_83 said:

Follow-up:

 

I clicked X to close, refreshed the page and this appeared:

 

ae0297835582505d6f5e89d8a99fb563-full.pn

 

Surely this setting shouldn't be in a cookie with an expiry of a week from now?

Can the cookie expiry value not be set to 01-01-9999 or something?

Or perhaps don't store it at session-level and instead, add it as a flag on your profile?

Having it as a property on your member data would make more sense.

 

Just my 2 cents

What browser are you using?

 

I use Chrome and was given the option to Accept/Block notifications and once I selected Block it never appeared again

Share this post


Link to post
Share on other sites
Talisman_83
8 hours ago, ṼirulenⱦEqừinox said:

What browser are you using?

 

I use Chrome and was given the option to Accept/Block notifications and once I selected Block it never appeared again

 

Safari, though its happened on Chrome too.

It goes away for a while, but then returns

Edited by Talisman_83

Share this post


Link to post
Share on other sites
Spider-Vice

Has it happened recently? I think IPB has pushed some more updates related to this.

Share this post


Link to post
Share on other sites
Talisman_83
44 minutes ago, Spider-Vice said:

Has it happened recently? I think IPB has pushed some more updates related to this.

Not for a while actually - I'll keep an eye on it and report back if it crops up again

Edited by Talisman_83
  • Like 1

Share this post


Link to post
Share on other sites
ṼirulenⱦEqừinox
12 hours ago, Talisman_83 said:

 

Safari, though its happened on Chrome too.

It goes away for a while, but then returns

Hmm weird but at least it looked to haves stopped for you.

 

I use safari on mobile and personally never  saw that box appear even when ad-blocker is turned off and the only thing I’ve gotten on PC via Chrome is the

Allow/Block notifications

box that pops up I clicked block and never saw it again

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.