>>/1398/
This should fix the @match line.

// @match       https://endchan.*/*/res/*.html