pinokiod 3.80.0 → 3.81.0

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": "3.80.0",
3
+ "version": "3.81.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -69,7 +69,7 @@ function initUrlDropdown(config = {}) {
69
69
  let u = new URL(val)
70
70
  if (String(u.port) === "42000") {
71
71
  // pinokio app => open the url itself
72
- window.open(val, "_blank")
72
+ window.open(val, "_blank", 'self')
73
73
  } else {
74
74
  // other servers => open in pinokio redirect frame
75
75
  let redirect_uri = "/container?url=" + val
@@ -347,7 +347,7 @@ function initUrlDropdown(config = {}) {
347
347
  button.addEventListener('click', function(e) {
348
348
  e.stopPropagation();
349
349
  const networkUrl = this.getAttribute('data-network-url');
350
- window.open(networkUrl, '_blank');
350
+ window.open(networkUrl, '_blank', 'self');
351
351
  });
352
352
  });
353
353
  }
@@ -570,7 +570,7 @@ function initUrlDropdown(config = {}) {
570
570
  button.addEventListener('click', function(e) {
571
571
  e.stopPropagation();
572
572
  const networkUrl = this.getAttribute('data-network-url');
573
- window.open(networkUrl, '_blank');
573
+ window.open(networkUrl, '_blank', 'self');
574
574
  });
575
575
  });
576
576
  }