Упс, сори

This commit is contained in:
Egor Guslyancev 2023-11-29 15:50:06 -03:00
parent 3b0b6ebb67
commit 8e1e0d6a99
GPG Key ID: D7E709AA465A55F9
2 changed files with 3 additions and 5 deletions

View File

@ -32,12 +32,10 @@ Bookmarklet — это закладка в браузере, которая за
javascript:document.querySelectorAll('input[type="checkbox"],input[type="radio"]').forEach(function(e){var s=document.createElement("span");s.innerHTML=(e.type=="radio"&&e.value==="1"?"<b>"+e.value+"</b>":e.value)+" ";e.parentNode.insertBefore(s,e.parentNode.firstChild)});
```
Кстати, открытие ссылки по нажатию сейчас ничего не сделает.
### Userscript
Продвинутый вариант. Числа будут появляться автоматически.
Для установки понадобится расширение [Tampermonkey](https://www.tampermonkey.net/) (ПК и Андроид) или [FREE Browser](https://f-droid.org/packages/org.woheller69.browser/) (Андроид). Установите скрипт со страницы на Greasy Fork. Готово!
[Пока ссылки нет](https://greasyfork.org/en/scripts)
[Скачать](https://greasyfork.org/en/scripts/481036-sorryops)

View File

@ -1,12 +1,12 @@
// ==UserScript==
// @name Sorryops
// @namespace sorryops
// @version 20231129.0
// @version 20231129.1
// @description Skip the half of the fun!
// @icon https://orioks.miet.ru/favicon.ico
// @author electromagneticcyclone & angelbeautifull
// @license Unlicense
// @supportURL
// @supportURL https://git.disroot.org/electromagneticcyclone/sorryops
// @match https://orioks.miet.ru/student/student/test*
// @grant GM_getValue
// @grant GM_setValue