How do I know if my iOS Safari content blocker is enabled? [duplicate]

走远了吗. 提交于 2019-12-13 02:23:20

问题


Is there an iOS API that would tell me if my content blocker for Safari is enabled? Or do I have to resort to some kind of heuristics if I want to know that?


回答1:


Have been wondering the same question and eventually came up with this method: break the structure of your .json file and see if you get an error in debuger. If you do - everything is fine and you should revert your .json to the normal state and carry on.



来源:https://stackoverflow.com/questions/32970259/how-do-i-know-if-my-ios-safari-content-blocker-is-enabled

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!