rest - Is there any way to hide xmlhttprequest log from chrome console -


in project i'm sending request server , found each request displaying in xmlhttprequest log (attached screenshot) , when open browser show data. i'm going create api key method rest api, while take time want hide logs console. question how hide such types of log chrome console.

enter image description here

from point of view not possible hide request sending ajax, , thing is not compulsory use chrome browser use, user can use different browser, showing console log in-build functionality, normal user not see console log. if worried developers there many plugin(like firebug) can use monitor request/response flow. if find way hide them it's not 100% solution.

my advice use server side method call api if possible.

or second thing can call console.clear(); function after calling ajax function(possible after success/fail).


Comments

Popular posts from this blog

Load Balancing in Bluemix using custom domain and DNS SRV records -

oracle - pls-00402 alias required in select list of cursor to avoid duplicate column names -

python - Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] error -