ios - Content-Blocking extension in safari does not work on XCode / iPhone? -


i want develop content blocking extension safari in ios , xcode.

i created single view app safari content blocking extension. added following json blockerlist.json:

[  {     "trigger": {          "url-filter": ".*"         },     "action": {          "type": "css-display-none",          "selector": ".site-title"         }   }  ] 

i testing in ios simulator in xcode, have activated content blocker in safari already, if go website "site-title" element (the filter used on every website), div layer not blocked, visible.

the div layer on site (i checked chrome in mobile view):

<div class="site-branding">   <h1 class="site-title"><a href="http://www.website.com" rel="home">name</a></h1>   <div class="site-description">contenttoblock</div> </div> 

what doing wrong?


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -