0
通过使用window.location = skp:[email protected]
在Sketchup上触发回调来完成Sketchup与其webdialog之间的通信。这样做时,它不会加载另一个页面,其中this question使用。window.location中的日志更改
有没有扩展window.location的方法来记录控制台没有加载新页面时所做的更改?
通过使用window.location = skp:[email protected]
在Sketchup上触发回调来完成Sketchup与其webdialog之间的通信。这样做时,它不会加载另一个页面,其中this question使用。window.location中的日志更改
有没有扩展window.location的方法来记录控制台没有加载新页面时所做的更改?
你可以尝试hashchange
事件,当一个窗口的哈希值发生变化
https://developer.mozilla.org/en/docs/Web/API/WindowEventHandlers/onhashchange
window
.addEventListener("hashchange", function(event){
console.log(event.newURL); //document.URL
}, false);
火灾