Log in

View Full Version : Mini Mods - All External Link Redirect To anonym.to Site


rajubd
03-02-2010, 10:00 PM
this hack will redirect all your link to anonym.to site

Example :
Without Hack Link
http://www.symbiantalk.net/

After Hack Link
http://anonym.to/?http://www.symbiantalk.net/


Just Add This Small Script Anywhere In Your Footer Template

<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "";

auto_anonymize();
//--></script>

Thats All

Manoel J?nior
03-03-2010, 02:15 PM
Sorry but not functionally.

Are you sure functionally?

rajubd
03-03-2010, 03:59 PM
yes see my site

Greight
03-04-2010, 04:48 AM
I've seen some sites using their own url instead of http://anonym.to/?. How is it possible?

rajubd
03-05-2010, 09:19 AM
I've seen some sites using their own url instead of http://anonym.to/?. How is it possible?

Its very good for site. Like a warez application posted in forum with official site link so everybody will click on it next day copyright complain.

samiro
03-05-2010, 12:39 PM
I've seen some sites using their own url instead of http://anonym.to/?. How is it possible?

me to

how can we do this !?

Manoel J?nior
03-07-2010, 12:53 AM
Very Thanks

rajubd
03-07-2010, 09:32 PM
me to

how can we do this !?

Just Add This Small Script Anywhere In Your Footer Template or any template

Gnoll
03-07-2010, 10:15 PM
they mean

mysite.com/redirect.php?www.redirectedsite.com ( if i'm not wrong i saw that system @ C-SEO - IPBSEO module )

Greight
03-08-2010, 05:16 PM
Its very good for site. Like a warez application posted in forum with official site link so everybody will click on it next day copyright complain.
Sorry I could not understand whether what I'm asking is good or bad.

they mean

mysite.com/redirect.php?www.redirectedsite.com
And yes I mean this.

tiga2
03-09-2010, 08:59 AM
doesnt work for vbulletin 4 ^^ someone has a fix for it?

Manoel J?nior
03-10-2010, 10:05 AM
doesnt work for vbulletin 4 ^^ someone has a fix for it?
Work for me!

I use vbb4.0.2

tiga2
03-11-2010, 02:45 PM
I figured out that it sometimes works sometimes not which is really bad!

rajubd
03-12-2010, 06:13 PM
if anonym.to site work it will work if site down it will not work

tiga2
03-13-2010, 06:51 AM
any alternative way or alternative site?

rajubd
03-13-2010, 02:40 PM
anonym.to best site

jakarta
03-29-2010, 06:48 AM
working at all external links but not work links using image (bbcode ) or anything similar it

Manoel J?nior
03-30-2010, 02:24 AM
working at all external links but not work links using image (bbcode ) or anything similar it [2]

ZuFett
08-19-2010, 01:22 PM
I get a Error with vB 4.0.6:
Warnung: Invalid argument supplied for foreach() in [path]/includes/functions.php (Zeile 3339)

Someone can help?

SeZoNaS
08-20-2010, 10:55 PM
too bad .. uninstalled ,, but thank you 4 sharing :)

King48488
08-21-2010, 04:17 PM
why too bad? it works fine for all links.

just copy the code


<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "";

auto_anonymize();
//--></script>


in Styles&Templates -> Global Templates-> footer

works fine

promet
08-23-2010, 01:49 PM
works fine on 4.0.6

thanks alot

Stormlegion
08-25-2010, 10:06 AM
works fine. Thank you!

balkanboy
09-10-2010, 01:52 AM
works fine but for images using lytbox or what ever it doesnt show up the image just shows loading......anyway for it to ignore images.... :(

balkanboy
09-10-2010, 02:03 AM
never mind fixed the images but now my internal links redirects to annoym... any reason?

ctweb
09-10-2010, 06:42 PM
never mind fixed the images but now my internal links redirects to annoym... any reason?

<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "bbnova.com";

auto_anonymize();
//--></script>


Use this..

daydie
10-24-2010, 03:04 PM
please bote this does not confuse the search engine to hide URL. the real URL will still show and the people spamming will still gain a good backlink.

fifty_one_cent
11-14-2010, 01:40 AM
hi..

i did that on 4.0.8 but it doesnt work
(added on the end of the footer)


<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "";

auto_anonymize();
//--></script>


in Styles&Templates -> Global Templates-> footer

GNDI
11-20-2010, 01:47 PM
to make it redirect within your own domain and to a value you define by yourself.... download this php open url in new vindow (http://www.mynudegirls.net/url-redirect.js) and to open in same window (http://www.mynudegirls.net/url-redirect-samewindow.js)

modify the part with http://x4.xclicks.net/sc/gall.php?s=6288&o= to what ever you want

in the footer you will add this


<script>
var domains='xclicks.net,click.php,out.php,mynudegirls .net';
var userid='';
var domain='x4.xclicks.net/sc/gall.php?s=6288&o=';
var redirtype='';
var content='';
</script>
<script src="http://mynudegirls.net/url-redirect.js"></script>


replace the http://mynudegirls.net/ to fit to your domain

explanation on the values
var domains=''; //domains or pagenames that will not be handlet by this script
var userid=''; //Leave emty
var domain=''; //untouched domains
var redirtype=''; //leave emty
var content=''; //Leave emty

now you have a fully working redir system

123_y_321
11-25-2010, 08:08 AM
so what is the exact purpose this is mod?

fifty_one_cent
11-25-2010, 04:18 PM
the url of your forum wont spread all over the internet.

http://en.wikipedia.org/wiki/HTTP_referrer

the referrer would be anonymized with anonym.to or so..
its just for privacy..

123_y_321
11-27-2010, 04:05 PM
the url of your forum wont spread all over the internet.
..

by that you mean, google wont find my links ?

Khaleal
12-13-2010, 01:14 PM
Hello,

How can I encode the urls in the forum to force the members to follow the link?!

fifty_one_cent
01-08-2011, 11:38 AM
that doesnt work when NoScript is installed :(

DaPike
01-27-2011, 11:50 AM
Installed and uninstalled. Doesn't work with IMAGE RESIZER!!

DNDJ
02-13-2011, 11:24 AM
Its very good, Very Thanks

3amalah
02-13-2011, 04:54 PM
Iam Using Old Hack That Open Any External Link In Iframe

http://www.almsmk.com/threads/69545

It Was Ok Before I Upgraded To 4.1.1 Now It Work But Give Me Error Message

But Its Work Ok :)

qubed
02-20-2011, 10:53 AM
Working fine for me on 4.1.2

All I have done is Style & Templates----->Style Manager----->Edit Templates----->Footer

Paste at the very end of your footer after the last </ div> tag:

<script src="http://js.anonym.to/anonym/anonymize.js" type="text/javascript"></script>

<script type="text/javascript"><!--
protected_links = "";

auto_anonymize();
//--></script>

Dr.osamA
02-23-2011, 12:57 AM
installed on vb 4.1.2

thanxx man

rajubd
04-04-2012, 09:57 AM
any alternative way or alternative site?

Another way posted here:
https://vborg.vbsupport.ru/showthread.php?p=2316631#post2316631

haddad
04-24-2012, 01:08 PM
Working fine for me on 4.1.2

All I have done is Style & Templates----->Style Manager----->Edit Templates----->Footer

Paste at the very end of your footer after the last </ div> tag:



Good on Version 4.1.12 :)
thx

Mr_Devlin
04-25-2012, 08:03 AM
There is an easier way to anomize your urls. Only one file edit, no style edits required.

Open "class_bbcode.php".

Search for

// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";


Replace it with following code:


// standard URL hyperlink
return "<a href=\"http://anonym.to/$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";


This will work on all vb editions and all kind of links, incl SSL. You can use an alternating redirector instead of anonym.to, it will work fine also.

knelo1
04-25-2012, 10:55 AM
thanks installed 4.1.11 working

davidg
04-26-2012, 05:01 PM
There is an easier way to anomize your urls. Only one file edit, no style edits required.

Open "class_bbcode.php".

Search for

// standard URL hyperlink
return "<a href=\"$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";


Replace it with following code:


// standard URL hyperlink
return "<a href=\"http://anonym.to/$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";


This will work on all vb editions and all kind of links, incl SSL. You can use an alternating redirector instead of anonym.to, it will work fine also.

this is the best method out there Mr_Devlin
here is the same code with diferent redirecting service if people dont like anonym.to

// standard URL hyperlink
return "<a href=\"http://dereferer.ws/?$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";

psd_hunter
08-16-2012, 06:33 AM
Could someone please help me with this code and explain me how I can exclude my own website URL , and maybe some others from this?

I need my own board Url beeing untouched from this redirecting when Users post links to threads within my board.

// standard URL hyperlink
return "<a href=\"http://anonym.to/$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";

How does the code need to look like with the protected links inside?
Thanks a lot guys 'n gulls.

Cheers,
psd_hunter

Keythacker
03-31-2013, 09:52 AM
Just when I was about to Mark this as "didn't work on VB5 I realized I didn't implement the change into all Themes....lol Great Job glad this still works.

YOODA230
03-31-2013, 10:29 AM
its good for what ??
Why should I transfer my users to another site?

rgreene1971
04-02-2013, 02:55 AM
its good for what ??
Why should I transfer my users to another site?

If you do not want other sites to know they were link to them from your site. I use this on a couple of my adult sites. Works great.

Keythacker
05-22-2013, 12:43 AM
Well this works on all links except links with https wish there was a way around it but till then just cant use https links

freak46
05-25-2013, 05:58 PM
working fine mark as installed thanks

MrsTryst
09-29-2013, 11:47 AM
*marked Installed*

Works in 4.2.1 HOWEVER When i added code in footer at the start, it never worked. Moved code to the end of footer and works perfectly.

Mr_Devlin
09-30-2013, 09:07 AM
Could someone please help me with this code and explain me how I can exclude my own website URL , and maybe some others from this?

I need my own board Url beeing untouched from this redirecting when Users post links to threads within my board.

// standard URL hyperlink
return "<a href=\"http://anonym.to/$rightlink\" target=\"_blank\"" . ($is_external ? ' rel="nofollow"' : '') . ">$text</a>";

How does the code need to look like with the protected links inside?
Thanks a lot guys 'n gulls.

Cheers,
psd_hunter

It's not possible to exclude an URL in this simple way.
All Links will be transferred via the anonymizer-service. In my opinion there's no need to exclude any external link.

In the "ACP --> General settings" you'll find the option "Post Referrer Whitelist" where you can define friendly urls, that may pass the anonymizer.

Achelos
11-18-2013, 06:59 AM
I'm very new to this, can someone please explain where this "Footer Template" is?

Krusty1231
11-18-2013, 07:38 AM
Log into your admin panel.

Go to Styles and Templates. (click on it)

Click on Style Manager

This will expand and show you the current skins you have installed.

Find the skin you are currently using.

In the drop down menu - click on style variable editor.

Click edit templates

Scroll down the list presented and find "footer"

Hope it helps!

tbworld
11-18-2013, 07:42 AM
I'm very new to this, can someone please explain where this "Footer Template" is?

Goto your Admincp:
admincp -> Styles & Templates -> Style Manager --> Dropdown box (on right): "Edit Templates" --> Scroll till you find "footer" --> Then Click on it.

vBulletin Manual
http://www.vbulletin.com/docs/html/stylemanager_edit_templates

I hope it helps :)

Achelos
11-18-2013, 08:00 AM
Thank you guys, wonderful :)

I edited the parent, so any child will take this change along as well.

I do have an additional question though, this does not seem to work for https-links. I reckon this is a fault from anonym's js-script?

Additionally, I noticed one has to refresh the page to see if it works. Is there a way to auto-refresh after a post? The userbase will stay small, so I'm not going to be murdering the server here :)

Mr_Devlin
11-22-2013, 03:58 PM
I do have an additional question though, this does not seem to work for https-links. I reckon this is a fault from anonym's js-script?...


Have a look at Post 42 (https://vborg.vbsupport.ru/showpost.php?p=2323299&postcount=42). That's the way to transfer any url via the given anonymizer. NOTE: Don't forget to roll back the changes you made in the footer template!


Additionally, I noticed one has to refresh the page to see if it works. Is there a way to auto-refresh after a post? The userbase will stay small, so I'm not going to be murdering the server here :)

Add an meta tag to headinclude template:

<meta http-equiv="refresh" content="X; URL=your.forumindex.php">

content=X means in seconds the time for refreshing
URL should be your forumhome index...

Note, that this kind of refresh will cause heavy server loads; it will be also not useful when posting...

Easier way is to use <CTRL>+<F5> (or <F5> only>...

Achelos
11-23-2013, 10:40 PM
Mr_Devlin

That post42 edit results into links like:
http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://seenive.com/
It seems to have the tendency to work cumulative, redirecting a redirection that's redirected through a redirection, if you catch my drift.

Also a shame that the footer-hack doesn't seem to be compatible with this: https://vborg.vbsupport.ru/showpost.php?p=2264681&postcount=1941 I am using the 7.84 version (without collapse)

Mr_Devlin
11-24-2013, 05:53 PM
That post42 edit results into links like:
Code:
http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://anonym.to/http://seenive.com/
It seems to have the tendency to work cumulative, redirecting a redirection that's redirected through a redirection, if you catch my drift.

That's weird...Ok, here is a little work around:

Open class_bbcode.php (same file you used above) and search for this code (around line 2383):


$rightlink = str_replace(array('`', '"', "'", '['), array('`', '&quot;', ''', '['), $this->strip_smilies($rightlink));


Change it to:


$rightlink = str_replace(array('`', '"', "'", '['), array('`', '&quot;', ''', '[','http://anonym.to/?'), $this->strip_smilies($rightlink));

Achelos
11-27-2013, 04:51 PM
I've done this, but it results in this error:

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/id787280/domains/someforumname.com/public_html/includes/class_bbcode.php on line 2406

I am running: vB 4.2.2

Mr_Devlin
11-29-2013, 05:01 PM
I am running: vB 4.2.2

I run this hack on 4.1.9 and it works well - I don't know why this error occurs on your vb...maybe the whole function is different for 4.2.x-versions. So reset the code to the default if this will not work

scoutz
12-09-2013, 02:15 AM
Thanks for this.

Anyway I can get this to work with links inside of the [hide] bb code from the vFCoders - Hide Hack?
Works fine with the rest of the content.

magiccen
12-24-2013, 01:38 PM
Instalado y funcionando!!!!! gracias.

ozzy47
12-24-2013, 02:22 PM
Instalado y funcionando!!!!! gracias.

Please keep all posts in English.

gsmlover4u
12-24-2013, 03:16 PM
it will work with vbseo ?

richTV
12-28-2014, 03:24 AM
the last few days, google has been reporting anonym.to as malware so i removed it on my site.

http://www.google.com/interstitial?url=http://anonym.to/

anyone heard about this?

thetechgenius
01-07-2015, 05:06 PM
I coded a custom a script that redirects all external links to an Anonymizer URL. The addon has the javascript file for vBulletin that redirects the links, and it also has the Anonym PHP script that actually redirects the LINK Anonymously.

You can use a different domain or subdomain, or you could just use another directory of your main domain.

This is how I have it setup on my server:

My main domain is:

https://thetechgenius.net


My Anonym Domain (where the addon is installed):

https://ttechg.link

So when a someone clicks an anonym link on my vB forum at https://thetechgenius.net, the link will show like this: https://ttechg.link/?http://vbulletin.org

Note: You can actually click that Anonym link, and it will Anonymously redirect to vBulletin.org. And as you can see, it works for SSL/HTTPS also. Anonym.to doesn't work for SSL, because the server doesn't have SSL enabled.

You host all the files on your own server, so you are in control. You dont have to worry about Anonym.to going down.

I will be releasing the full Addon very soon. I am just cleaning up the javascript, and working out a few bugs. This addon should also work with any website, or web software. Its just Javascript and PHP.

chudvs
06-13-2019, 08:06 PM
That's weird...Ok, here is a little work around:

Open class_bbcode.php (same file you used above) and search for this code (around line 2383):


$rightlink = str_replace(array('`', '"', "'", '['), array('`', '&quot;', ''', '['), $this->strip_smilies($rightlink));


Change it to:


$rightlink = str_replace(array('`', '"', "'", '['), array('`', '&quot;', ''', '[','http://anonym.to/?'), $this->strip_smilies($rightlink));


Im running vb 4.2.5 and the class_bbcode.php code is different!

my code is... on line 2452

$rightlink = str_replace(array('`', '"', "'", '['), array('`', '&quot;', ''', '['), $this->strip_smilies($rightlink));


so how to I change it so his code works?