main
12
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
fd104e231a |
Point every GitHub location at oss-invisible (#485)
* Point every GitHub location at oss-invisible The repository and its companions moved to the oss-invisible organization: invisible_playwright is now oss-invisible/playwright, invisible_core is oss-invisible/core, invisible_playwright_mcp is oss-invisible/playwright_mcp and firefox_antidetect_patch is oss-invisible/firefox_antidetect_patch. README, docs, package URLs, release/counter scripts and the tests that pin them now use the new locations. PyPI package names are unchanged. * docs: keep one doc line as it is (the local name guard) * Version 0.51.1: the files that go into the wheel changed since v0.51.0 (package URLs) * CHANGELOG: the 0.51.1 heading the version bump needs |
||
|
|
84192938cb |
Nineteen pages show the values they describe, and twenty-four stop pointing nowhere (#181)
* Four more pages get the measurement they were describing Each of these pages asserted something a reader has to take on trust. Each one now carries the run that produces it, on one Windows machine, one page served from 127.0.0.1, with the numbers computed inside the page so the figure and the figures agree by construction. Canvas fingerprint changes every run. Four sessions: two without a seed disagree on both readbacks and even on the device pixel ratio, two with the same seed are identical, 0 of 79,800 pixels apart. The drawing looks the same in all four panels, which is the useful part: the eye cannot separate them and the hash can. Running it also contradicted a sentence the page carried, "Different seed, different bytes": two different identity seeds can land on the same hardware seed and return the same readback. The direction that holds is same seed, same bytes, and the text now says only that. Human-like mouse movement. Three ways to reach one target, with the page recording every pointer event. All three report isTrusted true, so the trusted flag does not separate the driver from the engine, only both from page script. What separates them is the deltas: 3 distinct movementX values across 41 events for an evenly stepped driver path, 26 across 34 for the engine's. And the third panel is not a graceful arc, which is this page's whole thesis in one image. Detecting installed fonts by width. The article's own snippet, run over ten families against two different fallbacks. Consolas reads absent against monospace and present against serif on the same machine in the same session, because Consolas is what monospace resolves to there. An invented control family stays absent under both, which is what makes that a finding. The rule now names its exception: an identical width means the candidate did not render, or the candidate is the fallback. Screen size and viewport tells. The taskbar check does not fire on this browser: bundled Firefox headless reports a 48 pixel gap, same as headful. What is a tell is the constant, 1366x768 at two different viewports. Also states a sharp edge of ours: an explicit viewport leaves outerWidth on the declared window while innerWidth follows the request, 1490 pixels of impossible chrome, and no_viewport keeps the pair at a plausible 85. Every PNG was opened and inspected, and carries no metadata chunks and nothing after IEND. * Measure the new_page default instead of describing it The page says browser.new_page() ships Playwright's stock 1280x720, and that the same gap was closed on this engine. Both halves are now run rather than stated. Three headless sessions on one page served from 127.0.0.1. The bundled Firefox opened with new_page() reports inner 1280x720 on a screen it calls 1366x768. The same build asked for new_context(no_viewport=True) reports 1366x683, a window on that screen instead of a number from a config file. The patched engine opened with new_page() reports 1920x947, which is exactly what its own new_context gives, so the convenience call is not picking up a default nobody chose. The first panel carries a second contradiction worth naming on a page about relationships: outerHeight reads 805 while availHeight reads 720, so the window is taller than the space the OS says exists. PNG opened and inspected, no metadata chunks, nothing after IEND. * Thirteen more pages show the values they describe, and the canvas page gets two corrections Each page now carries a card of the values it names, read from a page served from 127.0.0.1 by two headless sessions: Playwright's bundled Firefox and a patched engine. Every card holds that page's own values, so no two are the same table. Eleven pages had at least one value that differs between the two browsers, so those carry both panels. Three had none, and there the card is a single panel with a note that the bundled Firefox returned the same values: a difference that does not exist is not worth two identical tables. Four cards were built and then dropped rather than shipped. Five pages named the same trio of userAgent, platform and oscpu, which would have put the same three-row table on five pages, and two comparison pages would have carried the same two-row table. Kept where that trio is the subject, dropped elsewhere. Three probes are deliberately not in the catalogue because they reveal the host that ran the bench: the unmasked WebGL renderer prints the real GPU, the resolved timeZone and navigator.languages print where the machine is. Measured on this host before they were removed. And the canvas page carries two corrections that came out of running it: Without a seed, what changes on every launch is the device, not necessarily the readback. Five unseeded launches moved the screen between 1920x1080 and 2560x1440, the core count between 4 and 12 and the ratio between 1 and 1.25, and returned the same canvas four times out of five. So two unseeded runs agreeing on a canvas hash is the likely outcome, not evidence that a seed took effect. And hashing toDataURL partly hashes the PNG encoder. Three launches of the bundled Firefox drawing an identical canvas returned three different toDataURL hashes and the same getImageData bytes every time, with privacy.fingerprintingProtection and privacy.resistFingerprinting tested both ways. The cards read getImageData for this reason. All nineteen PNGs opened and inspected, no metadata chunks, nothing after IEND. * Three questions the new measurements answer, in the block that captures them Each of these is a question a reader types and the page could not answer until the bench ran. One per page, and all three different: a block that grew by the same entry on three pages would be padding. Hash getImageData rather than toDataURL when you want to know whether the drawing changed, because three launches of the bundled Firefox returned three data URL hashes and the same pixel bytes. Playwright's Firefox reports 1366x768 with availHeight 720 in headless mode, and it did not move at two different viewports, so it is a constant rather than something derived from the session. And a font the probe calls absent may be the fallback: Consolas reads absent against monospace and present against serif in the same session on Windows. * Shorten the one alt text that ran past four hundred characters Every other figure sits between roughly one hundred and three hundred; this one described four things a screen reader has to hear in one breath. Same content, fewer clauses. * Give seven mute pages their first in-body links linkgraph counted 24 pages in the engine corpus with zero contextual outgoing links and named none of them, so the number had sat there for a month with nobody able to act on it. Named now, they turn out not to be stubs: 620 to 2600 words, six to eleven H2s, with every internal link sitting in the See also footer or the FAQ block, which the graph excludes on purpose because boilerplate is not equity. Seven of them get two or three links each, written for the sentence they sit in: the four net::ERR_* pages point at the siblings that differ only in how far the exchange got, Anubis and Turnstile point at each other on the proof-of-work layer they share, and the CSP page places an init script at the page-JavaScript level of the three. Measured before and after with the tool, on this worktree: 24 to 17. * Eleven more mute pages, and the integrations family had none at all The eight pages under docs/integrations had zero internal markdown links between them: only the directory README pointed in, and nothing pointed out. They are also the pages where a reader arrives having already chosen a tool, which makes them the ones most worth giving a next step. Links are placed on the sentence that raises the subject, and the target differs per page on purpose: eight near-identical pages that all grew the same link in the same section would be the monotemplate signature the checklist warns about, which is the thing the See also block already is. So the user-agent warning points at why one string is the weakest thing to change, Crawlee's fingerprint generator at what a fingerprint is read as, scrapy's SOCKS route at where Playwright drops the credentials, TestCafe's missing prefs column at the seed. One anchor was written before checking the target and described something that page does not cover; it names the layer stack now, which is what the page is actually about. Link form is the corpus convention, [x](slug.md), which build_wiki resolves from a subdirectory through its addressable table. The ../slug.md form would read correctly on github.com and dead on the wiki, which is the surface that ranks. Measured with the tool against this worktree: 17 to 6, median outbound density back to 3.4 per thousand words. * The last six mute pages: the engine corpus is at zero Six troubleshooting and getting-started pages get their first in-body links, and three of them sit next to each other in the error space, so the links say which of the neighbouring errors you would be reading instead: force-clicking through an overlay against the not-attached error, a leaked process against a script still holding a browser that went away, strict mode against a click that is merely covered. Two anchors were written before reading the target and had to be corrected. One claimed a page covered whether content arrives in the HTML, which it does not; it names the layer stack now. One asserted the seed page lists two things it cannot pin, which is not the shape of that section; it points at the section by what it is. An anchor that describes the target wrongly is worse than no link, because a reader follows it once and stops trusting the rest. engine: 24 mute pages to 0, median outbound density 3.4 per thousand words, inside the 2-5 house range. aihawk still has 2, both on the restricted themes, handled separately. * An anchor with an underscore left one dead link on the wiki The link rewriter's anchor class was [A-Za-z0-9-], and a heading like "What invisible_playwright does and does not do here" produces an anchor carrying an underscore. The pattern then fails to match the whole link, not just the anchor, so it shipped to the wiki as ](geetest-v4-explained.md#...) - a dead target, because the wiki has no .md pages. One link across 463 pages, and invisible from either side: the page renders normally and only the destination 404s. Found by building the wiki and grepping the output for links that still end in .md, which is worth doing on any batch that adds internal links. Underscore added to both classes, since a page name can carry one for the same reason a heading can. Rebuilt: the unresolved count goes 1 to 0 and exactly one of the 463 output files differs, so nothing else moved. * The headful panel printed this machine's display, so it comes out The screen figure had four panels and the third was labelled "now it is the host's display". It was: 1365 x 853, the real geometry of the machine the bench ran on, painted into the pixels of a page about to be published. The alt text had carefully avoided the number, so the image was the only place it appeared. That is the class the house rule names by name, and it got through because the exclusion list lives in the probe catalogue, which the value cards go through and a bespoke bench does not. A bench written for one page reaches straight past it. Recomposed from the three headless panels with the harness. The argument survives: the taskbar gap is still 48 px, the screen is still a constant across two viewports, the patched engine still declares 1920x1080. The headful measurement is now stated in prose, with the reason it is not shown, which is the honest version of what that panel was for. Renamed to three-arms, free to do because the URL has never been published. The other four bespoke figures were opened and are clean, and the 114 strings rendered into the fourteen value cards were scanned for IP, host timezone, host locale, GPU model, user paths and machine names: nothing. |
||
|
|
c41b321b12 |
Real citations and factual fixes across the docs corpus (#105)
Every article whose Sources section named a tool, library, spec, or paper without a working link now carries a verified URL, checked live before being added. Where the underlying claim itself was wrong, not just uncited, the claim is corrected too: a storage-quota page had the mechanism backwards (total disk size, not free space) and a dead ternary that never read the value it claimed to show; a Puppeteer migration guide called Firefox support experimental after it went stable; a debugger-timing page linked a Mozilla doc page that had moved. 125 files, no rewrites: citations, factual corrections, and small house-style fixes only. Verified after: every added URL resolves live, zero em-dashes, zero invented statistics, house style intact. |
||
|
|
6d21f5ffe8 |
docs: a playbook pass over the next 100 articles
Second block of the review (articles 101-200 alphabetically): tightened the opening answer of each section, kept the FAQ and see-also blocks in place, and linked the primary source (Playwright docs, MDN, a spec, the relevant RFC, or the Python docs) where a claim rests on one. Nine pages were already in good shape and were left untouched. No claim was changed. |
||
|
|
682983f393 |
docs: SEO/GEO optimization pass over 120 more existing pages
Extends the answer-first optimization pass (tightened meta descriptions, direct self-contained answers per section, comparison tables where apt, descriptive-anchor internal links) across 120 more of the older pages. Conservative: no new factual claims invented, technical claims and honest caveats preserved, no keyword stuffing, and a couple of pre-existing internal-detail mentions were generalised. The remaining older pages were left for a later pass. |
||
|
|
af895b9b25 |
docs: generate BreadcrumbList JSON-LD from a Jekyll include, not per-file
Every article had a hardcoded <script type="application/ld+json"> block right after its front matter. On the built Pages site this renders invisibly in <head> as intended. On github.com's own blob view - the exact page type this project has spent this whole session converting README links toward, for its dofollow authority - GitHub's markdown renderer doesn't execute <script> tags but also doesn't hide them: it printed the raw JSON as visible text at the top of every single article, right above the actual content. Moved the breadcrumb generation into docs/_includes/head_custom.html, the theme's documented custom-head extension point (a plain Liquid include, not a Jekyll plugin, so it's fully compatible with GitHub Pages' safe build mode). It reads page.parent/page.grand_parent/ page.title from front matter and emits the identical BreadcrumbList schema into <head> at build time - same output on the live site, nothing left in the markdown source to render badly on GitHub. Verified the new template reproduces every existing hardcoded block byte-for-byte by simulating it in Python against all 82 files that had one, before removing any of them. That check caught two pre-existing, unrelated bugs along the way: cross-origin-iframe- unreachable.md was missing its breadcrumb script entirely, and slow-browser-launch-timeout-budget.md's script pointed at a 404'd slug (guides-testing-and-troubleshooting.html instead of the real guides-testing-troubleshooting.html) and its front matter was missing grand_parent: "Guides", which the sidebar nav depends on. Both are now fixed automatically by the shared template; the missing grand_parent field is also corrected directly in front matter. Stripped the now-redundant hardcoded script block from all 82 files that had one. |
||
|
|
f77e2d5873 |
docs: BreadcrumbList structured data, not FAQPage - FAQ rich results are dead
Checked before building: Google deprecated FAQ rich results entirely on 2026-05-07, extending the August 2023 restriction (which had already limited them to government/health sites) to nobody at all. Building the FAQPage JSON-LD I'd planned would have added real engineering work for zero visible benefit, so stopped before writing it to any file. BreadcrumbList is still fully supported and fits this site better than FAQ ever did: the hierarchy is already sitting clean in every page's own front matter (parent/grand_parent), so this needed no markdown parsing at all, unlike the FAQ approach would have. Generated a Home > Guides > [sub-category] > [article] trail (or the 3-level Home > Comparisons/ Documentation/Integrations > [page] version) for every one of the 77 pages that has a parent field, using the same title-to-URL mapping the site's own nav already relies on. Verified: all 77 generate syntactically valid JSON, the site verification script still passes on all 83 pages (title==H1 unaffected, since this inserts between front matter and the H1, touching neither), and no forbidden names or secrets in the diff. No GitHub Pages plugin needed - this is why it went in the page body as inline JSON-LD rather than through a theme layout override: GitHub Pages' safe build mode only allows a fixed plugin whitelist, so anything requiring a custom Jekyll plugin to parse content at build time was off the table. |
||
|
|
4fc723ae36 |
docs: the mouse-movement fix that had been testing the wrong call
New article, cross-linked from human-mouse-movement.md. The finding: a humanized path validated against page.mouse.move() and the same path used through page.hover() are not the same test, because hover's hit-target check moves the pointer before the humanized dispatch runs and consumes almost all of the distance first. Measured interleaved on the same page: 108 events on a direct move() call, 3 through hover() - a teleport with two extra samples on it, on the exact call almost every real script uses (hover, click, dblclick, check all share the same path). Two more measured fixes bundled in, because a good macro fix doesn't repair what the stroke itself gets wrong: a +0.4976px systematic jitter bias (should be zero-mean, now 0.00039px) and a duplicate-position rate measured at a page-side listener instead of the planned path, which is the methodological point as much as the number - 0.706 on the planned path, 0.069 measured where a detector would actually be counting. Named what's still open rather than implying it's solved: idle-time distribution and endpoint-always-clickable are macro-level patterns no single stroke fix touches, stated generically since it's a property of click-driven automation generally, not specific to one implementation. Wired into The Automation Layer category (nav_order 8, no collisions). |
||
|
|
a33fc26f03 |
site: real sections instead of one flat sidebar, plus the product docs that were missing entirely
The site read as a pile of articles, not a site for this project specifically, because docs/ only ever held the guides - everything about installing and using the package lived exclusively in the GitHub README, which is not a page on the published site at all. Anyone who landed on an article from a search had nowhere to click for "how do I install this." Five top-level sections now, all via just-the-docs' native parent/has_children front matter, not folders - no URL changes, no broken links: - Documentation (new): Installation, Quickstart, Configuration, Pinning fingerprint fields (existing page, re-parented), CLI reference. Adapted from the README's own Install/Usage/CLI content rather than duplicating it verbatim, since these needed to stand alone as pages rather than sections. - Guides: the 48 existing explainers, grouped into 7 categories instead of one alphabetical list - Browser Identity (15), Canvas/WebGL/Fonts/Audio (8), Network/Proxy/WebRTC (7), The Automation Layer (7), AI Agents and Frameworks (3), Detectors Explained (5), Testing and Troubleshooting (3). - Comparisons: the 7 "vs" and engine-choice articles, promoted to their own section rather than buried inside Guides, since "which tool" is the most direct search intent this site gets. - Integrations: unchanged content, promoted to a top-level section; its 9 pages had no front matter at all until now, so they also pick up real per-page titles/descriptions for the first time. Each new category page is a real intro, not a bare index: why the group holds together, not just what's in it. Also fixed: docs/_config.yml's header comment still said "deliberately no front matter on the pages," which stopped being true on 2026-07-27 when every page got title/description front matter for its own meta description - the comment now says why front matter exists and what it costs (a rendered table on github.com) rather than the reversed decision. docs/README.md and the top-level README's guide list were both cut down from a 40+ entry flat table to pointers at the four new sections, since the sidebar and category pages now do that job. Verified: every parent/grand_parent reference resolves to a real page title, every has_children page is referenced by at least one child, no broken relative links, no forbidden vendor names, no secrets, title==H1 on every page including the 15 new ones. |
||
|
|
4314909230 |
docs: front matter on the 32 pages that predated the format
Every one of these pages previously inherited the repository's own blurb as its meta description on the live site, since jekyll-seo-tag falls back to that when a page has no front matter of its own - the same problem the format was adopted to fix on 2026-07-27, just not yet applied backwards. Title is the existing H1 verbatim in every case (checked programmatically: title equals H1 on all 32, all H1s already under the 62-character limit). Description is a new sentence or two written from each page's own opening hook rather than a copy of its first paragraph, since the two placements serve different readers: the opening paragraph is for someone already on the page, the meta description is for someone deciding whether to click. No content changes to any page body. |
||
|
|
5e0830f3a3 |
docs: contextual links inside the prose, where they were only in the footer
Measured before changing anything. Excluding the See also block, the median page had 0.8 internal links per thousand words and 26 of 54 had exactly zero, with every link sitting in the footer. The guidance on this is blunt: contextual links inside prose carry far more weight than boilerplate blocks, and the working range is two to five per thousand words. Thirteen pages fixed in this pass, each one linking a concept the sentence already named. The rule applied, and the reason nothing else changed: if a link needs a sentence written around it, that is stuffing rather than linking, so the anchor text had to exist already. Two intended edits were skipped for that reason when the phrasing did not match. Median is now 1.0 and pages at zero are down to 13. The rest are queued rather than forced. |
||
|
|
5a6cd97c9f |
docs: three more, each one going a layer below where the ranking pages stop
Same selection method: check the demand, then read who currently answers and find the part they leave out. Mouse movement. Every library that ranks draws a Bezier curve, and they are right that teleporting is a tell. What none of them cover is that a path is made of events, and an event carries fields that say where it came from: the trusted flag, the pointer type, the pressure, the timing distribution. A perfect arc delivered as untrusted events fails a one-line check. The curve is drawn in the driver here; the fields are set in the engine, which is why that half is not a library. Canvas noise. The four-line check that catches per-call randomisation is well known enough now that better tools seed their noise. The second check is not: a small canvas filled with solid reference colours, read back to confirm they are unchanged. Any per-pixel noise fails it, seeded or not, and it is scored as masking rather than as unusual. We shipped without that guard. Also states the cost of substitution honestly, which is that a readback filter cannot tell a fingerprinting probe from a QR decoder. Screen size. The relationships matter more than the numbers, and the one that catches everybody is that available height must be smaller than height, because real desktops have a taskbar. |