location.pathname
) 来关联的,感觉这种不友好比如下面三个地址,其实指向同一个页面index.html
,但评论区却是互相独立
https://example.com/
https://example.com/index
https://example.com/index.html
用首页举例可能不太合适,那换一种:万一博客站原先是 blog.com/a/aa.html
现在想改为 blog.com/b/bb.html
[doge]
有那种以类似 id 关联的第三方评论系统吗?比如在页面 A var pageId='id-A';
页面 B var pageId='id-B';
然后第三方评论系统取值pageId
来关联
1
lxk11153 OP - https://disqus.com/admin/universalcode/ 不过被墙
-- https://help.disqus.com/en/articles/1717084-javascript-configuration-variables --- embed.js embed.min.js embed.dist.js - livere: 详见 pdf livereOptions.refer ---- 更多: https://3mile.github.io/archives/128/ |