Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Problem with writeCapture + Pointroll ads HOT 16
- TypeError in replaceWith (nolib-support.js) HOT 2
- Ads not respecting destination div#id and loading in the wrong place HOT 3
- Incompatible with AdSense/DFP? HOT 2
- Using writeCapture to change ads through a gallery HOT 1
- How Do I Install This Plugin? HOT 3
- Fails with <script foo="bar"src="baz"> HOT 1
- Two ads on a page causing type error HOT 2
- el is undefined when calling the function before currents adds have finished HOT 1
- Wait to finish before next capture? HOT 3
- Ajax callbacks not firing properly HOT 8
- doXDomainLoad fails to make a network request HOT 1
- In safari 5.1 writeCapture dosent work properly HOT 3
- Problem in safari browsers & problem in working with writeCapture 2 HOT 1
- Ad load for specific ad format blocks other successive ads on page. HOT 1
- Error: no element in writen markup with id __ executing code: <proxyGetElementById - finish> HOT 1
- Ads code loading into wrong destination HOT 1
- Does not emulate document.write properly with Rich Ads HOT 2
- [enhancement] Add missing bower.json.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from writecapture.