NOTE: I often run into games missing, or outdated data, on Steam Price History I'm not sure why that is. Steam DB also has price history, so I think I'd recommend my other script, and using Steam DB (scroll to bottom) to see price history - https://greasyfork.org/en/scripts/458699-steam-steamdb-button
Adds a link to https://steampricehistory.com page of the given game to the game purchase page. That way you can check if there were any sales recently or ever (some games do not do sales, as a policy, e.g. Factorio - https://store.steampowered.com/app/427520/Factorio/ ).
NOTE: not all games have entry in the history website, to make sure the button works try an old and popular game, e.g. CS:GO - https://store.steampowered.com/app/730/CounterStrike_Global_Offensive/
NOTE: the button is localized to match your Steam language, but I have very few languages in the script now. If your language is missing you will get English word 'History' instead. Feel free to suggest a word to add if your language is missing.
NOTE: if there is more than one buy button (game that has multiple versions, free demo, DLCs, OST, bundle, etc.) there is a button added near each, but they all lead to same page, the URL of history page is based on URL of the game and nothing else.
NOTE: compatible with my other script - https://greasyfork.org/en/scripts/458699-steam-steamdb-button