xdomain icon indicating copy to clipboard operation
xdomain copied to clipboard

Timeout on iframe creates an alertbox that cannot be avoided

Open Fietsje opened this issue 9 years ago • 1 comments

When there is a timeout on the iframe that is created, an alert box pops up stating that there is a timeout (which is correct). However there is no way to override that behavior. It`s also the only alert box in xdomain.js.

Fietsje avatar Jun 02 '15 18:06 Fietsje

its not documented, but you should be able to:

xdomain.warn = function() {
  //use a warning different function which doesnt alert
};

jpillora avatar Jun 03 '15 02:06 jpillora