Closed Bug 1932636 Opened 1 year ago Closed 5 months ago

Add ability to temporarily allow specific content blocker in devtools to allow debugging

Categories

(DevTools :: Netmonitor, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1972771

People

(Reporter: manuel, Unassigned)

Details

(Keywords: priv-triaged)

Attachments

(1 file)

Should be behind a pref. Maybe an x behind the domain name. Clicking it adds the URL to the exception list. When an URL is on the exception list show them crossed out and clicking the x again removes it from the exception list again.

See attachment. Similar to "Block URL", but only for urls blocked by enhanced tracking protection. Should be temporary.

Keywords: priv-triaged
Whiteboard: priv-triaged
Summary: Add ability to temporarly allow specific content blocker in shield icon with list of blocked trackers to allow debugging → Add ability to temporarily allow specific content blocker in shield icon with list of blocked trackers to allow debugging
Attached image image3.png

Might be better to add to devtools (Unblock). To unblock only for this session and not misuse the pref urlclassifier.trackingSkipURLs too much.

Severity: N/A → --
Component: Privacy: Anti-Tracking → Netmonitor
Priority: P2 → --
Product: Core → DevTools
Summary: Add ability to temporarily allow specific content blocker in shield icon with list of blocked trackers to allow debugging → Add ability to temporarily allow specific content blocker in devtools to allow debugging

Thanks, could be useful for webcompat issues investigations.
Do you know if there are APIs we can use to disable ETP blocking for specific requests and which we could call from DevTools codebase?

Flags: needinfo?(manuel)

I don't know myself. It seems like @ben has fiddled with the code base a bit (looking at the commit log of url-classifier). @ben: Do you have any insights on whether there are currently APIs with which the devtools could achive unblocking?

I couldn't find anything immidiately useful with the current idl files I found. classify and the callback are promising, but not sure how those could be used. Or also modifying the list, but that seems global.

Flags: needinfo?(manuel) → needinfo?(bvandersloot)

I don't think there is a good way to do this already per-session in Gecko. Tim might have an idea, but is on vacation. Passing the NI for his return.

Flags: needinfo?(bvandersloot) → needinfo?(tihuang)

We can register a listener via nsIChannelClassifierService and unblock certain requests. This interface is used by SmartBlock to shim scripts. I think we can rely on this as well.

Flags: needinfo?(tihuang)
Priority: -- → P3

Done in a separate panel by leo in Bug 1972771

Status: NEW → RESOLVED
Closed: 5 months ago
Duplicate of bug: 1972771
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: