Disable Weibo Article FollowMask

用来解除部分微博文章要求关注作者才能阅读全文的限制

  1. // ==UserScript==
  2. // @name Disable Weibo Article FollowMask
  3. // @name:zh-CN 取消微博文章关注阅读全文
  4. // @description 用来解除部分微博文章要求关注作者才能阅读全文的限制
  5. // @version 1.05
  6. // @author GensouSakuya
  7. // @include *weibo.com/ttarticle/*
  8. // @run-at document-end
  9. // @require https://code.jquery.com/jquery-3.1.1.min.js
  10. // @namespace https://gf.qytechs.cn/users/194737
  11. // ==/UserScript==
  12. $('.W_gotop.S_ficon_bg').before('<a href="javascript:" id="gogoda" data-tip="text=阅读全文&amp;showWithAni=fadeInRight&amp;hideWithAni=fadeOutLeft&amp;pos=left-middle" class="W_gotop S_ficon_bg" action-type="data-tip" style="margin-bottom: 167px;position: fixed;top: auto;"><em class="W_ficon ficon_backtop S_bg2_c">🐔</em></a>')
  13. $("#gogoda").click(function(){
  14. let frameClasses = ['.WB_editor_iframe_new', '.WB_editor_iframe_word', '.WB_editor_iframe'];
  15. for(let i=0;i<frameClasses.length;i++)
  16. {
  17. let frame = $(frameClasses[i]);
  18. if(frame != null && frame[0]!= null)
  19. {
  20. frame[0].style['height'] = 'auto';
  21. }
  22. }
  23. $('.btn_line.W_tc.W_f14').remove()
  24. $('.artical_add_box.S_bg2').remove()
  25. })

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址