Automatic URL Decoder

Декодирует все найденные на странице ссылки, похожие на "%D0%BF%D1%80%D0%B8%D0%B2%D0%B5%D1%82%20%D0%BC%D0%B8%D1%80", в удобочитаемое "привет мир"

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Skaber
T1m_
Daglige installationer
0
Installationer i alt
773
Bedømmelser
9 0 0
Version
2.1.2
Oprettet
05.04.2018
Opdateret
05.12.2018
Size
5,36 kB
Licens
GPLv3
Gælder for
Alle hjemmesider

Automatic URL decoder

Описание

Скрипт автоматически декодирует нечитаемые ссылки вида https://ru.wikipedia.org/wiki/%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82,_%D0%BC%D0%B8%D1%80! в удобочитаемое https://ru.wikipedia.org/wiki/Привет,_мир!.

Демо

Файл demo.html. Онлайн можно посмотреть здесь.

Установка

  1. Установить одно из расширений Violentmonkey, Greasemonkey, Tampermonkey для Вашего браузера.
  2. Установить скрипт по этой ссылке.

Cтилизация

Скрипт стилизует декодированные ссылки. Чтобы отключить стилизацию, нужно в коде скрипта найти переменную decodedNodeCSS и присвоить ей null.

Разработка

Экспериметны с регулярками https://regex101.com/r/FcXkcE/1