Open
Description
Using neo4j 3.1.0, running on local port 7474 (modified graphgist.js
) uncommented console.log in console.js
window.setTimeout(function () {
try {
if (iframeWindow.location && iframeWindow.location.href) {
var consoleLocation = iframeWindow.location.href;
if (consoleLocation.indexOf('neo4j') === -1 && consoleLocation.indexOf('localhost') === -1) {
$iframe.replaceWith('<div class="alert alert-error"><h4>Error!</h4>The console can not be loaded. Please turn off ad blockers and reload the page!</div>');
}
}
} catch (err) {
// for debugging only
console.log(err)
}
}, 2000);
});
See javascript console log of
DOMException: Blocked a frame with origin "http://localhost:8000" from accessing a cross-origin frame.
at http://localhost:8000/js/console.js:71:71
Done what I can to make sure there's no CORS interference on the HTTP hosting the gist as well as Neo4j. Chrome appears to have a known issue with CORS and localhosts. Firefox has a different error.
Metadata
Metadata
Assignees
Labels
No labels