I have also blocked javascript for now on the forum (i never liked those types of mouseover popups). What about restricting the popup generation to one match per post and 2-3 per page? (of the same homebrew). So if one has named Lamecraft 10+ times in a single post it only creates a popup link once, and if the same homebrew has been named lots of times in a page then only make 2 or 3 links.

e.g.:

if a user says "homebrew_name, blah, blah, blah, homebrew_name, more words, more words homebrew_name, final words." then it will only create a link on the 2nd one. If there are lots of posts like this on the page then the script will only choose 2 or 3 of these posts to create the link.

Thanks guys for the feedback, so here's what I plan to do in the days to come, hopefully this weekend:
- add an option in user control panel to disable the plugin
- fix the weird size issue that some people experience on Firefox (this one's really weird, firefox is my browser, the plugin was developed and tested a lot on this browser)
- investigate the possibility to limit the amount of times a given homebrew gets highlighted per page (codestation's suggestion)

codestation: I know some people don't realy like those types of popups because they remind people of advertising (I took my inspiration from a feature I love on another forum dedicated to MTG cards), would you have a suggestion for something less intrusive ?

wololo wrote:... 500 homebrews is updated every week. The system takes the most popular homebrews AND some homebrews that don't have many ratings. This allows people to "discover" new stuff...Maybe I'll change the algorithm to give more "chance" for a new homebrew to show up.

that´s fast..

..thinking the same a disable option for this plugin can be helpful to, no problem for me

TiPi was doing some security checks on the database
I fixed the vulnerabilities he identified so far (the "random homebrew" file was not checking if the homebrew was approved or not).
Nevertheless, that plugin was sanitizing the html before outputting it, so it was risk-free, but just looked weird.

wololo wrote:
- fix the weird size issue that some people experience on Firefox (this one's really weird, firefox is my browser, the plugin was developed and tested a lot on this browser)
- investigate the possibility to limit the amount of times a given homebrew gets highlighted per page (codestation's suggestion)

These two things are done. I set a fixed width/height for the popup, so it should work on all browsers. I also limited the links to 3 times the same homebrew per page, and once maximum per post. This should limit the "overuse of popups" on subforums such as the lamecraft one.

I wanted to work on an option to deactivate the plugin in the user control panel today, but instead I investigated an HBL thing...