diff --git a/www/pad/links.js b/www/pad/links.js index 6a53a4bc7..fa7861659 100644 --- a/www/pad/links.js +++ b/www/pad/links.js @@ -29,7 +29,8 @@ define(['/common/cryptpad-common.js'], function (Cryptpad) { if (anchor) { var href = anchor.getAttribute('href'); if (href) { - window.open(href); + var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href); + window.open(bounceHref); } } }