Questions tagged [safari-content-blocker]

This tag should be used with questions about the safari-content-blocker extension (iOS and OS X).

The safari-content-blocker extension is available for booth iOS and Mac OS X. Content on websites such as javascript, css-elements, images and other files can be blocked from loading.

49 questions
0
votes
1 answer

Added site is not blocked with content blocker

Hi I am writing a simple content blocker app. In this app I want to allow the user add a website that he wants to block and block it but for some reasons my content blocker doesn't block newly added website for some reasons. I used…
0
votes
2 answers

Deactive iOS 9 Safari Content Blocking from within the app?

I am searching for a way to easily deactivate the safari content blocking from within the app. Any idea how to do this? Can SFContentBlockerManager.reloadContentBlockerWithIdentifier be helpful for this?
MJQZ1347
  • 2,607
  • 7
  • 27
  • 49
0
votes
1 answer

Invoke Safari Content Blocker extension only when certain conditions are met?

Is it possible to get a Safari Content Blocker extension in iOS 9 to be invoked only when certain conditions are met - e.g. if it is within a certain time period (let's say you want to block trackers from 9-5 but not in the evening), or if you are…
Jason
  • 14,517
  • 25
  • 92
  • 153
-2
votes
1 answer

How to disable all ads on webView swift

How to disable all ads like popups banner in webView for any URL. I am using WKContentRuleListStore for block ads I have use this json content block…
Yogesh Patel
  • 1,893
  • 1
  • 20
  • 55
1 2 3
4