This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Change external link URLs by script
#2
You can override link like this. It will work for any other elements as well as it removes default click handler and replaces it with a custom one.
Code:
$('.link1').off('vclick').on('vclick', function() {
  window.location = 'http://openrb.com';
});
Reply


Messages In This Thread
RE: Change external link URLs by script - by admin - 09.09.2019, 06:36

Forum Jump: