Axle Change Posted March 6, 2017 Share Posted March 6, 2017 Somehow I actually found time to finish this. Credits to Mengh Facepalms for letting me use some of his code. Given a specified number of pages, it generates screenshot links and item histories with prices and bump times. It is capable of screenshotting/extracting urls from classifieds pages that you are not currently on. Example: Install: https://raw.githubusercontent.com/AxleChange/CompleteSuggestions/master/Bp.tf%20complete%20suggestion%20maker.user.js Github page: https://github.com/AxleChange/CompleteSuggestions Some things to note: The script includes an api key to Imgur, please don't abuse it. Don't press the button multiple times The script is (relatively) slow, because it is downloading/uploading things The pages parameter is necessary, and will go from page 1 to the page specified Scrolling down the page after clicking "Go" can screw up screenshots This script is only compatible with page 1 of classifieds. Though it likely works on other pages, I would not recommend it due to the way the script reads the pages input The HTML from other pages is appended at the end of the page. Because this is useful for checking the script worked, I don't plan on removing this As of now, only Chrome is supported. I have not tested the script in Firefox. Using &fold=0 on URLs for suggestions is a good idea. The item images will be missing from screenshots. This is because item images are hosted on steam, and browsers block cross-domain requests. How does it work? The script uses html2canvas to generate screenshots of pages. Using AJAX requests, the HTML from other pages is appended to the current page, and are also screenshotted. Each screenshot is then uploaded to Imgur using their api. Finally, I modified Mengh Facepalms' script to be compatible with the appended HTML and to only include sellers and to put the output in an editable textarea. Edit: -fixed an error where requesting 1 page would give 2 imgur links, added update URL to header ѕιи, Happysedits, Mengh. and 2 others 5 Link to comment Share on other sites More sharing options...
phenompak Posted March 6, 2017 Share Posted March 6, 2017 OMG!! thx m8888888880 works 100% perfect http://backpack.tf/suggestion/58bdf0eae33877389028b2fc Link to comment Share on other sites More sharing options...
ksolis01 Posted March 7, 2017 Share Posted March 7, 2017 This is pretty good. Thanks. http://backpack.tf/suggestion/58be05bec44045143f075b14 Link to comment Share on other sites More sharing options...
Blackest Jesus Posted March 7, 2017 Share Posted March 7, 2017 Great work! Should save heaps of hassle for price suggestions Link to comment Share on other sites More sharing options...
Project Nova Posted March 7, 2017 Share Posted March 7, 2017 Im mildly triggered as this would have been super useful for the key suggestions. Still a super cool tool ;p Link to comment Share on other sites More sharing options...
iTrade ™ Posted March 24, 2017 Share Posted March 24, 2017 Looks amazing Link to comment Share on other sites More sharing options...
Happysedits Posted March 27, 2017 Share Posted March 27, 2017 Im so late, just found out about it, thanks, gonna use it in the future! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now