X.com to XCancel.com Redirector

Replaces xcancel.com links with xcancel.com

作者
cucco-io
日安装量
0
总安装量
0
评分
0 0 0
版本
0.1
创建于
2025-04-02
更新于
2025-04-02
大小
2.3 KB
许可证
MIT
适用于
所有网站

X.com to XCancel.com Redirector

Script Description

Title: X.com to XCancel.com Redirector

Description:
This userscript automatically replaces all occurrences of xcancel.com URLs with xcancel.com on any webpage you visit. It modifies both clickable links (<a> tags) and visible text content containing xcancel.com. Additionally, it intercepts network requests (e.g., fetch and XMLHttpRequest) to ensure that any requests to xcancel.com are redirected to xcancel.com. This script is useful for users who want to avoid visiting xcancel.com and instead redirect to xcancel.com.

Features:

  • Replaces all xcancel.com links in anchor tags (<a> elements) with xcancel.com.
  • Updates visible text content containing xcancel.com to xcancel.com.
  • Intercepts and modifies network requests to redirect xcancel.com to xcancel.com.
  • Works on all websites (@match *://*/*).
  • Runs automatically when the page loads and periodically checks for dynamically added content.

How It Works:

  1. The script scans the webpage for any links or text containing xcancel.com and replaces them with xcancel.com.
  2. It intercepts network requests (e.g., AJAX or fetch) to ensure that any requests to xcancel.com are redirected to xcancel.com.
  3. The script runs periodically to handle dynamically loaded content (e.g., content added via JavaScript).

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址