Refine the hashing of @resource values.
Refine the hashing of @resource values.

Martii/greasemonkey,Ventero/greasemonkey,HasClass0/greasemonkey,the8472/greasemonkey,Ventero/greasemonkey,the8472/greasemonkey,HasClass0/greasemonkey,Martii/greasemonkey