Infinity178,
в простом случае можно так:
arr="http://exemple.com/index.php?module=XXX#Managers&editorManager&id=1"
.replace(/[^#]+#/, "").split("&").map(function(s){return s.replace(/[^=]+=/, "")})
data={key: arr[0], type: arr[1], id: arr[2]}
console.log(data)