albert-sun / tamper-scripts

Miscellaneous Tampermonkey scripts for automation
GNU General Public License v3.0
74 stars 27 forks source link

No footer displayed when using GreaseMonkey / derivatives #13

Closed HaloGeekster closed 3 years ago

HaloGeekster commented 3 years ago

The orange-red footer does not display when using popular userscript managers other than Tampermonkey. This prevents me from changing settings such as whitelist, blacklist, and auto refresh interval. Footer did not appear when testing with GreaseMonkey or ViolentMonkey, in either Chrome or Firefox.

I can currently work around this by copying the values generated from TamperMonkey's 'Storage' tab after changing the settings to ViolentMonkey's 'Values' tab.

For anyone else using ViolentMonkey that needs a quick work-around you can copy the settings below and paste them to Values -> All and edit them yo your heart's content. (just remember autoReloadInterval needs to be 10000 or higher to enable auto-refresh)

Default Values for settings:

 {
    "bestBuy-cartSavedItems_blacklistString": "[]",
    "bestBuy-cartSavedItems_whitelistString": "[\"3060\", \"3070\", \"3080\", \"3090\", \"6700\", \"6800\", \"6900\", \"5600X\", \"5800X\", \"5900X\", \"5950X\", \"PS5\"]",
    "bestBuy-cartSavedItems_initialClick": true,
    "bestBuy-cartSavedItems_reloadClicked": false,
    "bestBuy-cartSavedItems_autoReloadInterval": "0",
    "bestBuy-cartSavedItems_colorInterval": "250",
    "bestBuy-cartSavedItems_loadUnloadInterval": "50",
    "bestBuy-cartSavedItems_errorResetDelay": "250",
    "bestBuy-cartSavedItems_cartCheckDelay": "250",
    "bestBuy-cartSavedItems_cartSkipTimeout": "5000"
}
cvocvo commented 3 years ago

Even with TaperMonkey I'm not seeing the orange-red footer on whitelisted items.

HaloGeekster commented 3 years ago

The footer wont be on the items themselves, but rather at the bottom of the window when you are on the cart page.

As a side note I haven't messed around with it much to test different script managers out yet, but the auto-click to enter que didn't work on Violentmonkey in Firefox during yesterday's drop. Everything works perfectly if using Tampermonkey in Chrome, so for now I suggest using that.

cvocvo commented 3 years ago

Thanks for the quick reply; I see that red bar on the cart now. So to set this up we should just install it, increase the timeout, and then add some items to our saved items list and go to the cart? If they're in stock when the cart refreshes it will add them to the cart? (not quite sure how to actually use this)

HaloGeekster commented 3 years ago

@cvocvo Baisic steps:

  1. Add any items you are looking to get to your saved items.
  2. Whenever BestBuy starts a drop open the cart page. All your saved items will populate with either Sold Out or Add to Cart buttons.
  3. If it sees an Add to Cart button on a whitelisted product, the script will automaticaly click it. Some items (like GPUs) will then have the button trun grey and have an animated "Please Wait..." text. This means you have entered the que.
  4. When your turn in que comes up the button will once again turn to a yellow Add to Cart button that the script will automatically click for you. (no need to refresh, it just happens)
  5. From this point its in your own hands to rush through checkout as fast as you can.

Tips: