The Misery module really needs to add this: http://theonion.github.io/fartscroll.js/

Really.

Comments

damienmckenna’s picture

Title: Fartscroll » Add fartscroll.js
gedur’s picture

Status: Active » Closed (won't fix)

Ha ha ha, this library is very funny :) but this is not the aim of the module.

Misery needs to be invisible to the (troll) user and this library is too obvious.

Thanks for your suggestion.

damienmckenna’s picture

Are there suitable hooks in place? It might make a worthwhile sandbox.. =)

gedur’s picture

Yes, I need to document better with an *.api file but meanwhile:

hook_misery_handlers() : Return your own miseries.

misery_misery_handler_configuration_form(): Configuration form options for previous own miseries.

hook_misery_perform(): Action to be taken if the misery is invoked.

Maybe it's a good idea to start a pranks module for all of this.

damienmckenna’s picture

Cool, thanks. Meanwhile, someone released a module to do this: http://drupal.org/project/fartscroll