etimbo/jquery-print-preview-plugin — Issue #3: plugin conflicts with addthis.com javascript
Author: rajvindergill
Created: 2012-01-25 16:39:37+00:00
State: open

Hi,

Thanks for this plugin - it looks fantastic!

I have started to integrate this into a client website and was getting a javascript error - the plugin only seems to work if I remove the reference to addthis.com:
http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4e9812af070b6bcc

Is this an issue you are aware of?

Firebug - console shows the following error.

Permission denied to access property 'name'
[Break On This Error]

if (window.frames[i].name == "print-frame") {

Thanks,
Raj