Code from @World_languages This is not malware and i'll explain the code: $.ajax({type:"PUT", ^^^^^^^^^ Open a PUT request url:"/site-api/users/followers/[Username]/[add/remove]/"}); ^^^^^^^^ The url ^^^Your username location.reload() ^^^^^^^^^^^^^^ Reload the page