With Firefox exception is thrown in core1.2.4 li 3602.
A try/catch is needed up to Array.each block. That is:
try {
var rules = sheet.rules || sheet.cssRules;
...
to[style] = (value.test(/^rgb/)) ? value.rgbToHex() : value;
});
});
} catch (e) {}
sorry for the formatting...
Giuliano
1
vote
anonymous
shared this idea