I made a quick bookmarklet that advises you on what to buy next in Cookie Clicker. Unfortunately, the forum doesn't recognize the Javascript URL, so you will have to manually create the bookmark yourself by copying and pasting the below code. Just make sure the URL starts with "javascript:" because I know that Chrome removes it automatically when you paste it in the URL bar.
Code:
Screenshot:
That is all.
Edit:
After searching if anyone else has made something similar, I found a project on GitHub that implements basically the same algorithm in Python. It's at pcrglennon/cookie-advisor.
Code:
javascript:(function()%7Bvar%20max%20%3D%200%2C%20maxIndex%20%3D%200%3Bfor%20(var%20i%20%3D%200%3B%20i%20%3C%2010%3B%20i%2B%2B)%20%7Bvar%20cps%20%3D%20Game.ObjectsById%5Bi%5D.storedTotalCps%2FGame.ObjectsById%5Bi%5D.amount%3Bif%20(isNaN(cps))%20cps%20%3D%20Game.ObjectsById%5Bi%5D.storedCps%3Bvar%20cpspc%20%3D%20cps%2FGame.ObjectsById%5Bi%5D.price%3Bif%20(cpspc%20%3E%20max)%20%7Bmax%20%3D%20cpspc%3BmaxIndex%20%3D%20i%3B%7D%7Dalert(%22You%20should%20buy%20a(n)%20%22%20%2B%20Game.ObjectsById%5BmaxIndex%5D.name)%7D)()
Screenshot:
That is all.
Edit:
After searching if anyone else has made something similar, I found a project on GitHub that implements basically the same algorithm in Python. It's at pcrglennon/cookie-advisor.