diff --git a/src/templates/timeslider.html b/src/templates/timeslider.html
index af0a8f02f..f52c0c508 100644
--- a/src/templates/timeslider.html
+++ b/src/templates/timeslider.html
@@ -246,10 +246,6 @@
$ = jQuery = require('ep_etherpad-lite/static/js/rjquery').jQuery; // Expose jQuery #HACK
browser = require('ep_etherpad-lite/static/js/browser');
- if ((!browser.msie) && (!(browser.mozilla && browser.version.indexOf("1.8.") == 0))) {
- document.domain = document.domain; // for comet
- }
-
var plugins = require('ep_etherpad-lite/static/js/pluginfw/client_plugins');
var socket = require('ep_etherpad-lite/static/js/timeslider').socket;
BroadcastSlider = require('ep_etherpad-lite/static/js/timeslider').BroadcastSlider;
diff --git a/tests/frontend/runner.js b/tests/frontend/runner.js
index 4801b95cb..e77f6707f 100644
--- a/tests/frontend/runner.js
+++ b/tests/frontend/runner.js
@@ -161,12 +161,6 @@ $(function(){
}
}
- //allow cross iframe access
- var browser = bowser;
- if ((!browser.msie) && (!(browser.mozilla && browser.version.indexOf("1.8.") == 0))) {
- document.domain = document.domain; // for comet
- }
-
//http://stackoverflow.com/questions/1403888/get-url-parameter-with-jquery
var getURLParameter = function (name) {
return decodeURI(