grant GM_getResourceText