Stop Firefox asking to store data for offline use

0 favourites
  • 10 posts
From the Asset Store
Data+ is the best Data Management solution for Construct 3. It contains 4 Addons (Plugin & Behavior).
  • If I open my Construct2 game webpage using Firefox, it always comes up with a prompt asking if I want to allow this website to store data on my computer for offline use.

    This happens regardless of what the program is actually doing.

    Is there any way to prevent this? I think it would quite offputting for people using the game as it looks like the website is trying to do something dodgy...

  • I really doubt this. If we could prevent it, the 'dodgy' people certainly could...

  • If I open my Construct2 game webpage using Firefox, it always comes up with a prompt asking if I want to allow this website to store data on my computer for offline use. ... Is there any way to prevent this? I think it would quite offputting for people using the game as it looks like the website is trying to do something dodgy...

    In Firefox > Options | Advanced | Network | Uncheck 'Tell me when a website asks to store data for offline use'.

    This is a choice for the user and allowing a website to override it would indeed be dodgy.

  • It looks like my original question was unclear.

    I don't want to override the browsers security settings.

    What I don't understand is why Construct2 wants to store data for offline use at all. I can understand why some games might want to do this, but it seems odd to have it on by default with no obvious way to turn it off...

  • The game itself is stored so you can play offline and don't have to re-download it when you visit the site unless it has been updated.

    I think you can just delete the second line in index.html if you really don't want it to:

    <html manifest="offline.appcache">
    
  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Steerpike

    I see what you mean.

    ...I think you can just delete the second line in index.html if you really don't want it to:

    > <html manifest="offline.appcache">
    

    eave the 'html' though!

    <html>
    
  • This means people will have to redownload the game every time, however...

  • Leave the 'html' though!

    > <html>
    

    Ha... yeah <img src="smileys/smiley26.gif" border="0" align="middle" />

  • There's a helpful discussion here of what 'manifest="offline.appcache"' does.

    Without seeing the C2 cache manifest, we can't be sure what exactly is being cached offline.

  • By default C2 games cache everything to disk so they can keep working offline. See Offline games in Construct 2 for more information. I'm not sure why, but Firefox makes a prompt about this. Chrome doesn't make any prompt. If you allow it for the domain then the user will never see it again for your website.

    You can take off the manifest attribute from the HTML tag like others have shown, but this means the game will no longer work offline, and could waste bandwidth from users who re-play the game a lot. I think it is just better to warn your users that the alert appears because of offline support, or ask Mozilla to remove the prompt.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)