Skip to content

[EN] Foreground autojoin

Vaibhav Vishal edited this page Sep 27, 2018 · 5 revisions

It starts with autoentry.js. Everything in this file is pretty self explanatory. The code entry point is $(document).ready near the beginning of the page.

Join buttons next to giveaways

Ctrl+F value = 'Join' will take you to this part.

Settings overlay

Now this is THE interesting part of the extension to my eyes. The HTML of the overlay is stored in settings.html, and the CSS, including animations, in general.css. These files are used twice:

  • On steamgifts.com, settings.html is appended at the end of the page, but is hidden.
  • On the chrome options. Right click on the extension's icon and click options to get there.

Settings are loaded via the loadsettings function, that can be found in settings.js. This file also holds all the functions relative to saving and loading the settings in the overlay div.

Autojoin function

Ctrl+F fireautojoin

Autojoin button and cog icon

Ctrl+F 'AutoJoin'

Thanks for following this small wiki, and I hope it helped you decide which file to open first 😉