Ensures you are the winning bidder if you want to be.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Steven 1fb2de882c Added getTrueCap & Tests for outcome NO CALLS YET 1 year ago
README.md Added getTrueCap method to test.js and added tests 1 year ago
app.js Initial POC 2 years ago
bookmarklet.js Initial POC 2 years ago
index.htm Initial POC 2 years ago
tampermonkey.js Added getTrueCap & Tests for outcome NO CALLS YET 1 year ago
test.js Added getTrueCap & Tests for outcome NO CALLS YET 1 year ago

README.md

AlwaysWin-ntsmhf Tampermonkey

To load the Tampermonkey script:

  • Install the [Tampermonkey Chrome Extension] (https://www.tampermonkey.net/)
  • Click on the Extension and select Create a new script...
  • Copy the contents of tampermonkey.js into the editor and save the changes
  • Modify the countiesToWin[] array to contain the countyId's you wish to win the bid on.

Wishlist / Todo

Functionality For Release

  • Add this link to the settings div: https://leads.needtosellmyhousefast.com/qhrei

  • Add donation/support message to div

  • Read from /app/subscriptions to get list of initial counties - if county is missing it automatically gets added.

  • Expose Sitewide bidcap (if any county bid exceeds X only bid up to X for that county)

  • Save button to persist changes (instead of waiting for refresh code to run)

  • Save settings to local storage

  • Retrieve settings from local storage

  • county bidcap - store and read from settings

  • county isBidCapEnabled - store and read from settings

  • use isBidCapEnabled when processing each oversight

  • use bidcap when processing each oversight

  • Implement tieCounty code

  • Implement watchCounty code

  • Add cap presidence setting.

  • Add Presidence option to settings div

    If a row and general cap are enabled then [options๐Ÿ”ฝ] takes presidence.

        Options = [General Cap, Row Cap, Highest Cap, Lowest Cap]
    
  • Apply presidence logic to get true cap

Feature Requests / Future Releases

  • Post stats to API instead of storing in local storage

  • Option to sell leads that don't fit your criteria but you can't return on the secondary market.

  • Hide/show ignored counties option in settings

  • Implement ignoreCounty code

  • start/stop buttons in settings

  • Stats: PriceChangeOverTime Chart

  • Stats: Download Stats

  • Stats: Clear Stats

  • if county action is ignore then hide the tr and dont inject oversight

  • expose toggle to hide/show ignored counties in settings (not at row level but read for ignore action at each level)

  • prices based on schedule (dont win ant night...)

  • schedule derived from statistical analysis gathered over time.

  • cooloff time (auto drops all bids for a specified amount of time then continues to win again.)

  • Add settings option on where to apply the GeneralBidCap

    SettingsBidCap [200] applies to [options๐Ÿ”ฝ] rows

        Options = [None of the, All, Capped Only, Uncapped Only]
    

Bugs

  • Figure out session timout/no longer refreshing/ not loaded issue (screensaver?, tab no focus?, os?, browser?)
  • if oversight div exists for county don't inject a new one
  • if autoRefresh is not enabled DO NOT adjust bids on load (wait for the first refresh) (possibly expose "don't adjust bids on load" checkbox)

UI Settings

  • How often should the status check be performed?
  • randomize refresh value to avoid detection

UI Rows

  • "rowAction" dropdown with options:

    0 - Ignore/Hide = Make this row invisible.
    1 - Win = Ensure I am highest bidder
    2 - Tie = Make sure I am Tied
    3 - Watch = Dont bid just monitor
    
  • expose countyId, tie, margin/clicksToWin data

  • enable apply, enableBidcap, bidCap, action inputs and persist values the values at a row level

  • Store tie values for statistical analysis over time.

  • Auto login if on signin page

  • Add verticle scroll overflow to awLog div

  • Refactor injection and alwayswin array code in main

  • Bidcap input for row is only visible if cap is checked for row or settings bidcap is enabled.

  • Refactor Row injections layout to be:

                               MYBID: 500
      11223 margin:0    [Win๐Ÿ”ฝ] 475 |โ˜cap
      11224 margin:4    [Win๐Ÿ”ฝ] 475 |โ˜‘cap at [400]
      11225 margin:0    [Tie๐Ÿ”ฝ] 700 |โ˜‘cap at [300]โ˜’600
    

Examples of Row Injection behaviour based on settings.

General Rules:

* The option to enable a cap on a cappable row is always available
* A cap will not be made visible on the row if the row can't have a cap applied to it base on settings
* myBid is only set on Win or Tie actions - never watch or ignore which shall display their last saved value.
* myBid is only set if a row is active
* when presidence IS settingsBidCap and appliesTo IS (All || Capped Only) row bidcap stikethru, settingscap is readonly on row.

Key

Key Value
โ˜‘ Selected and not overridden
โ˜ Not selected
โ˜’ Overridden (wether selected or not)
^r rowCap is being applied to myBid
^s means the settingsBidCap is being applied to myBid
__ no bidCaps have been applied to myBid

Example 1:

[Win๐Ÿ”ฝ] |โ˜‘cap at [400] | Tie:350 | margin:0

Note how cap is visible for all rows (exept watch)

SettingsBidCap [200], [All] rows, [HighestCap] presidence

Modified Action r s BidCap TrueCap Tie Bid Margin
AH^r [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜‘[400]200 400 Tie: 350 myBid:375 margin:0
AH^r [Tie๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜‘[400]200 400 Tie: 350 myBid:350 margin:0
__ [Watch๐Ÿ”ฝ] Tie: 350 myBid:75 margin:11
AH^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜‘[300]200 300 Tie: 350 myBid:300 margin:3
AH^s [Win๐Ÿ”ฝ] โ˜โ˜‘ โ˜’[300]200 200 Tie: 350 myBid:200 margin:8
__ [Win๐Ÿ”ฝ] โ˜โ˜‘ โ˜’[---]200 200 Tie: 125 myBid:150 margin:0
__ [Tie๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[200]200 200 Tie: 125 myBid:125 margin:0
AH^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[100]200 100 Tie: 125 myBid:100 margin:2

Example 2:

[Win๐Ÿ”ฝ] |โ˜‘cap at [400] | Tie:350 | margin:0

Note options in row have not changed only settings have changed.

SettingsBidCap [200], [Capped] rows, [lowest] presidence

Modified Action r s BidCap TrueCap Tie Bid Margin
CL^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[400]200 200 Tie: 350 myBid:200 margin:8
CL^s [Tie๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[400]200 200 Tie: 350 myBid:200 margin:7
__ [Watch๐Ÿ”ฝ] Tie: 350 myBid:75 margin:11
CL^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[300]200 200 Tie: 350 myBid:200 margin:8
__ [Win๐Ÿ”ฝ] โ˜โ˜‘ โ˜[300]200 Tie: 350 myBid:375 margin:0
__ [Win๐Ÿ”ฝ] โ˜โ˜‘ โ˜[---]200 Tie: 125 myBid:150 margin:0
__ [Tie๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[200]200 200 Tie: 125 myBid:125 margin:0
CL^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[100]200 100 Tie: 125 myBid:100 margin:2

Example 3:

[Win๐Ÿ”ฝ] |โ˜‘cap at [400] | Tie:350 | margin:0

Note options in row have not changed only settings have changed. Basically Settings cap is disabled

SettingsBidCap [200], [NoneOfThe] rows, [RowCap] presidence

Modified Action r s BidCap TrueCap Tie Bid Margin
NR^r [Win๐Ÿ”ฝ] โ˜‘โ˜ โ˜‘[400]200 400 Tie: 350 myBid:375 margin:0
NR^r [Tie๐Ÿ”ฝ] โ˜‘โ˜ โ˜‘[400]200 400 Tie: 350 myBid:350 margin:0
__ [Watch๐Ÿ”ฝ] Tie: 350 myBid:75 margin:11
NR^r [Win๐Ÿ”ฝ] โ˜‘โ˜ โ˜‘[300]200 300 Tie: 350 myBid:300 margin:4
__ [Win๐Ÿ”ฝ] โ˜โ˜ โ˜[300]200 Tie: 350 myBid:375 margin:0
__ [Win๐Ÿ”ฝ] โ˜โ˜ โ˜[---]200 Tie: 125 myBid:150 margin:0
__ [Tie๐Ÿ”ฝ] โ˜‘โ˜ โ˜‘[200]200 200 Tie: 125 myBid:125 margin:0
NR^r [Win๐Ÿ”ฝ] โ˜‘โ˜ โ˜‘[100]200 100 Tie: 125 myBid:100 margin:2

Example 4:

[Win๐Ÿ”ฝ] |โ˜’cap at 400200 | Tie:350 | margin:0

Note options in row have not changed only settings have changed. Settings Bidcap Rules all and row caps and checkbox are disabled and strukthru

SettingsBidCap [200], [SettingsBidCap] rows, [All] presidence

Modified Action r s BidCap TrueCap Tie Bid Margin
SA^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’400200 200 Tie: 350 myBid:200 margin:8
SA^s [Tie๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[400]200 200 Tie: 350 myBid:200 margin:7
__ [Watch๐Ÿ”ฝ] Tie: 350 myBid:75 margin:11
SA^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[300]200 200 Tie: 350 myBid:200 margin:8
SA^s [Win๐Ÿ”ฝ] โ˜โ˜‘ โ˜’[300]200 200 Tie: 350 myBid:200 margin:8
SA^s [Win๐Ÿ”ฝ] โ˜โ˜‘ โ˜’[---]200 200 Tie: 125 myBid:150 margin:0
SA^s [Tie๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[200]200 200 Tie: 125 myBid:125 margin:0
SA^s [Win๐Ÿ”ฝ] โ˜‘โ˜‘ โ˜’[100]200 200 Tie: 125 myBid:150 margin:2

AlwaysWin-ntsmhf Bookmarklet - Original route (probably abandoning)

Version: 0.1

To load the bookmark go to the AlwaysWin-ntsmhf Bookmarklet site

Drag & drop the above link into your bookmarks to save it.

Compiled JavaScript thanks to Google's Closure Compiler