How to hidden javascript code in Blogger from inspect page element?

后端 未结 1 1254
深忆病人
深忆病人 2021-01-21 17:21

I am trying to hide some javascript code from inspect page element.

For example I have HTML widget as:



        
1条回答
  •  北海茫月
    2021-01-21 17:53

    Impossible at all.

    You've sent a script element to the client. The inspector is running in the same scope with the same permissions as your script.

    You can obfuscate it (if you really need to).

    0 讨论(0)
提交回复
热议问题