Greasy Fork

来自缓存

Greasy Fork is available in English.

Disable Weibo Article FollowMask

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

当前为 2018-07-06 提交的版本,查看 最新版本

// ==UserScript==
// @name			Disable Weibo Article FollowMask
// @name:zh-CN			取消微博文章关注阅读全文
// @description                 用来解除部分微博文章要求关注作者才能阅读全文的限制
// @version	 		1.01
// @author			GensouSakuya
// @include			*weibo.com/ttarticle/*
// @require         https://code.jquery.com/jquery-3.1.1.min.js
// @namespace http://greasyfork.icu/users/194737
// ==/UserScript==
$('.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>')
$("#gogoda").click(function(){
    $('.WB_editor_iframe')[0].style['height'] = 'auto';
    $('.btn_line.W_tc.W_f14').remove()
})