jaywei / 闲鱼拍卖上货字体大小修正

// ==UserScript==
// @name        闲鱼拍卖上货字体大小修正
// @author      jaywei@吴春强玉雕工作室
// @namespace   https://paimai.taobao.com
// @include     https://paimai.taobao.com/console/edit_auction.htm*
// @include     https://paimai.taobao.com/console/publish_auction.htm*
// @include     https://paimai.taobao.com/console/reshelf_auction.htm*
// @version     1.0
// @grant       none
// @run-at      document-start
// @require     http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js
// ==/UserScript==
(function() {
    'use strict';
    $(document).ready(function(){
        var counter = 0;
        var t = window.setInterval(function() {
            if(counter < 30){
                $('.ke-editor-wrap').css('width', '911px');
                $('.ke-textarea-wrap').css('height', '450px');
                $('iframe').contents().find('html').css('font-size', '37.5px');
                counter ++;
            }
            else{
                window.clearInterval(t);
                console.log('out of time');
            }
        }, 500);
    });
})();