1) get Tampermonkey/Greasemonkey/Violentmonkey or other extensions who run userscripts for your browser.
2) once installed, click add/create new script
3) copy and paste the code found in
https://pastebin.com/qT70NH1b4) save and refresh /bant/ and you should have a flag option at the bottom of your 4chan page
5) set your flags and you're done