First of all I am not good at javascript(I am newbie that make script with wiki). For why I used xmlhttpRequest. İ can't attach user-agent via xhr.setRequestHeader(useragent) (don't know why but it not let script work). My userscript var is "e621byYusifx1/0.95 userscript". Should i add _client("e621byYusifx1/0.95 userscript") to url or what. And I will change xhr to GM if I had time.
Ps:it's may language barrier if I can't understand terms and sorry if my english bad.