userscripters / fire-extra-functionality

Watch, blacklist, and see domain statistics directly from the FIRE popup! Feature requests more than welcome!
GNU General Public License v3.0
3 stars 5 forks source link

Drop `GM_xmlhttpRequest` for `/api/graphql` once domain count is returned from the metasmoke API #4

Closed double-beep closed 2 months ago

double-beep commented 3 years ago

Currently, there's an issue open in the metasmoke repo which asks that domain count is returned to methods that return spam_domains. Once the feature request is implemented, the script doesn't need to POST /api/graphql

Oaphi commented 3 years ago

issue link for future reference

double-beep commented 2 months ago

So... turns out that GM_xmlhttpRequest wasn't actually needed to query the GraphQL API. I also found out that returning TP/FP/NAA counts for every domain on a post would take too much time as there is no way to filter out whitelisted domains (which generally have many metasmoke hits).