Another userscript from me (for Greasemonkey & Tampermonkey). A fellow asked me to write it, IDK if something like this already exists. Quick search didn't give anything.

On Indiegala's main page script checks if there's a Happy Hour for a new bundle. If there is, it will show a notification, record the bundle to not notify about it again & open the bundle's page. If not, it will reload the page in 30 minutes and check again.
Rights for cookies and notifications for Indiegala are required ("i" icon near the address bar).

Source code.
Installation.

6 years ago*

Comment has been collapsed.

Will you get it?

View Results
I will get it!
I won't get it.
I alread got it :/
I don't get it... at all.
Deleted

This comment was deleted 4 years ago.

6 years ago
Permalink

Comment has been collapsed.

During Happy Hour you can get 2 for 1 on IG bundles, or 4 for 1 if you already bought the bundle once.

6 years ago
Permalink

Comment has been collapsed.

Ha, beat me to it by 27 seconds.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

6 years ago
Permalink

Comment has been collapsed.

Indiegala's super bonus bundle sale.
If you get the $ bundle during this time you can get an extra 1-4 bundles for free as a gift.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

6 years ago
Permalink

Comment has been collapsed.

If you've never bought the bundle but do when it's on happy hour (and check the box that says gift), they give you 2 e-mail links to the gifts (i.e. full bundles). So buy 1 get 1 free.

If you buy the bundle right away (1st week) and then when it's on HH again, you get a total of 3 gifts + 1 from the HH . So 1 +3 +1 = 5 for buying 2 bundles.

You buy it later but before HH and you buy it on HH you get 2 gifts +1 from the HH. So 1 +2 +1 = 4 for buying 2 bundles.

And of course you can buy multiple HH gifts if you want.

6 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

6 years ago
Permalink

Comment has been collapsed.

Edited the description to make it a bit more readable.

6 years ago
Permalink

Comment has been collapsed.

Bump Hour

6 years ago
Permalink

Comment has been collapsed.

Does it still work with the new site?

3 years ago
Permalink

Comment has been collapsed.

Good question. I stopped using IG a while ago.

3 years ago*
Permalink

Comment has been collapsed.

oh i hope its working

3 years ago
Permalink

Comment has been collapsed.

Doesn't seem like it is working

3 years ago
Permalink

Comment has been collapsed.

I'll let you know if I get to fixing it.

3 years ago
Permalink

Comment has been collapsed.

Hey, so I finally decided to fix this script. Back when I originally wrote it there was a list with all currently active bundles and a banner for active Happy Hour. Looking at IG site now I can't find anything similar, so it would help if you explain how things work there.

2 years ago
Permalink

Comment has been collapsed.

These days there will be a "HH" symbol in the bundles submenu if HH is on. The problem is that this submenu often does not load correctly. For example, right now, I only see 3/5 bundles in that menu, which is obviously wrong (Reign of Rage and Tiny Knights missing from the menu). After a refresh I now see 4/5, still wrong and very weird behavior.

My method of hunting for HH which is more reliable is visiting a recently ended bundle. This will give you a perfect bundle overview page with all relevant flags (HH, new 24hr). The only problem is that after about two weeks, the whole bundle page gets taken down, and you have to dig up another recently ended bundle. I'm sure a userscript could try to automatically find and swap between recently ended bundles using cookies, but this sounds like it will make the job more advanced. Alternatively one person could have the responsibility of constantly updating a text string with the most recent ended bundle on a server/pastebin somewhere. I don't know.

I find my recently ended IG bundle overview pages by checking the recently ended bundles on barter.vg. A working example page is currently: https://www.indiegala.com/bundle/japanese-indies-steam-games-bundle

2 years ago
Permalink

Comment has been collapsed.

That menu is indeed broken. It is missing bundles - or includes ended/not-yet-launched bundles - more often than not, and the HH icons sometimes don't show anyway. Sometimes I can refresh the page and items will appear or disappear from the list. It's definitely not reliable on the homepage or active bundle pages, though I don't know about the recently-ended-bundle pages.

Checking the bundle pages individually is the only reliable way IME.

2 years ago*
Permalink

Comment has been collapsed.

But how can I get a full list of active bundles if site is so unreliable?

2 years ago
Permalink

Comment has been collapsed.

The only way is either an old bundle like this: https://www.indiegala.com/bundle/japanese-indies-steam-games-bundle

or https://barter.vg/bundles/7/ (show Active bundles only)

2 years ago
Permalink

Comment has been collapsed.

Currently I'm waiting for next HH to see how it's marked. After that I'll try to update the script.

2 years ago
Permalink

Comment has been collapsed.

What is the "new 24h discount" sign on bundle banner?

2 years ago*
Permalink

Comment has been collapsed.

Do you know when the next HH will be?

2 years ago
Permalink

Comment has been collapsed.

https://www.indiegala.com/bundle/monster-striker-steam-bundle

Detective Inc currently on HH, but probably not for long.

It has a div with a class "bundle-page-other-bundles-extra-info" and div contents of "happy hour", similar to the 24h discount info box.

2 years ago
Permalink

Comment has been collapsed.

I see it, thanks.

2 years ago
Permalink

Comment has been collapsed.

https://github.com/ZeroUnderscoreOu/IndiegalaHappyHourNotifier/raw/master/IndiegalaHappyHourNotifier.user.js

Updated version, seems to work. I changed some stuff. Some notes:

  • On new install In Firefox you will have to manually allow Indiegala's site to send notifications. There should be corresponding icon in the address bar.
  • Script only works on www.indiegala.com/bundle/* pages. It also works on all such pages currently open, and will reload all of them every 30 minutes.
  • You will have to manually open a page for checking.
  • Clicking on script's notification will open page for that bundle. If you don't want that, you should close the notification.

If you or anyone else will figure out a better way to get a list of current bundles, I will probably change how script checks for happy hour. Until then, just open any expired bundle (like one you linked above) and script will work on that page.

2 years ago*
Permalink

Comment has been collapsed.

Getting this error: "Uncaught (in promise) TypeError: Failed to construct 'Notification': Notifications which set the renotify flag must specify a non-empty tag."

2 years ago
Permalink

Comment has been collapsed.

Should be fixed.

Please message back if everything is fine.

2 years ago
Permalink

Comment has been collapsed.

No errors now, waiting for a new HH then

2 years ago
Permalink

Comment has been collapsed.

I was AFK, and when I returned the tab from IG was white with a 500 error. Not sure if this was just unlucky or if the script caused this. (this was after HH launched)

2 years ago
Permalink

Comment has been collapsed.

Have you checked the page address?
I see only two possibilities for script to cause this:

  1. some error with opening new bundle pages (but it opens only after you click a notification);
  2. you had several IG pages opened; all of those pages were refreshing and IG's DDOS-protection temporarily banned you from accessing the site.

Otherwise must've been an unlucky coincidence.

2 years ago
Permalink

Comment has been collapsed.

I'm 100% sure I'm not getting any notifications from any script, although the auto-reload does work. I find the HH's by checking the constantly-open tab manually.

2 years ago
Permalink

Comment has been collapsed.

What browser and user-script engine are you using? I will try to fix it but it may require some assistance from you.

2 years ago
Permalink

Comment has been collapsed.

Chrome, Tampermonkey 4.13

2 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.