Scribd Content Viewer/Downloader

View or export scribd docs content for free

< Обсуждения: Scribd Content Viewer/Downloader

Отзыв: Нормальный — скрипт работает, но имеет существенные недостатки

Hi! The current version of the Scribd Content Viewer/Downloader userscript does not support localized Scribd domains such as ru.scribd.com, de.scribd.com, etc. Please apply the following universal fix to ensure full compatibility across all subdomains:
1) Replace the @match directive with *://*.scribd.com/* so the script runs on any language/region subdomain.
2) Update all RegExp patterns where https://www.scribd.com/... is hardcoded — instead use https://(?:www|[a-z]{2})\.scribd\.com/... to support two-letter subdomains. 3) For embed redirection, always generate the URL with the global domain: https://www.scribd.com/embeds/ID/content regardless of the source subdomain. These small changes will make the script universally functional across all international Scribd versions with minimal code adjustments. Thanks!

Ответить

Войдите, чтобы ответить.