Skip to content

StudocuHack v2.10.0

Choose a tag to compare

@danieltyukov danieltyukov released this 14 Aug 13:22
· 22 commits to master since this release

Fixes premium/blurred pages rebuilding without any text (issue #58).

Studocu splits every page of a native PDF into two separately signed layers: a background image (bg{hex}.png) holding only the figures, and an HTML text layer ({objectKey}{hex}.page) holding the words. The background layer of every page is fetchable, but Studocu only signs the text layer of the pages it lets you read. v2.9.0 fell back to the background layer for premium pages, which produced a crisp but completely empty page.

  • Premium-locked pages are now detected from signedQueryParams.pages and are no longer overwritten with the textless figure layer. They keep Studocu's blurred preview and carry a label explaining why, both in the viewer and in the download.
  • Documents where every page is gated (pages: []) are no longer mistaken for scanned documents and blanked.
  • Fixed an ordering bug where the blur-flag patch cleared the document metadata before the page loader read it.
  • The clear-image swap now falls back to the original preview instead of leaving a broken image when the server refuses it.
  • Page numbering no longer counts the download overlay's own page clones.
  • Pages whose text Studocu does send are still unlocked in full, and the browser console prints exactly which pages could not be recovered.

Note: when Studocu never sends a page's text to the browser, no extension can un-blur it. Those pages are now labelled rather than silently blanked. See the README for details.

Install

Chrome / Brave / Edge (use the zip, not the xpi): download studocuhack.zip, extract it, open chrome://extensions, enable Developer Mode, click Load Unpacked, and select the extracted folder.

Firefox (use the xpi): open about:addons, gear icon, Install Add-on From File, select studocuhack-v2.10.0.xpi. Note: normal Firefox only installs Mozilla-signed add-ons; a signed build will be attached here.