|
|
@@ -263,7 +263,7 @@
|
|
|
style="height: 650px; width: 95%; margin: 0 auto">
|
|
|
<iframe style="width: 100%; height: 100%; border: none" :src="chapterlist[chapterIndex].src"
|
|
|
security="restricted"
|
|
|
- :sandbox="isCoco"></iframe>
|
|
|
+ sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts"></iframe>
|
|
|
</div>
|
|
|
<div class="wheel" v-if="chapterlist[chapterIndex].type == 9"
|
|
|
style="height: 650px; width: 95%; margin: 0 auto">
|
|
|
@@ -569,7 +569,7 @@
|
|
|
style="height: 650px; width: 98%">
|
|
|
<iframe style="width: 100%; height: 100%; border: none"
|
|
|
:src="tool.toolData[tool.sourceIndex].src" security="restricted"
|
|
|
- :sandbox="isCoco"></iframe>
|
|
|
+ sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts"></iframe>
|
|
|
</div>
|
|
|
<div class="wheel" v-if="tool.toolData[tool.sourceIndex].type == 9"
|
|
|
style="height: 650px; width: 98%">
|
|
|
@@ -2880,9 +2880,6 @@ export default {
|
|
|
this.timer = null;
|
|
|
},
|
|
|
computed: {
|
|
|
- isCoco(){
|
|
|
- return window.location.href.includes("cocorobo") ? '' : 'allow-top-navigation allow-same-origin allow-forms allow-scripts'
|
|
|
- },
|
|
|
contentConvent() {
|
|
|
return function (c) {
|
|
|
return c
|