-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
展开动态内容失效 #4633
Comments
貌似跟动态类型有关,在我这边转发视频类的动态内容没有自动展开(我用的是新版动态首页)
logs
BE v2.8.8-27-g3981ed7b6,TM Beta 5.0.6192,Edge 121.0.2277.128 |
<div class="card"><div class="bili-dyn-item" data-type="2" data-did="903391889320837142"><!----> <div class="bili-dyn-item__main"><div class="bili-dyn-item__avatar"><div data-module="avatar" class="bili-dyn-avatar" style="width: 48px; height: 48px;"><!----><div class="b-avatar" style="width: 48px; height: 48px;"><div class="b-avatar__canvas" style="width: 66px; height: 66px;"><div class="b-avatar__layers"><div class="b-avatar__layer center" style="width: 37.776px; height: 37.776px; opacity: 1; border-radius: 50%;"><div class="b-avatar__layer__res local-6"><picture><source type="image/webp" srcset="//i0.hdslb.com/bfs/face/d4005a0f9b898d8bb049caf9c6355f8e8f772a8f.jpg@74w_74h_1c_1s.webp"><img src="//i0.hdslb.com/bfs/face/d4005a0f9b898d8bb049caf9c6355f8e8f772a8f.jpg@74w_74h_1c_1s.webp" onload="bmgOnLoad(this)" onerror="bmgOnError(this)" data-onerror="onAvtSrcError"></picture></div></div><div class="b-avatar__layer center" style="width: 66px; height: 66px; opacity: 1;"><div class="b-avatar__layer__res local-undefined"><picture><source type="image/webp" srcset="//i0.hdslb.com/bfs/garb/item/117d81597454ca63495a8a6cfc986611795bba18.png@132w_132h_1c_1s.webp"><img src="//i0.hdslb.com/bfs/garb/item/117d81597454ca63495a8a6cfc986611795bba18.png@132w_132h_1c_1s.webp" onload="bmgOnLoad(this)" onerror="bmgOnError(this)" data-onerror="onAvtSrcError"></picture></div></div><div class="b-avatar__layer" style="left: 36.288px; top: 37.088px; width: 20px; height: 20px; opacity: 1; background-color: rgb(255, 255, 255); border: 2px solid rgb(255, 255, 255); border-radius: 50%; box-sizing: border-box;"><div class="b-avatar__layer__res local-undefined local-4"></div></div></div></div></div></div></div> <div class="bili-dyn-item__header"><div data-module="title" class="bili-dyn-title" end="true"><!----> <span class="bili-dyn-title__text bili-dyn-title__text" style="color: rgb(251, 114, 153);">
明日方舟
</span></div> <div class="bili-dyn-item__desc"><div data-module="time" class="bili-dyn-time default">
2024年02月29日 11:01
</div> <!----></div> <div class="bili-dyn-item__ornament"><div class="bili-dyn-ornament"><div class="bili-dyn-ornament__type--3"><img src="//i0.hdslb.com/bfs/garb/item/17fa30a36a93f196c66307ba3eb9f8ecbd2f8241.png"> <span style="color: rgb(236, 61, 61);">000001</span></div></div></div> <div class="bili-dyn-item__more"><div data-module="more" class="bili-dyn-more__btn tp">
<div role="tooltip" class="bili-popover" style="left: -69px; top: 16px; width: 94px; z-index: 0; border-radius: 8px; box-shadow: rgba(106, 115, 133, 0.12) 0px 11px 12px 0px; display: none; cursor: default;"><div class="bili-popover__arrow" style="right: 12px;"></div> <div class="bili-dyn-more__menu" style="padding: 16px 0px; color: rgb(34, 34, 34);"><div data-module="more" data-type="THREE_POINT_REPORT" data-params=""{}"" data-modal="" class="bili-dyn-more__menu__item" style="height: 25px; padding: 2px 0px; text-align: center;">
举报
</div></div> </div></div></div></div> <div class="bili-dyn-item__body"><div class="bili-dyn-content end"><!----> <!----> <!----> <div class="bili-dyn-content__orig"><!----> <!----> <div data-module="desc" data-orig="0" class="bili-dyn-content__orig__desc"><div class="bili-rich-text"><div class="bili-rich-text__content"><span>【明日方舟×彩虹六号:围攻】「水晶箭行动」限时活动即将开启
一、【明日方舟×彩虹六号:围攻】,SideStory「水晶箭行动」活动关卡开启
二、【突破,援助,任务循环】限时寻访开启
三、【突破,援助,任务循环】限时登录活动开启
四、【明日方舟×彩虹六号:围攻】,签到活动开启
五、【明日方舟×彩虹六号:围攻】,新干员登场
六、【明日方舟×彩虹六号:围攻】,新装限时上架
七、【明日方舟×彩虹六号:围攻】,限时复刻上架
八、【明日方舟×彩虹六号:围攻】,组合包限时上架
九、组合包限时上架
十、【时代】系列,限时复刻上架
十一、新增【克里斯达尔展厅】主题家具,限时获取
十二、个人名片主题更换功能上线
十三、采购中心【高级凭证区】&【通用凭证区】可兑换内容追加
更多活动内容请持续关注《明日方舟》游戏内公告及官方公告。</span></div></div></div> <div class="bili-dyn-content__orig__major gap"><div class="bili-album" dyn-id="903391889320837142"><div class="bili-album__preview one"><div class="bili-album__preview__picture" style="width: 240px; height: 320px;"><div class="bili-album__preview__picture__img b-img"><picture class="b-img__inner"><source type="image/avif" srcset="//i0.hdslb.com/bfs/new_dyn/5218a3bd5e3149b9a2179b30c22a5d06161775300.jpg@960w_1280h_!header.avif"><source type="image/webp" srcset="//i0.hdslb.com/bfs/new_dyn/5218a3bd5e3149b9a2179b30c22a5d06161775300.jpg@960w_1280h_!header.webp"><img src="//i0.hdslb.com/bfs/new_dyn/5218a3bd5e3149b9a2179b30c22a5d06161775300.jpg@960w_1280h_!header.webp" loading="lazy" onload="bmgCmptOnload(this)"></picture></div> <!----> <!----></div></div> <!----></div></div> <div data-module="additional" data-orig="0" class="bili-dyn-content__orig__additional"><div class="dyn-additional-common"><div class="dyn-additional-common__mark"><span>相关游戏</span></div> <div class="dyn-additional-common__wrap"><div title="明日方舟
策略/架空文明/末世" class="dyn-additional-common__cover" style="width: 64px;"><div class="b-img"><picture class="b-img__inner"><source type="image/avif" srcset="//i0.hdslb.com/bfs/game/faa556b00d29fffc88281c1ee038b1b7f23aa5c2.jpg@128w_128h_1c_!web-dynamic.avif"><source type="image/webp" srcset="//i0.hdslb.com/bfs/game/faa556b00d29fffc88281c1ee038b1b7f23aa5c2.jpg@128w_128h_1c_!web-dynamic.webp"><img src="//i0.hdslb.com/bfs/game/faa556b00d29fffc88281c1ee038b1b7f23aa5c2.jpg@128w_128h_1c_!web-dynamic.webp" loading="lazy" onload="bmgCmptOnload(this)"></picture></div></div> <div class="dyn-additional-common__detail"><div class="dyn-additional-common__detail__title">
明日方舟
</div> <div class="dyn-additional-common__detail__desc">策略/架空文明/末世</div> <div class="dyn-additional-common__detail__desc">SideStory「怀黍离」现已开启</div></div> <div class="dyn-additional-common__action"><button class="jump"><!---->
进入
</button></div></div></div></div></div> <!----></div> <!----></div> <div class="bili-dyn-item__footer"><div class="bili-dyn-item__action"><div data-module="action" data-type="forward" class="bili-dyn-action forward"><i class="bili-dyn-action__icon"></i>
242
</div></div> <div class="bili-dyn-item__action"><div data-module="action" data-type="comment" class="bili-dyn-action comment active"><i class="bili-dyn-action__icon"></i>
4775
</div></div> <div class="bili-dyn-item__action"><div data-module="action" data-type="like" class="bili-dyn-action like" icons="[object Object]"><i class="bili-dyn-action__icon"></i>
2.0万
</div> <!----></div></div></div> <div class="bili-dyn-item__panel"><div class="bili-dyn-forward" style="display: none;"><div class="bili-dyn-forward__loading"><div class="bili-dyn-forward__loading__icon"></div> <div class="bili-dyn-forward__loading__text">加载中……</div></div></div> <div class="dynamic-card-comment" style="position: relative;"><div class="bb-comment "><div class="reply-notice"></div><div class="comment-header clearfix"><div class="tabs-order"><ul class="clearfix"><li class="default-sort" data-sort="0">全部评论</li><li data-sort="2" class="hot-sort on"></li><li data-sort="0" class="new-sort">按时间排序</li></ul></div><div class="header-interaction"></div></div><div mr-observe-wrap="" class="comment-list has-limit"></div><div class="loading-state"></div><div class="bottom-page paging-box-big"></div></div></div></div> <!----></div></div> |
抱歉前两天有事情没回复 只有动态页是异常的,空间就没问题,但空间的视频类动态(发布和转发)有问题 default.mp4 |
This comment was marked as resolved.
This comment was marked as resolved.
确定复制的是失效的那个? 里面没有展开收起按钮啊 |
什么意思? |
噢没关系,已经解决了。可以对比一下你的那条包含有 outerHTML 的回复中的两次编辑,其中的区别就是我想表达的意思 |
<div class="bili-dyn-list__item" data-type="8" data-did="903391111708409856"><div class="bili-dyn-item"><!----> <div class="bili-dyn-item__main"><div class="bili-dyn-item__avatar"><div data-module="avatar" class="bili-dyn-avatar" style="width: 48px; height: 48px;"><!----><div class="b-avatar" style="width: 48px; height: 48px;"><div class="b-avatar__canvas" style="width: 66px; height: 66px;"><div class="b-avatar__layers"><div class="b-avatar__layer center" style="width: 37.776px; height: 37.776px; opacity: 1; border-radius: 50%;"><div class="b-avatar__layer__res local-6"><picture><source type="image/webp" srcset="//i0.hdslb.com/bfs/face/d4005a0f9b898d8bb049caf9c6355f8e8f772a8f.jpg@74w_74h_1c_1s.webp"><img src="//i0.hdslb.com/bfs/face/d4005a0f9b898d8bb049caf9c6355f8e8f772a8f.jpg@74w_74h_1c_1s.webp" onload="bmgOnLoad(this)" onerror="bmgOnError(this)" data-onerror="onAvtSrcError"></picture></div></div><div class="b-avatar__layer center" style="width: 66px; height: 66px; opacity: 1;"><div class="b-avatar__layer__res local-undefined"><picture><source type="image/webp" srcset="//i0.hdslb.com/bfs/garb/item/117d81597454ca63495a8a6cfc986611795bba18.png@132w_132h_1c_1s.webp"><img src="//i0.hdslb.com/bfs/garb/item/117d81597454ca63495a8a6cfc986611795bba18.png@132w_132h_1c_1s.webp" onload="bmgOnLoad(this)" onerror="bmgOnError(this)" data-onerror="onAvtSrcError"></picture></div></div><div class="b-avatar__layer" style="left: 36.288px; top: 37.088px; width: 20px; height: 20px; opacity: 1; background-color: rgb(255, 255, 255); border: 2px solid rgb(255, 255, 255); border-radius: 50%; box-sizing: border-box;"><div class="b-avatar__layer__res local-undefined local-4"></div></div></div></div></div></div></div> <div class="bili-dyn-item__header"><div data-module="title" class="bili-dyn-title"><!----> <span class="bili-dyn-title__text bili-dyn-title__text" style="color: rgb(251, 114, 153);">
明日方舟
</span></div> <div class="bili-dyn-item__desc"><div data-module="time" class="bili-dyn-time">
02月29日 · 投稿了视频
</div> <!----></div> <div class="bili-dyn-item__ornament"><div class="bili-dyn-ornament"><div class="bili-dyn-ornament__type--3"><img src="//i0.hdslb.com/bfs/garb/item/17fa30a36a93f196c66307ba3eb9f8ecbd2f8241.png"> <span style="color: rgb(236, 61, 61);">000001</span></div></div></div> <div class="bili-dyn-item__more"><div data-module="more" class="bili-dyn-more__btn tp">
<div role="tooltip" class="bili-popover" style="left: -69px; top: 16px; width: 94px; z-index: 0; border-radius: 8px; box-shadow: rgba(106, 115, 133, 0.12) 0px 11px 12px 0px; display: none; cursor: default;"><div class="bili-popover__arrow" style="right: 12px;"></div> <div class="bili-dyn-more__menu" style="padding: 16px 0px; color: rgb(34, 34, 34);"><div data-module="more" data-type="THREE_POINT_FOLLOWING" data-params=""{}"" data-modal="" class="bili-dyn-more__menu__item" style="height: 25px; padding: 2px 0px; text-align: center;">
取消关注
</div><div data-module="more" data-type="THREE_POINT_REPORT" data-params=""{}"" data-modal="" class="bili-dyn-more__menu__item" style="height: 25px; padding: 2px 0px; text-align: center;">
举报
</div></div> </div></div></div></div> <div class="bili-dyn-item__body"><div class="bili-dyn-content"><!----> <!----> <!----> <div class="bili-dyn-content__orig"><!----> <!----> <div data-module="desc" data-orig="0" class="bili-dyn-content__orig__desc"><div class="bili-rich-text"><div class="bili-rich-text__content folded line--6"><span>【明日方舟×彩虹六号:围攻】SideStory「水晶箭行动」限时活动即将开启
那支本应刺破虚假的水晶箭最终沦为引发动乱的鸣镝。它离弦之后,刀光刺眼,子弹纷飞。
————————————
详细活动内容敬请关注《明日方舟》官网及游戏内相关公告。</span></div><div class="bili-rich-text__action">展开</div></div></div> <div class="bili-dyn-content__orig__major gap"><a href="https://www.bilibili.com/video/BV1Qw4m1f772/" class="bili-dyn-card-video" dyn-id="903391111708409856"><div class="bili-dyn-card-video__header"><div class="bili-dyn-card-video__badge"><!---->投稿视频
</div> <div class="bili-dyn-card-video__cover"><div class="b-img"><picture class="b-img__inner"><source type="image/avif" srcset="//i0.hdslb.com/bfs/archive/83e6c422c683a4e187606774c023e7e7fb2c1aec.jpg@406w_254h_1c_!web-dynamic.avif"><source type="image/webp" srcset="//i0.hdslb.com/bfs/archive/83e6c422c683a4e187606774c023e7e7fb2c1aec.jpg@406w_254h_1c_!web-dynamic.webp"><img src="//i0.hdslb.com/bfs/archive/83e6c422c683a4e187606774c023e7e7fb2c1aec.jpg@406w_254h_1c_!web-dynamic.webp" loading="lazy" onload="bmgOnLoad(this)" onerror="bmgOnError(this)" data-onload="bmgCmptOnload"></picture></div> <div class="bili-dyn-card-video__cover__mask"><div class="dyn-video-preview" style="display: none;"><div class="dyn-video-preview__progress"><div class="dyn-video-preview__progress__bar"><span style="width: 0%;"></span></div></div> <div class="dyn-video-preview__shot"></div> <div class="dyn-video-preview__danmaku"></div></div> <div class="bili-dyn-card-video__duration">02:53</div> <div class="bili-dyn-card-video__mark"><div class="bili-dyn-card-video__mark__tip" style="display: none;"></div></div></div></div></div> <div class="bili-dyn-card-video__body"><div class="bili-dyn-card-video__title bili-ellipsis">【明日方舟×彩虹六号:围攻】SideStory「水晶箭行动」活动宣传PV</div> <div class="bili-dyn-card-video__desc bili-ellipsis">【明日方舟×彩虹六号:围攻】SideStory「水晶箭行动」限时活动即将开启
那支本应刺破虚假的水晶箭最终沦为引发动乱的鸣镝。它离弦之后,刀光刺眼,子弹纷飞。
————————————
详细活动内容敬请关注《明日方舟》官网及游戏内相关公告。</div> <div class="bili-dyn-card-video__stat"><div class="bili-dyn-card-video__stat__item play"><i></i>
184.7万
</div> <div class="bili-dyn-card-video__stat__item danmaku"><i></i>
1.1万
</div></div></div></a></div> <div data-module="additional" data-orig="0" class="bili-dyn-content__orig__additional"><div class="dyn-additional-common"><div class="dyn-additional-common__mark"><span>相关游戏</span></div> <div class="dyn-additional-common__wrap"><div title="明日方舟
策略/架空文明/末世" class="dyn-additional-common__cover" style="width: 64px;"><div class="b-img"><picture class="b-img__inner"><source type="image/avif" srcset="//i0.hdslb.com/bfs/game/faa556b00d29fffc88281c1ee038b1b7f23aa5c2.jpg@128w_128h_1c_!web-dynamic.avif"><source type="image/webp" srcset="//i0.hdslb.com/bfs/game/faa556b00d29fffc88281c1ee038b1b7f23aa5c2.jpg@128w_128h_1c_!web-dynamic.webp"><img src="//i0.hdslb.com/bfs/game/faa556b00d29fffc88281c1ee038b1b7f23aa5c2.jpg@128w_128h_1c_!web-dynamic.webp" loading="lazy" onload="bmgOnLoad(this)" onerror="bmgOnError(this)" data-onload="bmgCmptOnload"></picture></div></div> <div class="dyn-additional-common__detail"><div class="dyn-additional-common__detail__title">
明日方舟
</div> <div class="dyn-additional-common__detail__desc">策略/架空文明/末世</div> <div class="dyn-additional-common__detail__desc">SideStory「怀黍离」现已开启</div></div> <div class="dyn-additional-common__action"><button class="jump"><!---->
进入
</button></div></div></div></div></div> <!----></div> <div class="bili-dyn-item__interaction"><div class="bili-dyn-interaction"><div class="bili-dyn-interaction__item"><div class="bili-dyn-interaction__item__icon comment"></div> <div class="bili-dyn-interaction__item__desc"><div class="bili-rich-text"><div class="bili-rich-text__content"><span data-module="desc" data-type="at" data-oid="382023582" class="bili-rich-text-module at">发疯の澪夜:</span><span>很喜欢饼组的一句话:领主模组70%</span></div></div></div></div></div></div></div> <div class="bili-dyn-item__footer"><div class="bili-dyn-item__action"><div data-module="action" data-type="forward" class="bili-dyn-action forward"><i class="bili-dyn-action__icon"></i>
1148
</div></div> <div class="bili-dyn-item__action"><div data-module="action" data-type="comment" class="bili-dyn-action comment"><i class="bili-dyn-action__icon"></i>
9256
</div></div> <div class="bili-dyn-item__action"><div data-module="action" data-type="like" class="bili-dyn-action like" icons="[object Object]"><i class="bili-dyn-action__icon"></i>
14.8万
</div> <!----></div></div></div> <!----> <!----></div></div> |
好的,然后像下面这样把
|
了解了, 外层有些 class 变了 |
所以,现在就是等你们更新吗?还是我可以做些什么调整? |
等更新 |
对应功能
展开动态内容
问题描述
失效
脚本版本
v2.8.8-27-g3981ed7b6
脚本管理器及版本
Tampermonkey beta 5.1.6193
浏览器及版本
Google Chrome 121.0.6167.161
播放器版本
4.8.0-6303bf16
播放策略
默认
错误信息
附加截图
致遇到了相同问题准备回复的人
太长不看:
1、遇到了相同的问题:请用左下角的 reaction 点赞
2、实时关注该 Issue 的后续进展:请用 Issue 页上的 Subscribe 功能(在 PC 端按钮通常位于页面右侧)。
请您回复前务必确认您有在本 Issue 之外补充了其它相关信息(比如 Log)再行回复以免对他人造成不必要的困扰
完整版
由于每个 Issue 甚至整个项目都是可以订阅通知的, 对于已经有人汇报过的 Bug, 如果您也遇到了并且没有其他信息要补充, 可以直接在左下点个赞表示 +1, 不要再去新增评论。想关注后续的可以用 Subscribe,Subscribe 之后该 Issue 如果有变动都可以收到通知,如果不想被回复打扰可以使用更加进阶的 Customize 功能,勾选 "Closed" & "Reopened"。Closed 通常代表该 Issue 已被解决,极少数情况下的 Reopened 代表该 Issue 的问题重新出现。如果您新增了无意义评论,因为 Issue 这个 bug tracker 与邮件列表类似,订阅某个 Issue 的用户会在每次这个 Issue 有新的动态时收到一封新的提醒邮件。也就是说,在 Issue 中的一个不能提供新的信息的评论,相当于给所有订阅这个 Issue 的用户发了一封垃圾邮件(spam)。尤其项目的维护者也是订阅者中的一员,太多垃圾邮件会对维护者带来很多不必要的困扰。发送垃圾邮件在开源社区通常是不那么受欢迎的行为。The text was updated successfully, but these errors were encountered: