Cronologia versioni di F.B. Sponsored/Ad Post Blocker - 12 versioni
F.B. Sponsored/Ad Post Blocker di Inky
Attenzione alle versioni datate. Sono visualizzate solamente per scopi di test e di riferimento.È raccomandato usare sempre l’ultima versione di un componente aggiuntivo.
Ultima versione
Versione 1.1.44
Rilasciato 15 ago 2026 - 57,28 kBCompatibile con firefox109.0 e successive, android120.0 e successive- Ads kept appearing on a phone while the badge said posts were hidden.
Both statements were true. Facebook virtualises the mobile feed: only a
window of posts is rendered, the rest sit atdisplay: nonewith afiller
element reserving their scroll height. Measured on a live phone feed, 42 of
64 feed children were hidden at once, behind a filler 13,226px tall.
A virtualised-out post reportsoffsetWidth0 — it has no box. The width
rule infindMobilePostContainerread that as "narrower than 60% of the
feed" and returnednull, so every off-screen ad was classified, rejected,
and forgotten. Facebook then revealed it on scroll, unfiltered. The posts
that were on screen resolved normally, which is why the badge kept
climbing while ads stayed visible.
The rule exists to reject nested carousel items — real boxes that happen to
be narrow. It can say nothing about an element with no box at all, so it is
now applied only to elements that have one. "Not currently rendered" and
"too narrow to be a post" are different claims, and only the second is
evidence against something being a post.
Desktop is unaffected: nothing there is virtualised this way, so every
candidate has a box and the rule applies exactly as before.
Long blank gaps between posts are a separate problem with the same root.
Facebook sizes that filler assuming the posts it virtualised still occupy
their heights; hiding one shrinks the content without shrinking the filler.
This release does not address that.
It is also not yet known whether a hide applied while a post is virtualised
out survives Facebook revealing it — if Facebook overwrites the inline style,
the ad returns, and the observer would not notice because it watcheschildListonly, not attributes. That is the next thing to measure, and the
reason this ships as one change rather than two.Codice sorgente rilasciato sotto licenza Licenza MIT
- Ads kept appearing on a phone while the badge said posts were hidden.
Versioni precedenti
Versione 1.1.42
Rilasciato 15 ago 2026 - 53,39 kBCompatibile con firefox109.0 e successive, android120.0 e successive- Structural breakage now announces itself. Every mobile code path is gated
on` and the app banner on.fixed-container.bottom`. Both names are Facebook's to change, and when
either goes the symptom is silence: labels still classify, nothing anchors,
and the extension looks completely healthy while hiding nothing. 1.1.39 spent
three stacked fixes inside exactly that blind spot.
The check is not "doeshtml-rendererstill match" — that only catches the
rename already imagined. It counts classified labels against anchored ones,
and warns once per page if 20 labels match while none resolve. That signature
means detection works and container resolution does not, which is what a
structural rename looks like on either layout, desktop landmarks included.
The warning reports which layout gate was taken so the two cases can be told
apart immediately.
The app banner gets its own check, since it is the one target anchored by
selector rather than by climbing: reaching resolution at all means the text
matched and the layout gate passed, so failing to find the bar is
unambiguous and needs no threshold.
This one is deliberately notDEBUG-gated. A diagnostic that only speaks
in a build the user isn't running does not fix a silent failure. It is one
console.warn, at most once per page, and it cannot fire on a page where
anything at all was successfully hidden.
It warns; it does not adapt. A structural fallback was considered and rejected:
guessing the layout from "no ARIA landmarks, shallow document" would let a
wrong guess disable every mobile path silently — reintroducing the failure mode
this is meant to remove, one level further down.Codice sorgente rilasciato sotto licenza Licenza MIT
- Structural breakage now announces itself. Every mobile code path is gated
Versione 1.1.41
Rilasciato 14 ago 2026 - 51,52 kBCompatibile con firefox109.0 e successive, android120.0 e successive- Declared an Android compatibility floor of 120. AMO validation flagged
permissions.requestas unimplemented at the stated minimum, and it was
right: per Mozilla's compatibility data that API landed in Firefox for
Android 120, while the manifest claimed 109. Below 120 the "Allow on
facebook.com" button in both the popup and the setup page would have done
nothing at all — on the one platform 1.1.39 exists to serve. 120 is also
where Firefox for Android gained general extension support, so it is the
floor at which any of this is installable anyway.
gecko_androidsets a compatibility range separate from desktop, which is
what it is for. Desktop stays at 109.
AMO still warns thatdata_collection_permissionspostdates the stated
minimum (140 desktop, 142 Android). Those are left alone deliberately: it is
a manifest key, unknown keys are ignored by older browsers, and nothing
behaves differently. Silencing them would mean raising the desktop floor from
109 to 140 — cutting off every user between — to quiet a cosmetic warning
about a key whose entire content is a declaration that no data is collected.Codice sorgente rilasciato sotto licenza Licenza MIT
- Declared an Android compatibility floor of 120. AMO validation flagged
Versione 1.1.39
Rilasciato 14 ago 2026 - 49,77 kBCompatibile con firefox109.0 e successive- Works on Facebook's mobile web layout. Installed on a phone the
extension hid nothing at all, while looking perfectly healthy: permissions
granted, content script injected, no errors. Three separate faults were
stacked behind that, each invisible until the one before it was fixed.
Container resolution had nothing to anchor to. Mobile web ("weblite" —
it tags` withhtml-renderer) is a different app, not a narrowrole="article"
desktop. It exposes no ARIA landmarks whatsoever: no, noaria-posinset, nodata-pagelet, norole="complementary", and the<div>
author header is a plainrather than a heading. Every strategy infindPostContainerkeys off one of those, so all of them returnednull.findMobilePostContainerclimbs instead: that layout's feed is a singleunfollowed
container whose direct children are the posts, so the post is the last
ancestor before the first ancestor with many children. A width check
rejects nested carousels, which can also clear the child-count bar. For, the label must sit inside the container's first child —isAuthorLevelLabel`'s "don't hide a post over a quoted author's Follow
button" rule, expressed without headings to key off.
Ad labels were unmatchable. Weblite draws its icons from a font mapped
into the Private Use Area and packs them into the same span as the text, so
an ad's label is literally"Ad\u{F078B}\u{F17E0}". Those glyphs are
categoryCo, andINVISIBLE_CHARS_REstripped onlyCfandMn, so the
cleaned text never equalled"Ad". This is precisely why mobile hid
unfollowed posts but never ads:"Follow"happens to sit in a span of its
own, with no icons alongside it.
The decoy filter threw the labels away before either fix could matter.
isImplausiblyShallowtreats anything within 10 levels of` as aMOBILE_SHALLOW_DEPTH_LIMIT`).
portal/decoy span, which holds on desktop where real posts sit 15+ deep.
Weblite's entire document is about 11 levels and an ad label measures
exactly 10, so every real ad was discarded before resolution was attempted.
The limit is now layout-aware (
Desktop behaviour is unchanged. TheCostrip does apply to both, but it
can only shorten text: the neighbouring organic-post span is a timestamp
plus the same icons,"1h\u{F212D}\u{F3196}", which cleans to"1h"and
matches no target. Confirmed against a live desktop feed as well as mobile.Codice sorgente rilasciato sotto licenza Licenza MIT
- Works on Facebook's mobile web layout. Installed on a phone the
Versione 1.1.38
Rilasciato 13 ago 2026 - 46,91 kBCompatibile con firefox109.0 e successive- The
DEBUGperf line now reports MutationObserver cost separately. It
previously timedscanRootonly, so everything the observer callback does
includingcacheLabelTargetswalking every subtree Facebook inserts during
its initial render was invisible. That blind spot had already hidden one
regression: the retry-loop freeze fixed in 1.1.35 reported a healthy
1.0ms across 274 scanswhile the page was unusable.
Measured on a real feed, the observer costs 2–16ms per 2s window and falls
after load rather than spiking during it, which ruled it out as the cause of
a slow first paint that had been attributed to it.
- README leads with an Install section pointing at the store listings.
Both sideload sections are now labelledDevelopment:a temporary add-on
disappears on restart and never updates, so it is the wrong way to install
this for normal use.
No behaviour change in release builds: the instrumentation isDEBUG-only.Codice sorgente rilasciato sotto licenza Licenza MIT
- The
Versione 1.1.37
Rilasciato 13 ago 2026 - 45,66 kBCompatibile con firefox109.0 e successive- A setup page opens once, on first install. The popup prompt added in
1.1.36 only helps someone who opens the popup, and a new Firefox user has no
reason to: the extension appears installed and simply does nothing. The page
explains that facebook.com access is still needed and requests it directly.
It reads the current permission state rather than assuming: where access is
already granted always the case on Chromium it shows a short "you're all
set" confirmation instead of asking for anything. Gated on
reason === "install"so upgrades don't reopen it, and thetabs.create
call is wrapped, because failing to open a setup page must not take the
background script down with it.
-build.ps1copiesonboarding/. The payload is an explicit file list, so a
new directory ships only when added here — worth remembering when adding
another.Codice sorgente rilasciato sotto licenza Licenza MIT
- A setup page opens once, on first install. The popup prompt added in
Versione 1.1.35
Rilasciato 13 ago 2026 - 41,37 kBCompatibile con firefox109.0 e successiveThe feed stopped loading. 1.1.30 queued any element carrying an
aria-labelledbywhose target didn't resolve, on the theory that ad labels
arrive late; 1.1.33 then tightened the retry loop to one frame. Facebook has
a great many elements with dangling label references a 300-post feed
carries roughly 1,800 — so the queue flooded and every entry was
re-examined every 16ms for the full 8s window.
The theory was wrong regardless: late-arriving labels were never what hid
feed ads. Following the sprite reference (1.1.32) was. That queueing is
removed, and the retry loop is back to 50ms.
- The retry queue is now capped (MAX_PENDING_LABELS). It exists for ads
staged in a hidden node and reparented a moment later, which is a handful of
entries at most; a future change that queues too eagerly should degrade
detection, not the page.Codice sorgente rilasciato sotto licenza Licenza MIT
Versione 1.1.33
Rilasciato 13 ago 2026 - 39,25 kBCompatibile con firefox109.0 e successiveCodice sorgente rilasciato sotto licenza Licenza MIT
Versione 1.1.21
Rilasciato 12 ago 2026 - 31,31 kBCompatibile con firefox109.0 e successiveAdded CHANGELOG.md for version update notesCodice sorgente rilasciato sotto licenza Licenza MIT
Versione 1.1.20
Rilasciato 12 ago 2026 - 28,77 kBCompatibile con firefox109.0 e successiveF.B. Sponsored/Ad Post Blocker — 1.1.20
Fixed
Sponsored posts were not being hidden at all. Facebook's scrambled "Sponsored" label pads the real characters with decoy spans, distinguished by class-list length — but the direction of that signal had flipped. The filter was discarding the real characters (~22 classes) and keeping the decoys (~7). Detection now assembles every plausible partition and matches against any, so a future flip can't silently kill it again.
Hidden posts immediately reappeared. Any node added inside a hidden post was treated as Facebook recycling the container, and the post was restored. Ads mutate constantly after being hidden (video players, lazy-loaded media), so they were un-hidden within milliseconds — and never re-examined, because scanning only ever runs on newly-added nodes. Restoring now re-checks the evidence first.
Group posts were wrongly hidden. A post embedding a shared post inherited the quoted author's "Follow" button, so a group you're a member of quoting someone you don't follow was hidden entirely. Follow/Join now only counts for the post's own author.
The toolbar counter reset by itself. The background script is an event page — Firefox suspends it after ~30s idle, discarding the in-memory tally. The badge then jumped back to 1 while the popup reported 0. The count is now read back from the badge itself, which survives suspension, with per-tab serialisation so concurrent updates can't lose increments.
Performance
Element text is now read only on leaves and character-split labels. Wrappers are skipped — the leaf holding the text is visited in its own right, so reading wrappers re-walked the same subtree once per nesting level.
The getComputedStyle walk is gated behind a structural check, instead of running on any element with two or more children.
Facebook's portal accessibility spans (<span id="r…_">, which contain the word "Sponsored" but belong to no post) are dropped before entering the retry queue.
Unfollowed labels no longer enter the retry queue — a Follow button and its author header always render together, so retrying can't change the outcome.
Changed
DEBUG now defaults to false. When enabled it reports the running build version, a rolling scan-cost summary, and unresolved matches capped at 15.
README rewritten to correct several stale claims and document the traps.
Known issues
Right-column sidebar ads are detected but not hidden. They have no aria-posinset, and the sidebar no longer carries the role="complementary" landmark the fallback relied on. Hiding nothing was preferred over risking an over-broad match.
Unfollowed detection assumes the post's own author header is the first heading in the post. If it isn't, those posts are missed (fails quiet rather than hiding wrongly).
Feed ad detection rests on the scrambled-text path; the "… sponsored content" aria-label only matches sidebar ads. Some feed ads may slip through.
English-language labels only.Codice sorgente rilasciato sotto licenza Licenza MIT
Versione 1.1.10
Rilasciato 12 ago 2026 - 23,01 kBCompatibile con firefox109.0 e successiveFixes a bug where a "Follow [creator]" button in a Reels comment panel could be mistakenly resolved through the sidebar ad detection path, incorrectly hiding the entire comments panel. The "hide unfollowed Pages/Groups" feature no longer uses that fallback at all, it's now restricted to genuine feed posts only. No other behavior changes.Codice sorgente rilasciato sotto licenza Licenza MIT
Versione 1.1.8
Rilasciato 9 ago 2026 - 21,82 kBCompatibile con firefox109.0 e successiveReels' comments/info panel could get incorrectly hidden. Root cause: the "hide posts from unfollowed Pages/Groups" feature was matching a "Follow [Reel creator]" button and climbing up to the nearest role="complementary" ancestor to decide what to hide, a fallback originally built for the main feed's right column ad sidebar, but FBs also happens to mark a Reel page's entire comments panel with that same role="complementary" landmark. The "unfollowed" detection no longer uses that sidebar fallback at all; it's now restricted to sponsored/suggested content only, which is what it was actually validated against.Codice sorgente rilasciato sotto licenza Licenza MIT