host-nav:复制链接直接打开的页面不回首页旧位置(清 mmbox.homepos.v1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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=26110905', 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=26110907', document.currentScript.src).href; document.head.appendChild(hs); } } catch (e) {}
|
||||
'use strict';
|
||||
var D = window.TOPIC;
|
||||
if (!D) return;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
(function (g) {
|
||||
'use strict';
|
||||
/* 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=26110905', 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=26110907', document.currentScript.src).href; document.head.appendChild(hs); } } catch (e) {}
|
||||
var $ = function (s) { return document.querySelector(s); };
|
||||
var DAY = 864e5;
|
||||
function today() { var n = new Date(Date.now() + 288e5); return Date.UTC(n.getUTCFullYear(), n.getUTCMonth(), n.getUTCDate()); }
|
||||
|
||||
Reference in New Issue
Block a user