Facebook Mafia Wars Exp Remaining

By ThatOneGuy Last update Apr 24, 2010 — Installed 57,542 times.

Restore Side Ads/Conflict with MW - Direct Links (Lord Snooze)

in
Subscribe to Restore Side Ads/Conflict with MW - Direct Links (Lord Snooze) 3 posts, 2 voices



eanklin User
FirefoxWindows

I just discovered Lord Snooze's "Mafia Wars - Direct Links" script and started using it. Unfortunately it requires the side ad bar to be there in order to display properly, so it conflicts with the latest versions of Exp Remaining that remove the ad bars. I've found be deleting these lines from the script the side ad bar is restored:

+ ' .UIStandardFrame_Container { padding-top: 0px; }'
+ ' .UIStandardFrame_Content { float: none !important; margin: auto !important; }'

It's probably not the most elegant solution but it worked. Any other suggestions would be welcome.

 
ThatOneGuy Script's Author
FirefoxWindows

I would argue that this is a bug in the other script since they are using the ad div instead of hiding it and creating their own.

To disable this feature, comment out the line:
SetVisualChanges();
(appears right after the method is defined)

Eventually I may make this an option, but I don't really have much time to put into this script.

 
ThatOneGuy Script's Author
FirefoxWindows

Ok, I took these out since I don't really care enough one way or the other.

Enjoy.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel