// ==UserScript== // @name 破解微信编辑器会员限制 // @namespace https://ziyuand.cn/ // @version 0.3 // @description 简单去除135编辑器、96编辑器、主编编辑器vip限制 // @author Sherwin // @match https://www.135editor.com/* // @match http://www.zhubian.com/* // @match http://bj.96weixin.com // @match https://mp.weixin.qq.com/cgi-bin/appmsg* // @grant none //@require https://code.jquery.com/jquery-3.5.1.min.js // @downloadURL none // ==/UserScript== (function() { $(".g-view-mask").remove(); $('div').click(function(e){ $(".modal-backdrop.show").remove(); $(".style-item.vip-style").removeClass("vip-style").addClass("style-item"); $("._135editor").attr("data-tools","Sherwin破解"); $("._editor").attr("data-support","Sherwin破解"); $(".rich_media_content").attr("data-vip","1"); $("._135editor").attr("data-id","Sherwin破解"); $(".style-item").attr("id",""); $(".style-item").attr("data-id","Sherwin破解"); }); $(".modal.show").remove(); $(".modal-backdrop.show").remove(); let fixed_frame = '' $('body').append($(fixed_frame)) fixed_frame = $('#code-area') let last_refresh = new Date(), last_edit = new Date() fixed_frame[0].oninput = () => { last_edit = new Date() } setInterval(() => { try { if (last_edit > last_refresh) UE.instants["ueditorInstant0"].setContent(fixed_frame.val()) else fixed_frame.val(UE.instants["ueditorInstant0"].getContent()) last_refresh = new Date() } catch (e) { } }, 500) })();