custom page actions?

possible to add custom filters to page actions? if, is there a guide to create them? i would like a filter, that dims white backgrounds ..