• Hey Guest. Check out your NeoGAF Wrapped 2025 results here!

IGN Media Firefox Extension

Dalamar86 said:
I installed the script but it does not seem to want to work for me. I'll toy with it some.

On a side note, here is another very useful IGN Firefox script which removes all those ads and reformats the page so the news, reviews, ect collums fill their places.

EDIT: Heres a quick screen capture of how it turns out: http://img.photobucket.com/albums/0903/Dalamar86/adlessign.jpg

Code:
/* IGN */
div#leader, div#leaderboardRow, div#rowLeaderboard {
  background-image: none !important;
  height: 15px !important;
}

div#leader div, div#leaderboardRow div, div#colRight div#adHalfpage,
div#colRight div#sweeps, div#colRight div#insider, div#colRight div#fu,
div#colRight div#panelBoxAd, div#colRight div#floodlight, div#minisweeps,
div#colRight img[src$="/images/panelboxad_bottom.gif"] {
  display: none !important;
}

*Go to windows\application data\mozzila\firefox\profiles\<random characters>.<user name>\chrome\
*Open the userContent-example file, replace the examples in there with this code, and then save and rename the file userContent.
*Restart and enjoy.


you sir are an internet superhero. :D

Mejilan make sure you have 'show hidden files' on in your folder view.
 
Ok, think I've got all the possible permutations taken care of now. Sorry to those of you who were saving html files by mistake, my fault. As I said earlier I jumped the gun a bit.

Everything should work now in the new version

Could anyone who wants to use the extension please re-install the script (following the instructions in my original post). The link is here for the lazy (Tools > Install User Scripts.. to install it).

The new code is as follows:

Code:
// ==UserScript==
// @name          IGNLinks
// @description	  Converts IGN Media Links To Direct Download Links
// @include       http://*.ign.com/*

links = document.getElementsByTagName('A');

for (i=0; i<links.length; i++) {

  link = links[i];
  if (link.href.match("^http:\/\/.{1,25}movies\.")) {

    link.href = unescape(link.href.replace(/^(.*)(\?.*)/, "$1"));

  } else if (link.href.match("^http:\/\/media")) {

    link.href = unescape(link.href.replace(/(^http.*=)(.*)/, "$2"));

  }

}

The problem was that I didn't realise IGN codes its cross-platform media links in a different format to their site-specific media. If anyone else runs into any difficulties, PM me the details of the page and what happened and I'll try to iron out the bugs tomorrow.

Hope this helps

Need to sleep.
 
MeatPuppet. Thanks for the update.

Flo. Thanks for the advice. I must have forgotten to re-enable View Hidden Files when I reformated my comp. That did the trick. :)
 
Just to add another thing regarding Firefox and improved performance, if you type 'about:config' in the address bar and add/change these fields to the following values you'll notice quicker page loading overall.

5461z9
 
Dalamar86 said:
I installed the script but it does not seem to want to work for me. I'll toy with it some.

On a side note, here is another very useful IGN Firefox script which removes all those ads and reformats the page so the news, reviews, ect collums fill their places.

EDIT: Heres a quick screen capture of how it turns out: http://img.photobucket.com/albums/0903/Dalamar86/adlessign.jpg

Code:
/* IGN */
div#leader, div#leaderboardRow, div#rowLeaderboard {
  background-image: none !important;
  height: 15px !important;
}

div#leader div, div#leaderboardRow div, div#colRight div#adHalfpage,
div#colRight div#sweeps, div#colRight div#insider, div#colRight div#fu,
div#colRight div#panelBoxAd, div#colRight div#floodlight, div#minisweeps,
div#colRight img[src$="/images/panelboxad_bottom.gif"] {
  display: none !important;
}

*Go to windows\application data\mozzila\firefox\profiles\<random characters>.<user name>\chrome\
*Open the userContent-example file, replace the examples in there with this code, and then save and rename the file userContent.
*Restart and enjoy.


Can someone help me get this one to work?

I do this:

Run-->%AppData%-->Mozilla-->Firefox-->Profile-->xg9z9s5g.default-->chrome-->userContent-example.css-->delete the stuff and put in the new stuff-->save-->rename to userContent.css-->restart

But I can't get it to work
 
I had basically stopped bothering to even check out ign's media section because of their horrible site setup. Thanks so much for this man! :) :) :)
You are the Master!
 
Bowser said:
Can someone help me get this one to work?

I do this:

Run-->%AppData%-->Mozilla-->Firefox-->Profile-->xg9z9s5g.default-->chrome-->userContent-example.css-->delete the stuff and put in the new stuff-->save-->rename to userContent.css-->restart

But I can't get it to work

Do you have more than one profile? Some people might have 2, so try adding the file in the other /chrome profile directory
 
You went into the wrong folder from profiles I think. Its not in the default. folder, it the <random characters>.<your user name> folder.
 
Dalamar86 said:
You went into the wrong folder from profiles I think. Its not in the default. folder, it the <random characters>.<your user name> folder.

That's the only folder in Profiles. I guess I use te default folder.
 
Heh, that's funny. I just deleted the document and then made a new text file, renamed it userContent.css and put the script in there. Saved, restarted Firefox, and voila! It works. BTW, thanks for the script, it's awesome!
 
Just to say thanks for the appreciation. It's nice to be able to help out in some small way, this week is enough to strain anyone's patience as it stands.

Dalmat's userContent hack is awesome too.
 
Anything to help during E3 time. Plus it sorta is screwing IGN over, which is a plus since they won't fix my messed up Insider account. I have the damn thing essentially for E3 and now its frozen.

*Shakes fist at IGN*
 
Greatest extension ever, after adblock of course :) Thanks a bunch!. Lets just hope it lasts a while before ign issues some counter measures.
 
I've had this for awhile, FireFox rocks!

Another awesome one is the google image relinker (straight from thumbnail to full size pic).
sp0rsk said:
can you be a dear and write some firefox GAF extensions?
Yeah one that changes links from say forums.gaming-age.com/* or new.ga-forum.com/* to ga-forum.com/* would be awesome (or vice versa). Its kinda annoying having the three different URLs being used :/
 
I do not know, I've followed the instructions.

Strange things, the "install script" is always available in the tool menu but it does nothing.
 
Top Bottom