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

  • Home
  • SEARCH
  • 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 8937117
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T10:21:13+00:00 2026-06-15T10:21:13+00:00

I found this little bit of code over at devloper.Mozilla. addEventListener compatibility Does that

  • 0

I found this little bit of code over at devloper.Mozilla.
addEventListener compatibility

Does that code on that page look like it’s viable to make addEventListener cross browser?

I don’t really have any access to a bunch of old browsers to test it so I thought I’d ask here first.

All new browsers support addEventListener so it’s not too big of a deal. I’m just interested in what’s available to provide functionality to old browsers and if Mozzilla’s shim is worthy.

I like libraries like jQuery, YUI and prototype, and I know that’s an option to make events easier(as it is with all js libraries) so think of this question as academic. For the spirit of learning.

  • 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-06-15T10:21:14+00:00Added an answer on June 15, 2026 at 10:21 am

    The code you’ve linked to looks decent and as far as I know it should work. If I were you however I would start by diving into jQuery source to look for how they are doing it, since jQuery is under constant development, unlike (assuming) example from developer.Mozilla.

    Replace jQuery with any other library you’re feeling comfortable with looking into.

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

Sidebar

Related Questions

found this little code snippet that seems to do what i want, but im
I found this little bit of code in a project: if ($(.c1 .c2).is(:hidden)){ $(.c1).hide();
I've recently added this little bit of code to my .htaccess file: RewriteCond %{REQUEST_FILENAME}
I'm programming an iPhone app that uses a little bit of javascript code for
I found this HOT bit of jQuery that actually allows you to replicate font-variant:
I'm trying to maintain/update/rewrite/fix a bit of Python that looks a bit like this:
I pondered on this one a little bit. Found a few question on SO
I've done a little bit of research and have found that using setTimeout() causes
I've searched a little bit around SO and haven't found any questions/answers that are
Say I have this little bit of code: public static void LoadSomething(Type t) {

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.