I set document.domain in my web page as requested by the README file to make fullscreen mode work with Chrome. When opening the web page in IE, I get the error SCRIPT5: Access is denied.
Problem turned out to be that etherpad-lite sets document.domain for Chrome but not for IE:
if ((!browser.msie) && (!(browser.firefox && browser.version.indexOf("1.8.") == 0)))
{
document.domain = document.domain; // for comet
}
It is hard to debug the value of document.domain, as you always get the current domain, even if document.domain is undefined. But for two frames to be able to communicate both values have to be either undefined or set to the same value.
I did not want to reimplement the whole browser detection in my web page to decide, if a have to set the document.domain. Thus I removed all settings of document.domain from etherpad-lite. Fullscreen mode now runs flawlessly with Chrome, Firefox, Safari and Internet Explorer.
I set document.domain in my web page as requested by the README file to make fullscreen mode work with Chrome. When opening the web page in IE, I get the error SCRIPT5: Access is denied.
Problem turned out to be that etherpad-lite sets document.domain for Chrome but not for IE:
if ((!browser.msie) && (!(browser.firefox && browser.version.indexOf("1.8.") == 0))) { document.domain = document.domain; // for comet }
It is hard to debug the value of document.domain, as you always get the current domain, even if document.domain is undefined. But for two frames to be able to communicate both values have to be either undefined or set to the same value.
I did not want to reimplement the whole browser detection in my web page to decide, if a have to set the document.domain. Thus I removed all settings of document.domain from etherpad-lite. Fullscreen mode now runs flawlessly with Chrome, Firefox, Safari and Internet Explorer.