Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6843065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T00:12:05+00:00 2026-05-27T00:12:05+00:00

I am trying to troubleshoot this by capturing any storage events that remove values

  • 0

I am trying to troubleshoot this by capturing any storage events that remove values from local storage. I have an always open dummy page that begins an event listener on load as such:

window.addEventListener("storage", function (evt) { if (evt.newValue == null || (evt.oldValue != "" && evt.newValue == "")) {alert(evt.url);} });

The listener fires just fine. That is not the issue. My issue is that the alert(evt.url) returns "undefined" in mobile browsers. Works just fine on Chrome.

The device is the Samsung Galaxy Tab running Gingerbread OS. The browsers are Dolphin HD and the stock webkit browser.

Edit: Tried it on the iPhone and all works just fine on Safari. Also, the problem only seems to pertain to the url attribute. oldValue, newValue and key all return values.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T00:12:05+00:00Added an answer on May 27, 2026 at 12:12 am

    As far as I understand Web Storage Events have very limited adoption rate among browsers, most of the implementation to date are partial with only Opera (and Chrome) coming close to the W3C standard. See Wikipedia and this Blog post.

    I dont think it is very far fetched that while desktop versions of Chrome support ‘events’ in Web Storage (somewhat), the functionality has not been ported to most Android devices which rely on system updates (rather than through the app market) to keep their browsers updated.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to troubleshoot this by capturing any storage events that remove values
I have a software-hardware related issue that I'm trying to troubleshoot. My app was
I've been trying to troubleshoot this, but can't find a good function that will
I've spent about a week trying to troubleshoot this - tried just about every
I'm trying to troubleshoot this problem using SQL Profiler (SQL 2008). After days of
I am trying to troubleshoot why IE is slow slow processing this javascript compared
I am trying to troubleshoot an issue that is popping up on our new
I'm trying to troubleshoot this code and I'm getting this error and I do
I'm desperate having spent well over an hour trying to troubleshoot this. I am
I have been trying to troubleshoot for a while now and I officially give

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.