Hi everyone,
[There was me blabbering some gibberish, but I decided to remove this part since it wasn't informative.]

Open in pop-in

Preparations before installing script

Warning: SteamGifts forbid loading its pages in frames and this script uses frames!
Due to that script won't work as-is and require one extra extension to work properly.

  • Mozilla Firefox I've found this.
    However, it doesn't work in current version of the browser. There are more, but most of them are outdated or have so complex interface that I didn't bother to deal with. -_- Please tell me if you find any extension that works there. I also fixed one issue in the script which prevented it from working in Firefox.
  • Google Chrome, Opera and similar
    1. Install extension, navigate to SteamGifts and press extension's button.
    2. Click on profile name at he top and give it a name like "SG X-Frame-Options Fix"
      (you can add more profiles using menu on the left side for other sites)
    3. Press "+" and add "Response Header" and "Filter"
    4. Type following in the 2 empty fields in "Response Header" section. Make sure it's ticked.

      X-Frame-Options
      SAMEORIGIN

    5. Type this in the in the "URL Pattern" row.

      *://*.steamgifts.com/*

You can use "Open in pop-in" now!

Script

https://greasyfork.org/en/scripts/8064-steamgifts-open-in-pop-in (direct link)
(Click there on green "?" button next to "Install" if you don't know how to install such scripts)

The primary goal of this script is to improve SteamGifts experience by opening various stuff right on the same page without leaving it.
I don't think it's necessary to leave current page to check the game description or to read FAQ on how to use comments formatting or check entered giveaways or... well, pretty much everything. For example, this scrip let you join or leave giveaways from the main page except it does not add "Join" button directly on the page as Easy SteamGifts does. It shows you giveaway page right on top of the main page and you can get back just by clicking on the area around pop-in.

I have to warn you that my script will load SteamDB instead of official Steam store pages if you click on the game links in the giveaways and there are two reasons for that:

  1. Steam have regional packages which are not available in other countries and packages without a page. When you try to open a link to such a package you will be redirected to the main page. Can't say it's helpful. SteamDB will provide all the important information and let you look for a package belonging to your region.
  2. Valve forbid loading their store pages inside of the other pages (in iframe). There are a couple of exceptions like their widgets, but in general it's not possible anymore. So, if you want to check game on Steam you have to open it in a new tab.

You can open official Steam page in a new tab (or any other link, not limited to this site, this is standard browser feature) by a middle-click on a desired link.

Look for similar

https://greasyfork.org/en/scripts/17130-steamgifts-look-for-similar (direct link)

It adds a button to each giveaway to let you search for all similar giveaways. Besides main page it works on entered/created/won giveaways pages and on separate giveaway pages. It also supports charts in Deals section of Discussions (technically any charts formatted in a similar manner).

Here are a few screenshots of "Open in pop-in" script in action:

View attached image.
View attached image.
View attached image.
View attached image.
9 years ago*

Comment has been collapsed.

Deleted

This comment was deleted 5 years ago.

9 years ago
Permalink

Comment has been collapsed.

Just installed it
Looks good.
Thanks for writing it.

9 years ago
Permalink

Comment has been collapsed.

So awesome! Thank you very much! Is there any way that you can get it to refresh the remaining entry points that are left in your account after entering a giveaway? The Account box at the top right corner of the page doesn't refresh. It also doesn't work correctly with the endless scroll feature of Steamgifts++ once you reach the second page.

9 years ago*
Permalink

Comment has been collapsed.

Hi, I know it isn't popular, but maybe a few people still using it besides me. So, since Steam forbid opening their store pages in the frame I've updated script to display steamdb.info page instead. Login on steamdb.info to see owned DLC and the other stuff like that.

Also added some simple functionality to update points on the main page when you join or leave giveaway. Very basic one.

9 years ago*
Permalink

Comment has been collapsed.

Not popular? Really? It's my favourite UserScript next to one-click improved game filter. Never found this topic before though.
But really, the one-tab feature it gives me when looking through the messages or just checking how active GAs fare is just beyond awesome. More people should use this script.
(Not to mention that for me this script is way more reliable than the GAs only pop-in feature of SG++. That one derps out all the time when other scripts are on the site too, but this one works like a charm.)

9 years ago
Permalink

Comment has been collapsed.

95 installations so far.
Well, nice to hear someone likes it. :)

9 years ago
Permalink

Comment has been collapsed.

:(
This script really should have more users.

9 years ago
Permalink

Comment has been collapsed.

Update:

  • minor code refactoring;
  • added special support for joined/created/won links:
    • now they will open in pop-in both from the top and left panels;
    • while in pop-in mode Browse category will disappear from the sidebar menu;
    • while in pop-in mode joined/created/won links will be opened in the current frame to allow proper navigation between them;
  • user profile links will open in pop-in now to let you investigate user profile without leaving current page.

Some sad statistic:
Total installations: 124
Daily installations: ~0.7

So, I can expect about 370~380 users next year… :)

8 years ago*
Permalink

Comment has been collapsed.

Yay, thanks!
The script really needs more recognition for the convenience it makes with messages alone, let alone running GA management.

8 years ago
Permalink

Comment has been collapsed.

Sorry for these multiple deleted comments — I had to test new method of replacing numbers in the notifications. :)

8 years ago*
Permalink

Comment has been collapsed.

you can showcase your script in this thread :3

8 years ago
Permalink

Comment has been collapsed.

Thanks. Will apply for it.

8 years ago
Permalink

Comment has been collapsed.

Hi everyone, another update:
I did a couple of major modifications in the internal code to get rid of the ugly redraws during the page load when script hides unnecessary page elements inside of the pop-in frame. Also, rewrote links handling code to be as compatible with other scripts as possible and replaced all code based on innerHTML with a proper DOM manipulations. There could be a couple of minor issue when popin is opened when it is not necessary and not opened when it is needed. Will handle them a bit later.

8 years ago
Permalink

Comment has been collapsed.

Ok, I think I've fixed most of the issues when pop-in opening or not opening.

8 years ago*
Permalink

Comment has been collapsed.

This update kinda broke the script for me. It renders the background and nothing else.
Yep, checked, v2.4 is the last one where there are no rendering issues and it also displays the opened page. Using Opera/Blink engine.

8 years ago
Permalink

Comment has been collapsed.

Strange, it works fine in Google Chrome and Opera is based on it.
Will install Opera and check it there.

8 years ago
Permalink

Comment has been collapsed.

Just installed Opera 35 with Tampermonkey and latest version of my script, and everything looks fine here on my side.
In particular I wrote this comment with discussions loaded in pop-in.

Which scripts and extensions are you using with SG in Opera? Does my script work if they are disabled?

BTW, I've noticed such behavior a few times yesterday, but as I understood that was due to data loading error or timeout. SG was rather unresponsive recently.

8 years ago
Permalink

Comment has been collapsed.

Strange, because I'm using the same Opera and the latest version of the script on the other work PC and now it works.
I'll scratch it up as an other IT mystery.

8 years ago
Permalink

Comment has been collapsed.

Probably something cached up. Screwed me way too many times when I'm working on something and browsers decide to cache.

8 years ago
Permalink

Comment has been collapsed.

By the way, I found out what was the source of my rendering problem: if I enable fixed footer in SG++ the pop-in windows render only the background. If I disable it, it works normally.

8 years ago
Permalink

Comment has been collapsed.

Try to update to v3.16. Should be working properly now.

8 years ago
Permalink

Comment has been collapsed.

Yep. Thank you! <3

8 years ago
Permalink

Comment has been collapsed.

Update:

  • Improved discussions support. Now separate discussions will be opened in a pop-in and without a sidebar. As always middleclick a link to the discussion if you want to open it in a new tab.
  • Fixed some rare cases when some of the SG pages were loaded in the current pop-in when a link to such page were clicked. Now all unknown links will be opened in a new tab if clicked link is located in pop-in.
  • Fixed available points synchronization if there are multiple fields with number of available points on the popin's parent page.
  • Made user account button with number of available points visible in all pop-ins but user account pop-in (looks out of place there).
8 years ago*
Permalink

Comment has been collapsed.

I've noticed that after initiating account sync I always end up refreshing the main page to remove all newly added games. So, I came to conclusion it will be only logical to do so automagically. :)

Update:

  • Now pages with active giveaways (front page and search pages) will be reloaded if account sync initiated in one of the nested pop-ins. Doesn't matter how deep it will be.
8 years ago
Permalink

Comment has been collapsed.

Check out my other script: https://greasyfork.org/en/scripts/17130-steamgifts-look-for-similar
It adds a button to each giveaway to let you search for all similar giveaways. Besides main page it works on entered/created/won giveaways pages and on separate giveaway pages.

8 years ago
Permalink

Comment has been collapsed.

HTTPS support on SG: Fixed loading SteamDB in a pop-in.

8 years ago
Permalink

Comment has been collapsed.

I got bored to remember to use a middle-click on a third-party links on a SteamDB when it's loaded in a pop-in, so added code which runs on SteamDB and modifies all third-party links to open in a new tab if SteamDB were loaded in a frame.

8 years ago
Permalink

Comment has been collapsed.

The look for similar addon adds the search for similar button on poll answers too. Idk if I just goofed up installing it or if this is an issue

8 years ago
Permalink

Comment has been collapsed.

An issue. Will look into it.
Could you please give me a link to an example?

8 years ago
Permalink

Comment has been collapsed.

When I got to this discussion (just as an exapmle) i get what is shown in the image below. If i click the search button it does nothing though

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Hm… I can't reproduce this on my side. Interesting. Have you modified script in any way during the installation in the Greasemonkey/Tampermonkey? Which extension and version of the extension to install user scripts are you using?
The script is configured to run only on 3 kinds of URLs:
*://www.steamgifts.com/ ← main page without sub-pages
*://www.steamgifts.com/giveaway/* ← singe giveaway page
*://www.steamgifts.com/giveaways/* ← various lists of giveaways
Discussions are not included and the script shouldn't even appear in the list of active scripts.

8 years ago*
Permalink

Comment has been collapsed.

I deleted it and reinstalled it and it all works fine now. I have no idea what happened

8 years ago
Permalink

Comment has been collapsed.

Suggestion in SteamGifts: Look for similar.
Is it possible to support RAChart?
https://www.steamgifts.com/discussion/F7fgE/bundle-stars-gamepedia-anniversary-bundle

8 years ago
Permalink

Comment has been collapsed.

Do you mean open links from these charts in pop-ins?

8 years ago
Permalink

Comment has been collapsed.

Look for similar icons after each game names.
This will make easy to find GAs that are in current bundle.

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Ah, right, LFS, not pop-ins. Ok, will do so.

8 years ago
Permalink

Comment has been collapsed.

Ok, try new version of the script.

8 years ago
Permalink

Comment has been collapsed.

Dropdown look great.
But please fix min width.

View attached image.
8 years ago
Permalink

Comment has been collapsed.

Try now.

8 years ago
Permalink

Comment has been collapsed.

Nice update.

8 years ago
Permalink

Comment has been collapsed.

Awesome update, I love the v3.x new features. Thanks a lot.

8 years ago
Permalink

Comment has been collapsed.

Hi lainverse
iFantz7E reported that my script breaks your SG look for similar script.
My script adds giveaway point after the name, so if you can change some of the codes, it'd be great.

Just remove $ sign at line 170 and then add this after line 170.

.replace(/\s\(\d+P\)/,'')

Then user just need to put your script below my script so that my script doesn't override the magnifying glass.
Thank you

EDIT: I changed some codes of my script in case your script runs before my script. Your script will have incorrect search URL if running after my script. The solution above will fix it.

8 years ago*
Permalink

Comment has been collapsed.

thanks for the the info on how to surgically merge them<3

8 years ago
Permalink

Comment has been collapsed.

Hi, thanks, modified my script as well.

8 years ago
Permalink

Comment has been collapsed.

nice script!
bump!

8 years ago
Permalink

Comment has been collapsed.

bump thanks , useful script bumping for downloaded~

8 years ago
Permalink

Comment has been collapsed.

No install button..How to install this to tampermonkey i am new on this

8 years ago
Permalink

Comment has been collapsed.

Chrome Extension: Tampermonkey

8 years ago
Permalink

Comment has been collapsed.

Deleted

This comment was deleted 4 years ago.

8 years ago
Permalink

Comment has been collapsed.

oh, you're probably right really. xD

8 years ago
Permalink

Comment has been collapsed.

Are you using NoScript or something like that? Not sure, but that could be the reason.
I've added direct links to scripts into the topic. If Tampermonkey installed and works properly then on top of a script source you should see basic information about the script and install button. If you see only script source then Tampermonkey isn't installed or doesn't work right.

8 years ago
Permalink

Comment has been collapsed.

I don't think it's necessary to leave current page to check the game description or to read FAQ on how to use comments formatting or check entered giveaways or..

Have you ever heard about Tabbed Browsing? If you middle-click on a link, it will open in a new tab.

8 years ago
Permalink

Comment has been collapsed.

Ye, sure, you can. When you have 20-30 tabs with stuff you sure want to open a couple more.

BTW, if you read a bit more you will notice I wrote about the middle-click trick there for Steam store links, so I'm aware of it, thanks.

Also, Mac OS / Safari / Magic Mouse users may like it... even though I never tested it there. Because, you know, this: http://apple.stackexchange.com/questions/171254/how-to-enable-middle-click-of-apples-magic-mouse
Isn't it crazy to sell a mouse capable of middle-click, yet didn't give users a way to use it?

8 years ago*
Permalink

Comment has been collapsed.

Look for similar is now partially integrated: https://www.steamgifts.com/discussion/CRIrT/search-by-appsub-id

Now we see 2 identical magnifying glass icons next to the titles...

8 years ago
Permalink

Comment has been collapsed.

Updated code:

  • native LFS icon should be assimilated if present;
  • added option "Here" in the "Won" list to check if won a second copy by mistake.

Now, if native LFS link were present click on the magnifier glass will lead to a link provided by the site. Click on the option "Here" will use own code.

8 years ago
Permalink

Comment has been collapsed.

Thank you!

8 years ago
Permalink

Comment has been collapsed.

Bug report: magnifying glass is still duplicated inside game pages: https://www.steamgifts.com/giveaway/qvc1Z/the-rebel

Thanks!

8 years ago*
Permalink

Comment has been collapsed.

Thanks, fixed.

8 years ago
Permalink

Comment has been collapsed.

In sub, it still has 2 icons.
https://www.steamgifts.com/giveaway/bu0ql/pinball-thrills-triple-pack

Please add "/giveaways/search?sub="

8 years ago
Permalink

Comment has been collapsed.

Fixed, thanks.

8 years ago
Permalink

Comment has been collapsed.

Open in pop-in started having problems for me on Opera and Vivaldi today. Only works about half the time, I need to CTRL+F5 to get it back.

8 years ago
Permalink

Comment has been collapsed.

Not sure I can help. Just installed Vivaldi with ABP, Tampermonkey and this script and it works just fine there. Could be some local issues like long page load speed. Part of the script waits when page fire DOMContentLoaded event and if for some reason it get's postponed (problem with one of the third-party scripts on the site, slow internet) it may not run in time. However, usually browser fires that event after a while anyway. I've encountered such behavior in Google Chrome a few times, but really rarely. Might be an issue with some specific build of the browser and disappear in the next update.

8 years ago
Permalink

Comment has been collapsed.

Thanks. Could be that then. Well, joys of using a browser that is still in the "growing" phase, I guess. ^.^

8 years ago
Permalink

Comment has been collapsed.

I freaking love the pop-ups. I can't thank you enought for this

But id like to customize a bit; All and evey mouse i ever bought have very short lived middle-buttons reliabilty and its a pain to mid-click when i want to reach the store quickly; That coupled with the longer load of steamdb and its more of a burden for me. I wish steam allowed to iframe store pages but since that won't happen (and probably there is good reason for not allowing)... i can check steamdb from the storepage and the rare ocurrences i end up on the storefront i can google or go search directly in steamdb. Way more of a shore but its so uncommon its not a problem.

I freaking love the pop-up for discussions but thanks to some other script/extension (not sure from wich each feature i like coms) i only browse the discussion with some features like showing me what ive readed and such; As expected no script/extension affects the poped-in discussions.

In no way im requesting for any kind of settings- since tampermonkey allows us to easily edit i would love if you could point out where/what i could comment off from the code or change so i can turn off these two XD

Thanks a lot for all the time and effort put on this, its awesome \o/

7 years ago
Permalink

Comment has been collapsed.

Not sure why discussions doesn't work with your scripts/extensions. At least all TM scripts I've checked worked fine since IFRAME treated as a separate page. Could you please give me a link to script/extension which you use? I'd like to look what's wrong.

To modify behavior of discussions links look for

// if user clicked a link - try to handle it properly
if (t.href) {

and add this right after it

                            if (/\/discussion/.test(t.pathname) &&
                                !/\/discussion/.test(document.location.pathname))
                            {
                                t.target = '_blank';
                                return;
                            }

If you remove t.target = '_blank'; then all discussions links will open as usual. With it first link will open in a new tab, then in the same tab.
If you remove && !/\/discussion/.test(document.location.pathname) then all discussion links will open in a new tab or behave as usual depending on presence of t.target = '_blank';.

And with this Steam links will be opened in a new tab:

                            if (isSteamStore.test(t.hostname))
                            {
                                t.target = '_blank';
                                return;
                            }

Actually, I like Steam DB since it doesn't hide packages unavailable in specific regions like Steam Store does.

7 years ago*
Permalink

Comment has been collapsed.

Hi there,

If you see my script not working then please understand that isn't an issue in my code.
This happened because SteamGifts set 'X-Frame-Options' to 'deny' in all page header responses. Same as Steam.
I may figure something out eventually, but for now please disable my script.
It won't work.

7 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.