Get the selected text along with text before and after the selection
В следующих скриптах используется URL-адрес этой библиотеки Greasy Fork в @require:
@require