diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e1813c..f47fc21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,14 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.11.0] - 2020-01-06 -### Added -- Added hyperlink auditing blocking [#184](https://gitlab.com/KevinRoebert/ClearUrls/issues/184) -- Added yandex link fix script, to avoid URL tracking [#305](https://gitlab.com/KevinRoebert/ClearUrls/issues/305) - ### Compatibility note - Require Firefox >= 55 - Require Chrome >= 22 +### Added +- Added hyperlink auditing blocking [#184](https://gitlab.com/KevinRoebert/ClearUrls/issues/184) +- Added yandex link fix script, to avoid URL tracking [#305](https://gitlab.com/KevinRoebert/ClearUrls/issues/305) + ## [1.10.0] - 2020-01-03 ### Compatibility note diff --git a/core_js/yandex_link_fix.js b/core_js/yandex_link_fix.js index 1054758..902d3e2 100644 --- a/core_js/yandex_link_fix.js +++ b/core_js/yandex_link_fix.js @@ -14,6 +14,12 @@ * * You should have received a copy of the GNU Lesser General Public License * along with this program. If not, see . +* +* Based on: +* Remove Google Redirection +* https://github.com/kodango/Remove-Google-Redirection/blob/master/extension/chrome/remove-google-redirection.user.js +* Copyright (c) 2017 kodango +* MIT License: https://github.com/kodango/Remove-Google-Redirection/blob/master/LICENSE */ (function (window) { "use strict"; @@ -35,8 +41,7 @@ /* * The main entry */ - function main() - { + function main() { injectFunction(); document.addEventListener('mouseover', function (event) { @@ -50,7 +55,7 @@ try { a.removeAttribute('data-counter'); delete a.dataset.cthref; - } catch(e) { + } catch (e) { console.log(e); } }