host-nav:跳转标记只用真实 localStorage(maternal-bridge 镜像层会换掉 window.localStorage)+ cookie 兜底

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
deploy
2026-11-09 15:38:14 +00:00
parent c189813d28
commit 1c18dedf92
18 changed files with 50 additions and 21 deletions

View File

@@ -6,7 +6,7 @@
*/
(function () {
/* 11-09 小程序「复制链接」直达:加载 js/host-nav.js(容器页返回走 navigateBack、页内链接开容器页) */
try { if (!window.MBHost && document.currentScript) { var hs = document.createElement('script'); hs.src = new URL('../../js/host-nav.js?v=26110907', document.currentScript.src).href; document.head.appendChild(hs); } } catch (e) {}
try { if (!window.MBHost && document.currentScript) { var hs = document.createElement('script'); hs.src = new URL('../../js/host-nav.js?v=26110908', document.currentScript.src).href; document.head.appendChild(hs); } } catch (e) {}
'use strict';
var D = window.TOPIC;
if (!D) return;