How to block alert popups on imvu!? 

Yay. Ever wondered if its possible to block those annoying alert popups on imvu? I mean not in general and not when turning off Javascript on your browsers settings. I mean just for imvu homepages!

The following does only work on Firefox!

Some steps are required in order to make it work.

1st: Grab this extension for firefox: ChromEdit Plus and restart your browser to activate the addon.
2nd: Decide on what things you want to block. Just alerts or even confirm requests and propmpting boxes?
Expecting you want to block it all you need to do the following steps:

Click on Tools > ChromEdit Plus > ChromEdit and go to the user.js tab. Now be careful on what you are doing here. When adding the following lines of code there it will block all popping up boxes on websites that start with avatars.imvu.com:

// block alert popups on imvu
user_pref(“capability.policy.policynames”, “imvurestriction”);
user_pref(“capability.policy.imvurestriction.sites”, “http://avatars.imvu.com”);
user_pref(“capability.policy.imvurestriction.Window.alert”, “noAccess”);
user_pref(“capability.policy.imvurestriction.Window.confirm”, “noAccess”);
user_pref(“capability.policy.imvurestriction.Window.prompt”, “noAccess”);

To tell you more about the code: First we define a policyname (imvurestriction) to be used on sites like http://avatars.imvu.com. The three lines after that are used to define an noAccess-Rule to the alert/confirm/prompt functions of Javascript. If you decide to not disable all three of them, just leave out the ones you want to keep. When finished: Save and Restart and it will immediately take action. Technically this means the browser prevents access to this built-in features on imvu homepages because of these settings.

Like this Javascript is still fully working and the pages will still loading fine as usual, but without any annoying popups.

Against annoyance. Ben