Greasy Fork 支持简体中文。
Replace `twitter` to `vxtwitter` when sharing links
< 腳本Fix Twitter Share Link的回應
Made a few tweaks for current twitter urls: added to header
// @match https://x.com/*
and adjusted lines 22 and 23 to the following:
if (selected.match(/^https+:\/\/((.+)\.)?x\.com\/(.+)\/status\/(\d+)(\?.+)?$/)) { const newUrl = selected.replace(/^https+:\/\/((.+)\.)?x\.com\/(.+)\/status\/(\d+)(\?.+)?$/, 'https://vxtwitter.com/$3/status/$4');
Updated, thank you
登入以回復
Made a few tweaks for current twitter urls: added to header
// @match https://x.com/*
and adjusted lines 22 and 23 to the following: