pinokiod 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/server/views/browser.ejs
CHANGED
|
@@ -401,9 +401,6 @@ body.dark #new-tab {
|
|
|
401
401
|
</main>
|
|
402
402
|
</div>
|
|
403
403
|
<script>
|
|
404
|
-
window.prompt = (a, b) => {
|
|
405
|
-
console.log("global overridden prompt", { a, b })
|
|
406
|
-
}
|
|
407
404
|
let loaded = {}
|
|
408
405
|
let cursorIndex = 0;
|
|
409
406
|
const getTarget = (href) => {
|
|
@@ -582,11 +579,6 @@ console.log({ type, index })
|
|
|
582
579
|
"clipboard-read *; clipboard-write *; accelerometer *; ambient-light-sensor *; autoplay *; battery *; camera *; display-capture *; gamepad *; geolocation *; gyroscope *; hid *; identity-credentials-get *; microphone *; midi *; otp-credentials *; serial *;"
|
|
583
580
|
)
|
|
584
581
|
document.querySelector("main").appendChild(frame)
|
|
585
|
-
frame.onload = () => {
|
|
586
|
-
frame.contentWindow.prompt = (a, b) => {
|
|
587
|
-
console.log("1 overridden prompt", { a, b })
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
582
|
loaded[target.target] = true
|
|
591
583
|
}
|
|
592
584
|
} else {
|
|
@@ -692,11 +684,6 @@ const addTab = async (url) => {
|
|
|
692
684
|
"clipboard-read *; clipboard-write *; accelerometer *; ambient-light-sensor *; autoplay *; battery *; camera *; display-capture *; gamepad *; geolocation *; gyroscope *; hid *; identity-credentials-get *; microphone *; midi *; otp-credentials *; serial *;"
|
|
693
685
|
)
|
|
694
686
|
document.querySelector("main").appendChild(frame)
|
|
695
|
-
frame.onload = () => {
|
|
696
|
-
frame.contentWindow.prompt = (a, b) => {
|
|
697
|
-
console.log("2 overridden prompt", { a, b })
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
687
|
|
|
701
688
|
await syncTabs()
|
|
702
689
|
|