Hello fellow Adapteers
In the adapt-close extension:
https://github.com/cgkineo/adapt-close
the code: "top.window.close();" should close the window, but when running the code in Chrome I get the error:
"Scripts may close only the windows that were opened by it."
As far as I understand this, it is a Chrome thing to not allow for a window to be closed by a script unless the window has been opened by the script in the first place.
Firefos does the same, but Microsoft Edge and Internet Explorer 11 works fine.
Is there a way around this issue?
Thanks
Henrik