Coder Social home page Coder Social logo

Comments (7)

iamnoah avatar iamnoah commented on July 17, 2024

There is quite a bit of browser detection. This is the source I see: http://jsfiddle.net/uuEFF/

Unfortunately, I have no idea what it might be doing that causes the issue. I assume you have tried all the different options?

from writecapture.

 avatar commented on July 17, 2024

I checked this because I'm considering using this for async ads too, but it needs to be cross-platform and support IE7 and later. I tried it on XP with IE8, Chrome 15, and Firefox 7, and Chrome was the ONLY one that worked. So, this code doesn't work in Firefox either under Windows XP. I don't know the solution but hope this information will help someone else solve it. Also brewt are you sure you were using Firefox and not Chrome or Safari when you did your successful test?

from writecapture.

iamnoah avatar iamnoah commented on July 17, 2024

Have you tried passing all the different options to writeCapture? https://github.com/iamnoah/writeCapture/wiki/Options

You might also try the user list: http://groups.google.com/group/writecapturejs-users

from writecapture.

brewt avatar brewt commented on July 17, 2024

proxyGetElementById works, but only with the jQuery plugin (ie. doesn't work with nolib). But the problem is that the option breaks Google Adsense ads, so that isn't a viable solution.

from writecapture.

iamnoah avatar iamnoah commented on July 17, 2024

AdSense ads probably wont work at all... If for some reason they do work, you can make separate calls for AdSense and the other ads.

from writecapture.

brewt avatar brewt commented on July 17, 2024

I believe Adsense is working for us here, but we haven't deployed writeCapture on the live site yet, so it's hard to tell which ones are broken due to Adsense not liking our dev domain and which are due to writeCapture.

from writecapture.

alexindigo avatar alexindigo commented on July 17, 2024

I had similar problem with flash ads not showing in IE.

But if you trigger rendering it will show the ad.

Originally I added trigger to the closing tag for 'OBJECT' (element.write),
but when you have more than one element on the page IE7 crashes.

So in my final version I added following code to the writeCapture.close method:

        else if(listeners.done)
        {

          if (id == 0 && navigator.userAgent.match(/MSIE/))
          {
            setTimeout(function()
            {
              document.body.innerHTML = document.body.innerHTML + '';
            }, 100);
          }

          return listeners.done();
        }

from writecapture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.