// ==UserScript== // @name 壁纸背景+毒鸡汤-油猴中文网 // @namespace https://bbs.tampermonkey.net.cn/ // @version 0.8.0 // @description 油猴中文网壁纸背景+毒鸡汤!老二次元了~!!! // @author 张仨 // @match https://bbs.tampermonkey.net.cn/* // @supportURL https://bbs.tampermonkey.net.cn/forum.php?mod=viewthread&tid=1173&extra=page%3D1 // @homepageURL https://bbs.tampermonkey.net.cn/forum.php?mod=viewthread&tid=1173&extra=page%3D1 // @run-at document-start // @grant unsafeWindow // @grant GM_addStyle // @grant GM_xmlhttpRequest // ==/UserScript== GM_addStyle(` .lk{ border-radius: 25px; background-color: rgba(255,255,255,0.9); } #online{ border-radius: 25px; } #category_{ border-radius: 25px; overflow: hidden; } .bmw{ border-radius: 13.5px; } .bm_h{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .comiis_fl_g{ border: 0px solid #fff; } .widthauto{ opacity: 0.9; } .comiis_irswfbox{ border-radius: 25px; opacity: 0.8; } .comiis_irbox{ border-radius: 25px; background-color: rgba(255,255,255,0.9); } .bm lk{ background-color: rgba(255,255,255,0.9); } #online{ background-color: rgba(255,255,255,0.9); } .flg{ background-color: rgba(255,255,255,0.9); } #wp .a_t{ background-color: rgba(255,255,255,0.9); border-radius: 7px; overflow: hidden; } #pt{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .tl{ background-color: rgba(255,255,255,0.9); overflow: hidden; } .comiis_listinfo{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .topico{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .scrolltopa{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .returnboard{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .comiis_vrx{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .pls{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } #fastpostform{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } .replyfast{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15; border-radius: 7px; } .returnlist{ background-color: rgba(255,255,255,0.9); margin-top: 10px !important; padding: 0px 15px; border-radius: 7px; } #nv_forum{ background-image: url(https://tva3.sinaimg.cn/large/0076R7yAgy1fq8ds6c448j31hc0u016f.jpg); background-repeat: no-repeat; background-position: top; background-attachment: fixed; background-size: cover; } `) GM_xmlhttpRequest({ method: "GET", responseType: "json", url: "https://api.oddfar.com/yl/q.php?c=1007", onload: function (e) { let Quotations = (e.responseText) console.log(Quotations); var ele = document.getElementById("diymsg1"); ele.innerHTML = Quotations; } })