Add crime stats to result

Add the new number of crimes in the category to the result message

2022-10-22 기준 버전입니다. 최신 버전을 확인하세요.

작성자
miros
평점
0 0 0
버전
0.2
생성일
2022-10-18
갱신일
2022-10-22
크기
9.34KB
라이선스
MIT
적용 사이트

When you first run it the script will ask you for an API key (that can get the crime stats, so public is enough)

Uses 1 API call per crime. If you re-click on a crime within 3s, then it uses a cache, so clicking 50 2-nerve crimes in quick succession will only use 1 API call. But only do that to get the merit!

Only works in Firefox, on Linux. When I test with Chrome, I end up being targeted by the bot hunter, so I don't think I will investigate too much. As they say: "patches welcome".