您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Auto expand things on lending club
当前为
- // ==UserScript==
- // @name Lending Club
- // @namespace http://geekminute.com/
- // @version 0.2
- // @description Auto expand things on lending club
- // @match https://www.lendingclub.com/*
- // @copyright 2015+, Jon Heizer
- // ==/UserScript==
- setTimeout(function() {
- var sel ;
- //Expand loan performance
- if (document.getElementById("showLoanPerf") !== null)
- {
- document.getElementById("showLoanPerf").getElementsByTagName("a")[0].click();
- }
- //Expand payment history
- if (document.getElementById("showPayments") !== null)
- {
- document.getElementById("showPayments").getElementsByTagName("a")[0].click();
- }
- //Account Activity
- if (document.getElementById("submitAccountDates") !== null && document.getElementById("lender-activity-div") === null)
- {
- var yest = new Date();
- yest.setDate(yest.getDate()-1);
- document.getElementById("start-date").value = (yest.getMonth() + 1).toString() + "/" + yest.getDate().toString() + "/" + yest.getFullYear().toString();
- document.getElementById("submitAccountDates").click();
- }
- setTimeout(function (){
- //Account Activity
- sel = document.getElementById("yui-pg0-0-rpp49");
- //Portfolios
- if (sel === null)
- {
- sel = document.getElementById("yui-pg0-0-rpp34");
- }
- //All Notes
- if (sel === null)
- {
- sel = document.getElementById("yui-pg0-0-rpp41");
- }
- if (sel !== null)
- {
- sel.value = 10000;
- if ('fireEvent' in sel)
- sel.fireEvent("onchange");
- else {
- var evt = document.createEvent("HTMLEvents");
- evt.initEvent("change", false, true);
- sel.dispatchEvent(evt);
- }
- }
- },200);
- },500);