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.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

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!)

Автор
T1m_
Щоденних встановлень
0
Всього встановлень
773
Рейтинги
9 0 0
Версія
2.1.2
Створено
05.04.2018
Оновлено
05.12.2018
Size
5,4 кБ
Ліцензія
GPLv3
Відноситься до
Всі сайти

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