If pages contains pages with content from other domains, we can't process them
because of the same origin policy. In this case the window.document is
undefined and no hint could be shown. To solve the problem, we leaf the
hinting helper if we cant access the document.
function _helper(win, offsetX, offsetY)
{
+ /* document may be undefined for frames out of the same origin
+ * policy and will break the whole code - so we check this before */
+ if (typeof(win.document) === 'undefined') {
+ return;
+ }
var doc = win.document;
var fragment = doc.createDocumentFragment();