mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 00:14:06 +00:00
website sandbox allow same origin
This commit is contained in:
parent
7bac467588
commit
082c0a2728
|
@ -401,7 +401,7 @@ sptr< DataRequest > WebSiteDictionary::getArticle( wstring const & str,
|
||||||
"onmouseout=\"processIframeMouseOut();\" "
|
"onmouseout=\"processIframeMouseOut();\" "
|
||||||
"scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" "
|
"scrolling=\"no\" marginwidth=\"0\" marginheight=\"0\" "
|
||||||
"frameborder=\"0\" vspace=\"0\" hspace=\"0\""
|
"frameborder=\"0\" vspace=\"0\" hspace=\"0\""
|
||||||
"style=\"overflow:visible; width:100%; display:block;\" sandbox=\"allow-scripts allow-popups\">"
|
"style=\"overflow:visible; width:100%; display:block;\" sandbox=\"allow-same-origin allow-scripts allow-popups\">"
|
||||||
"</iframe>";
|
"</iframe>";
|
||||||
|
|
||||||
dr->getData().resize( result.size() );
|
dr->getData().resize( result.size() );
|
||||||
|
|
Loading…
Reference in a new issue