Fix bug for TamperMonkey.