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 8217491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T12:29:09+00:00 2026-06-07T12:29:09+00:00

I’m writing a web application platform that serves JavaScript applications to a browser. Needless

  • 0

I’m writing a web application platform that serves JavaScript applications to a browser. Needless to say, I launch an application with a JS method after the document has loaded, but on IE9 nothing happens if the developer console hasn’t been fiddled with.

This seems like the typical missing console problem, but I couldn’t fix it by adding a check for console or removing console calls from the source code.

Can you guys spot where I’m going wrong?

  • The site: http://eiskis.net/proot/pika/proot/
  • JS source: http://eiskis.net/proot/pika/proot/assets/behavior

I’m serving multiple separate web apps with the same platform, so you can also check out the following (the problem appears the same all over):

  • http://eiskis.net/proot/pika/baseline
  • http://eiskis.net/proot/pika/docs
  • http://eiskis.net/proot/pika/fails
  • http://eiskis.net/proot/pika/helloworld
  • 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-07T12:29:10+00:00Added an answer on June 7, 2026 at 12:29 pm

    Object.keys is not supported in all versions of internet explorer :
    Please refer to the following : https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/keys
    The following (from the source mentioned above) adds Object.keys to the browsers that do not support it :

    
    if (!Object.keys) {
      Object.keys = (function () {
        var hasOwnProperty = Object.prototype.hasOwnProperty,
            hasDontEnumBug = !({toString: null}).propertyIsEnumerable('toString'),
            dontEnums = [
              'toString',
              'toLocaleString',
              'valueOf',
              'hasOwnProperty',
              'isPrototypeOf',
              'propertyIsEnumerable',
              'constructor'
            ],
            dontEnumsLength = dontEnums.length
    
        return function (obj) {
          if (typeof obj !== 'object' && typeof obj !== 'function' || obj === null) throw new TypeError('Object.keys called on non-object')
    
          var result = []
    
          for (var prop in obj) {
            if (hasOwnProperty.call(obj, prop)) result.push(prop)
          }
    
          if (hasDontEnumBug) {
            for (var i=0; i 

    In addition, your method of checking the existence of console is erroneous :

    Try running (http://jsfiddle.net/PytAh/) in internet explorer:

    if (console){
        alert("there");
    } else {
        alert("not there");
    }
    

    It will generate an error showing that console does not exist.
    You can replace it by :

    if (window.console){
        alert("there");
    } else {
        alert("not there");
    }
    

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
I am reading a book about Javascript and jQuery and using one of the
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a

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.