Closed
Bug 1392295
Opened 7 years ago
Closed 7 years ago
Hide Images feature: use content blocker
Categories
(Firefox for iOS :: General, enhancement, P3)
Tracking
()
RESOLVED
FIXED
Iteration:
1.30
Tracking | Status | |
---|---|---|
fxios | 10.0 | --- |
People
(Reporter: garvan, Assigned: garvan)
Details
(Whiteboard: [MobileCore])
Attachments
(1 file)
We can now implement a hide images feature that blocks network loads of images.
I just hooked this up to try it out, looks great so far.
Quick code snippet for later use in ContentBlockerHellper.swift:
let json = "[{'trigger':{'url-filter':'.*','resource-type':['image']},'action':{'type':'block'}}]".replacingOccurrences(of: "'", with:"\"")
self.ruleStore.compileContentRuleList(forIdentifier: "images", encodedContentRuleList: json) {
rule, error in
self.addToTab(contentRuleList: rule, error: error)
}
tracking-fxios:
--- → ?
Updated•7 years ago
|
Priority: -- → P2
See this PR that adds option to enable only when offline
https://github.com/mozilla-mobile/firefox-ios/pull/2806
Updated•7 years ago
|
Whiteboard: [MobileCore]
Updated•7 years ago
|
Attachment #8908628 -
Flags: review?(jdarcangelo)
Updated•7 years ago
|
Updated•7 years ago
|
Attachment #8908628 -
Flags: review?(jdarcangelo) → review+
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•