The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Redirect all External Links anonymously - Locally Hosted (Updated) Details »» | |||||||||||||||||||||||||||||||
Redirect all External Links anonymously - Locally Hosted (Updated)
Developer Last Online: Dec 2017
I have just created a custom URL Anonymizer for vBulletin (or any web site).
All files are hosted locally on your server, including the JS files. This is something like how anonym.to redirects their links. But these files are hosted on your server, so you can use HTTPS, or use it on any site you want. And its open-source, my very own code. Anonymized Links will show like this: http://yoursite.com/redirect/?to=htt...ternalsite.com Lets get started. 1) First, put this at the Bottom of your footer template: Code:
<script src="js/anon.js" type="text/javascript"></script> <script type="text/javascript"><!-- protected_links = "javascript://,yoursite.com"; auto_anonymize(); //--></script> Note: Make sure you keep javascript:// in with the protected links, so the addon doesn't break any of your other javascript functions. I will find a way to include this in the actual JS file, so you dont need to keep it in with your protected links, but for now this is an easy fix. (I am really busy at the moment) 2) Download the zip file at the end of this post, and extract the contents on your PC. 3) Upload the contents of the "upload" folder, to your forum root. Done! Let me know what you think. You can also use this script on a different site, such as a custom short URL, and link your Anonymized URLS to the short URL. If you have any questions, please post here, PM, Or contact me on my site: https://thetechgenius.net. -------------------------------------------------------------------------------- Update 1.0.2 Fixed - HTTPS links was not being anonymized Update 1.0.3 Changed - No need to edit files anymore. Add the javascript code and upload the files to your forum root. Instead of the files linking to your domain (yourdomain.com/redirect/index.php), they will link to the mod directory (redirect/index.php). SO there is no need for any file edits, besides adding the Javascript to your footer template. -------------------------------------------------------------------------------- Update v2.0 Ok guys/girls, I have finally re-coded the entire script. And its working really well. However, I have made it into its very own standalone script that can work completely by itself. But, you can use some javascript to link to your forum, and have all external links use the service, and have the ANON domain put in front of all external links. I will be updating the main post with all the information needed. But for now, you can check it out on my Git Site. Source/Release - https://code.thetechgenius.net/TheTe...-Anonymous-URL Note: I have my own Git Site. My Git site is running on the GOGS Git Software script. Please know, the ZIP at the bottom is NOT the standalone or updated version. I am working on setting up the file structure so its easier to install for everyone. Download Now
Screenshots
Show Your Support
|
Благодарность от: | ||
davidg |
Comments |
#12
|
|||
|
|||
Quote:
It works like charm now. Is there any way to change time wait before redirected? Example i want member have to wait 3s before redirected. BTW, great mod! |
#13
|
|||
|
|||
i've just found new issue, it seems conflict with DBTech Advance Thank/Like
When you click Thank/Like button, you will be redirected to this |
#14
|
||||
|
||||
Try putting your domain in with the protected links.
|
#15
|
|||
|
|||
Sure, i did it
Please try http://www.dragonbyte-tech.com/produ...t-thanks-like/ |
#16
|
||||
|
||||
Quote:
Sorry for the problem. |
#17
|
|||
|
|||
Update 1.0.3 is so usefull
installed and very thanks! |
Благодарность от: | ||
thetechgenius |
#18
|
||||
|
||||
Quote:
In your footer template, add this to your Protected Links: Code:
javascript:// So the code will look something like this: Code:
<script src="js/anon.js" type="text/javascript"></script> <script type="text/javascript"><!-- protected_links = "yoursite.com,javascript://"; auto_anonymize(); //--></script> I had a similar issue on my board, my Nav Bar drop down menus use javascript, so the Javascript drop down menus would show like this: https://thetechgenius.net/redirect/?to=javascript:// It didn't break the Drop Down, because its just a menu. But it could break other javascript functions, such as DBTech Thanks/Like Addon. Let me know if it works for you. |
Благодарность от: | ||
minhmeo.info |
#19
|
|||
|
|||
Work like charm now! You rock!
|
Благодарность от: | ||
thetechgenius |
#20
|
||||
|
||||
Great, I needed it. Works great thanks
|
#21
|
|||
|
|||
Is it possible to anonymize links in one private subforum only? Or does it just work for the whole forum?
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|