您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
This script modifies download links on the Pass-Éducation website to allow file downloads without a subscription. It also removes Google Tag Manager (GTM) iframes that appear on the page.
Link Management Script and Removal of GTM Iframes
This user script (UserScript) allows you to:
.callout.warning.link-attachment
.attachment_id
and archive_id
parameters in the URL.src
containing googletagmanager.com/ns.html
.1. Updating download links:
.auth-href
.attachment_id
parameter, it is replaced with a download URL.archive_id
parameter, it is also updated with a new download URL for the archive.2. Mutation Observer:
.auth-href
links added dynamically.3. Removing GTM iframes:
src
matching Google Tag Manager (googletagmanager.com/ns.html
), the iframe is automatically removed.In summary, this script allows you to manage download links and remove Google Tag Manager iframes on the Pass-Éducation website without paying for a subscription.