pinokiod 1.0.41 → 1.0.43
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 +1 -1
- package/server/views/browser.ejs +6 -1
package/package.json
CHANGED
package/server/views/browser.ejs
CHANGED
|
@@ -622,7 +622,7 @@ const renderSelection = (e, force) => {
|
|
|
622
622
|
console.log("> url", url)
|
|
623
623
|
document.querySelector("#open-browser").href = url
|
|
624
624
|
document.querySelector("#clone-tab").setAttribute("data-href", url)
|
|
625
|
-
document.querySelector("#location").innerHTML = url
|
|
625
|
+
// document.querySelector("#location").innerHTML = url
|
|
626
626
|
|
|
627
627
|
|
|
628
628
|
// select the selected target element (tab)
|
|
@@ -1155,6 +1155,11 @@ window.addEventListener('message', (event) => {
|
|
|
1155
1155
|
addTab(event.data.action.url)
|
|
1156
1156
|
} else if (event.data.action.type === "title") {
|
|
1157
1157
|
console.log("title", event.data)
|
|
1158
|
+
} else if (event.data.action.type === "location") {
|
|
1159
|
+
let url = event.data.action.url
|
|
1160
|
+
console.log({ action: event.data.action })
|
|
1161
|
+
document.querySelector("#open-browser").href = url
|
|
1162
|
+
document.querySelector("#location").innerHTML = url
|
|
1158
1163
|
}
|
|
1159
1164
|
} else if (event.data.type) {
|
|
1160
1165
|
if (event.data.type === 'disconnect') {
|