pinokiod 1.0.20 → 1.0.22

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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("PROMPT", { a, b })
406
- }
407
404
  let loaded = {}
408
405
  let cursorIndex = 0;
409
406
  const getTarget = (href) => {
@@ -581,10 +578,6 @@ console.log({ type, index })
581
578
  "allow",
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
- frame.contentWindow.prompt = function(a, b) {
585
- console.log("prompt1", { a, b })
586
- return prompt(a, b)
587
- }
588
581
  document.querySelector("main").appendChild(frame)
589
582
  loaded[target.target] = true
590
583
  }
@@ -691,10 +684,6 @@ const addTab = async (url) => {
691
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 *;"
692
685
  )
693
686
  document.querySelector("main").appendChild(frame)
694
- frame.contentWindow.prompt = function(a, b) {
695
- console.log("prompt", { a, b })
696
- return prompt(a, b)
697
- }
698
687
 
699
688
  await syncTabs()
700
689