DLE links decoder

Прямые ссылки на сайтах с движком DataLife Engine (DLE)

These are all versions of this script. Show only the versions where the code changed.

  • v1.3 2018-04-29
  • v1.3 2016-09-10 Document may not have body!
  • v1.2 2016-08-29 Skip non-element nodes in MutationObserver. I always forget to do so. :(
  • v1.1 2016-08-29 Fixed MutationObserver options. Forgot to set 'subtree' option.
  • v1.0 2016-08-28 Looks like 'mouseover' doesn't work properly with child elements. 'mouseenter' does.
  • v0.9 2016-08-28 Replaced global click events with local mouseover events and added observer to handle dynamically added links. Won't handle links within links. That's crazy anyway.
  • v0.8 2016-08-28 Added support for links with 'escaped' links like https://dle-news.ru/engine/go.php?url=https%3A%2F%2Fru.wikipedia.org%2Fwiki%2F%C2%E8%EA%E8%EF%E5%E4%E8%FF and even like https://dle-news.ru/engine/go.php?url=aHR0cHMlM0ElMkYlMkZydS53aWtpcGVkaWEub3JnJTJGd2lraSUyRiVDMiVFOCVFQSVFOCVFRiVFNSVFNCVFOCVGRg (escaped and base64)
  • v0.7 2016-08-26 links with extra objects https://greasyfork.org/en/scripts/22290-%D0%9F%D1%80%D1%8F%D0%BC%D1%8B%D0%B5-%D1%81%D1%81%D1%8B%D0%BB%D0%BA%D0%B8-%D0%B2-dle
  • v0.6 2016-08-18 Reverted back change to event model. Proper link in a tooltip will be displayed only if user will right-click it.
  • v0.5 2016-08-18 Added second link format
  • v0.4 2016-08-18 Now link will be unwrapped as soon as targeted to display a proper link in a tooltip + script will run only if DLE-specific functions are present on the page.
  • v0.3 2016-08-18 Forgot to reuse 'link' variable in place of e.target
  • v0.2 2016-08-18 Replaced link in comments section with decoded one :)
  • v0.1 2016-08-18