zlacker

[return to "Firefox extension to redirect x.com to xcancel.com"]
1. plesiv+d8[view] [source] 2026-01-07 11:57:55
>>maelit+(OP)
You can add this as a bookmark in your browser, and just click it to toggle between x.com and xcancel.com

javascript:(function(){const p=['https://x.com','https://xcancel.com'],u=location.href,i=p.findIndex(x=>u.startsWith(x));if(i!==-1)location.href=p[(i+1)%p.length]+u.slice(p[i].length)})();

◧◩
2. doblad+P8[view] [source] 2026-01-07 12:02:20
>>plesiv+d8
I do something similar since I don't want to trust yet another extension, I made a small Tampermonkey script.

https://gist.github.com/dobladov/62c4be59d774347cb480b115969...

[go to top]