Skip to content

Commit ae65b34

Browse files
authored
Revert "Remove broken tei.ai bypass (#137)"
This reverts commit bfd57f7.
1 parent bfd57f7 commit ae65b34

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/js/injection_script.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,12 @@ domainBypass(/bc\.vc|bcvc\.live/,()=>{
458458
window.setInterval=f=>setInterval(f,1)
459459
awaitElement("a#getLink:not([style^='display'])",a=>a.click())
460460
})
461+
domainBypass("tei.ai", () => {
462+
ensureDomLoaded(() => {
463+
var link = atob("aH" + document.querySelector("#link-view [name='token']").value.split("aH")[1]);
464+
safelyNavigate(link);
465+
});
466+
});
461467
domainBypass("shortly.xyz",()=>{
462468
if(location.pathname.substr(0,3)=="/r/")
463469
{

0 commit comments

Comments
 (0)