Web-app specific settings

Having specific shortcuts/gestures for given app is cool. But what would be even more suitable is to be able to have configurations specific for concrete "place" in given application.
Generally it is not doable. But I am sure it can be supported for concrete applications like web-browsers.
Imagine special shortcut/gesture for gmail in safari or chrome. I would like to use cmd+w or standard "closing" gesture to archive opened email instead of closing the browser window. Gmail supports internal shortcuts. So it should be possible to redirect bettertouch event to specified key combination. Such configuration should be active only for gmail web page.
That is an idea.

It's easy to achieve with Conditional Activation Groups! More here.