ge-ku / AutoJoin-for-SteamGifts

Automatically enters giveaways from Steamgifts.com
https://chrome.google.com/webstore/detail/autojoin-for-steamgifts/bchhlccjhoedhhegglilngpbnldfcidc
GNU General Public License v2.0
105 stars 22 forks source link

Background Auto-Join & Hiding DLC do not work #17

Closed hwgn closed 6 years ago

hwgn commented 7 years ago

Hey there.

I've recently got a new HDD because of severe computer issues, previously auto join in background worked perfectly. Now, it doesn't, the extension isn't even running in the background (Enabled in SG settings, chrome settings; other background extensions work) and I can't find a fix for it.

Additionally, hiding DLC giveaways does not work at all (doubt this one is solveable on my side)

ge-ku commented 7 years ago

Hello, Please open chrome://extensions/ and enable Developer mode (top of the page), then disable and enable extension and click on "Inspect views: background page". It should open a window with console, wait for about a minute after enabling extension and paste or screenshot output here.

I'll check hiding DLC issue later.

hwgn commented 7 years ago

2017-09-07 18_17_54-developer tools - chrome-extension___bchhlccjhoedhhegglilngpbnldfcidc__generated

Says i have 0pts, i got 37

ge-ku commented 7 years ago

Hiding DLC is now fixed (not yet in Chrome Store). Thanks for noticing it!

As for this other issue, I'm not sure why it thinks you have 0 points when you have more. Can you open developer console (Ctrl + Shift + J) on steamgifts.com and paste there jQuery('a[href="/account"]').find("span.nav__points").text() It should retrieve amount of points same way it does in the background.

hwgn commented 7 years ago

gives me "2424" while having 24pts

ge-ku commented 7 years ago

This is even weirder! Can you do the same but paste jQuery('a[href="/account"]').html()?

hwgn commented 7 years ago

"Account (<span class="nav__points">24</span>P / <span title="4.00">Level 4</span>)"

ge-ku commented 7 years ago

Seems fine, now why doesn't it return the same in background is a question... Can you link me your Steam profile so we communicate faster?