remark
remark copied to clipboard
document.origin is deprecated
Chrome is reporting the following warning in the console:
document.origin is deprecated and will be removed in M70, around October 2018. Please use self.origin (window.origin) instead
The code in question is here
The fix appears to be simple: replacing it with window.origin
. This works on the latest Chrome. Not sure if there are any problems in other browsers. It doesn't appear to cause any problems in the latest Safari and Firefox in my Mac.