SolvedUniversal Bypass Regarding Linkvertise

You may have noticed that Linkvertise is now no longer being bypassed, this is because we did not go to court, but instead ended in a compromise, like most legal cases do. The reason I opted for a compromise is that my lawyer had already charged me thousands of euros for mere communication with the opposition's lawyer and going to court would've easily gotten into the ten-thousands, which I could get back if I win, but that's quite an investment, and what I've gotten in donations barely covered half of what I had to pay already. So, I've lost over a thousand euros for a free, open-source project — we sure do live in a society. However, don't see this compromise as a loss; I've had an extensive talk wtih Linkvertise and they were willing to remove their minute-long video option which I had found most annoying and time-wasting in exchange for my removal of the bypass. Additionally, we will keep in touch about further options they add to ensure that their website doesn't become too annoying. However, that's just the limits of me and Linkvertise; you aren't limited on how many extensions or user scripts you can install.

51 Answers

✔️Accepted Answer

First of all, I just want to say thanks to everyone who contributed to Universal Bypass, it's an awesome extension .

Now regarding the Linkvertise bypass... although it can no longer be included by default in the bypass definitions, I tested that adding it to the custom bypasses works fine (for at least most links, if not all). So if you're willing to manually add it to your Universal Bypass installations, you can keep bypassing Linkvertise.

The solution was brought up a week ago but was untested:

There is another option too... Just get paste the Linkvertise bypass in custom bypass and you'll be done. (I haven't tried myself).

There is no need to build the extension from modified source or install from fork (if you're only looking to get the bypass back). Instead, paste the following 40 lines into the "Custom Bypasses" section:

domainBypass(/linkvertise\.(com|net)|link-to\.net/,()=>{
	let o={timestamp:new Date().getTime(),random:"375123"},
	url="https://linkvertise.net/api/v1/redirect/link/static"+location.pathname
	fetch(url).then(r=>r.json()).then(json=>{
		if(json&&json.data.link.id)
		{
			o.link_id=json.data.link.id
			url="https://linkvertise.net/api/v1/redirect/link"+location.pathname+"/target?serial="+btoa(JSON.stringify(o))
		}
	}).then(()=>fetch(url)).then(r=>r.json()).then(json=>{
		if(json&&json.data.target)
		{
			safelyNavigate(json.data.target)
		}
	})
	window.setTimeout=f=>setTimeout(f,1)
	window.setInterval=f=>setInterval(f,1)
	window.videojs={getAllPlayers:()=>[{
		on:(e,f)=>f(),
		controlBar:{
			progressControl:{
				disable:()=>{}
			}
		},
		pause:()=>{}
	}]}
	ensureDomLoaded(()=>{
		setInterval(()=>{
			ifElement(".modal.show .web-close-btn",b=>b.click())
		},1000)
		setTimeout(()=>{
			document.querySelectorAll(".todo-block .todo").forEach(d=>d.click())
			setTimeout(()=>ifElement(".todo-btn-nr",b=>{
				b.click()
				setTimeout(()=>ifElement(".btn.countdown-btn.first",a=>{
					countIt(()=>a.click())
				}),100)
			}),2000)
		},2000)
	})
})

The above is taken directly from Sainan's commit to remove bypass of Linkvertise.

The benefits of this are:

  • You can keep using the Universal Bypass you've already installed
  • It works across all browsers: Chrome, Firefox, ...whatever you use

Of course, if Linkvertise changes their website in the future, this custom bypass could break, but for now it's working well 🙂.

Other Answers:

Can we make it work in our system though?
can someone help with the changes to revert and bundling the extension package for chromium.
or provide zip of an working version, I tried 13.12.1 didn't work.

I can do (done for myself) that for firefox but not for Chrome. The chrome version uses an automatic update channel. It might be wise to ask @Sainan for an automatic update disabled version for chromium-based browsers as well. ( Just my thought n opinion, I could be wrong tho).

There is another option too... Just get paste the Linkvertise bypass in custom bypass and you'll be done. (I haven't tried myself).

https://github.com/StuffNoOneCaresAbout/Universal-Bypass

I created a fork with those commits reverted and changed the updating mechanism to use my fork.

This is a war:) ads vs anti ads

That's to say Universal Bypass is even against the law, I just don't wanna put up the money to test that theory. Honestly, I'm decently happy with our resolution, and I don't wanna go and get sued again for whatever. And as I said, no one is forcing you to only install Universal Bypass.

Hacked together something quick based on the other branch, does not rely on online coding:

domainBypass(/linkvertise\.(com|net)|link-to\.net/,()=>{
    // 64 bit decode
    if (window.location.href.toString().indexOf("?r=") != -1) {
        const urlParams = new URLSearchParams(window.location.search);
        const r = urlParams.get('r')
        safelyNavigate(atob(decodeURIComponent(r)));
    }
    
    // normal redirect
    let o={timestamp:new Date().getTime(),random:"6548307"},
	url="https://publisher.linkvertise.com/api/v1/redirect/link/static"+location.pathname;
	fetch(url).then(r=>r.json()).then(json=>{
		if(json&&json.data.link.id)
		{
			o.link_id=json.data.link.id
			url="https://publisher.linkvertise.com/api/v1/redirect/link"+location.pathname+"/target?serial="+btoa(JSON.stringify(o))
		}
	}).then(()=>fetch(url)).then(r=>r.json()).then(json=>{
		if(json&&json.data.target)
		{
			safelyNavigate(json.data.target)
		}
	})
})

Seems working for me. May have some bugs. Will probably clean up the code later.

Edit: Only works for Macs and Iphones