EDIT: Click HERE to go to the thread of CURRENT version and commentsNew version 1.6.3 of our Super Script for SS !
filter loans - v 1.6.3.txt (12.22 KB)
(Notice: there's a small change in configuration. The setting autoClick became buyLoans. See how to define it below)
FEATURES:
---------
- beep (new feature)
- auto refresh loans page
- auto sort on remaining days (list loans by order of remaining term)
- auto click on a loan (to speed up buying process)
- define amount for each loan to buy (new feature)
- hide loans (either by name; low availability; or short term)
- highlight loans (by name; long term)
- set minimum interest rate when highlighting loans
- click to sort on columns: "remaining term" and "invested" (no page refresh is made)
CAUTION:
-------
- You have full responsability when using this script.
- Any change on the site layout may break the script
- Use auto-refresh with care. When using auto-refresh, don't leave your browser unattended.
- This may put extra burden on Saving Stream server, your computer and your bandwidth.
- There may be bugs.
- Site may not work well. For example, right now the script breaks the funcionality to change the loans view from table to tiles.
- Tested with Chrome browser. It may work in Firefox
In any case, it is VERY IMPORTANT for you to know how to disable the script !
INSTALATION:
------------
1. You'll need a browser extension such as TamperMonkey for Chrome, or GreaseMonkey for Firefox.
Chrome: chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
Firefox: addons.mozilla.org/en-US/firefox/addon/greasemonkey/
2. Notice the new extension icon (top right corner). Click on it to add a new script.
3a. If using Chrome, an editor window will appear. Delete the initial script and replace it for ours (attached file).
3b. If using Firefox, you'll need to type anything for the fields name and namespace. (Or you can click the button "Use Script From Clipboard", if you have copied the script to the clipboard).
4. The user configuration part starts at line 17. You can set several parameters there.
5. Save it (CTRL S or disk icon)
6. The option "auto click on a loan" opens a new tab. You'll need to allow pop-up for savingstream.co.uk
OPERATION:
---------
It's automatic. Every time you visit the site (link: savingstream.co.uk/loans/available), the script will execute, either you are logged in or not.
Our script is named FilterLoans. You can disable it any time you want by clicking on its name, after clicking on TamperMonkey icon.
You can also disable TamperMonkey altogether.
We're here in case you need help.
CONFIGURATION:
-------------
To configure the script, click on TamperMonkey icon and then in Dashboard. Click on the Edit icon. You may change the following variables:
var theGood = []; // highlight those loans, eg: ['PBL091','PBL092']
var theBad = []; // hide those loans, eg: ['PBL091']
var buyLoans = { // open new window to bid on this loan, when it becomes available, and fill in this amount
'PBL000' : 110,
'DFL000': 40,
};
var minValue = 9.00; // hide loans with availability below this number
var goodTerm = 30; // highlight loans longer than this number
var goodMinRate = 12; // minimum interest rate to consider for highlighting loans
var badTerm = -200; // hide loans with remaining days below this number
var termSortByDefault = true; // if true, table is initially sorted by remaining term
var autoRefresh = 10; // autorefresh time in seconds (minimum 4). To disable it, use autoRefresh=0.(Using the keyboard/mouse on this page resets the timer.)