问题描述
我是JS / _monkeyscripts的新手,旨在编写一个小脚本来帮助我快速使YouTube视频失去兴趣。
这是youtube主页上提供的“不感兴趣”按钮的代码块。
<ytd-menu-service-item-renderer class="style-scope ytd-menu-popup-renderer" role="menuitem" use-icons="" tabindex="0" aria-selected="false"><!--css-build:shady-->
<paper-item class="style-scope ytd-menu-service-item-renderer" role="option" tabindex="0" aria-disabled="false"><!--css-build:shady-->
<yt-icon class="style-scope ytd-menu-service-item-renderer"><svg viewBox="0 0 24 24" preserveAspectRatio="xMidYMid meet" focusable="false" class="style-scope yt-icon" style="pointer-events: none; display: block; width: 100%; height: 100%;"><g class="style-scope yt-icon">
<path d="M0 0h24v24H0z" fill="none" class="style-scope yt-icon"></path>
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z" class="style-scope yt-icon"></path>
</g></svg><!--css-build:shady-->
</yt-icon>
<yt-formatted-string class="style-scope ytd-menu-service-item-renderer">Not interested</yt-formatted-string>
</paper-item>
</ytd-menu-service-item-renderer>
如何通过单击缩略图来使视频失去兴趣?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)