some more updates

This commit is contained in:
anastasiia-fedotova 2022-01-13 10:09:00 +03:00
parent 1fccd6574e
commit c870cf4df8
2 changed files with 31 additions and 31 deletions

View File

@ -23,13 +23,13 @@ visible: true
## Introduction
First, let's get it clear. What is a userscript? Userscripts (we also call them 'extensions' sometimes) de-facto are mini-programs written in Javascript. They modify or extend functionality of one or more websites. Many AdGuard users must be already familiar with such userscripts as AdGuard Assistant, PopupBlocker, AdGuard Extra and Web of Trust.
First, let's get it clear. What is a userscript? Userscripts (we also call them 'extensions' sometimes) de-facto are mini-programs written in Javascript. They modify or extend functionality of one or more websites. Many AdGuard users must be already familiar with such userscripts as AdGuard Assistant, Popup Blocker, AdGuard Extra and Web of Trust.
<a name="products"></a>
### Supported apps
AdGuard can significantly broaden website functionality working as a user script manager. You can add your custom scripts or manage existing ones in our three products: AdGuard for Windows, AdGuard for Android and AdGuard for Mac.
AdGuard can significantly broaden website functionality working as a user script manager. You can add your custom scripts or manage existing ones in our three products: [AdGuard for Windows](https://kb.adguard.com/en/windows/features/extensions), [AdGuard for Android](https://kb.adguard.com/en/android/overview#extensions-support) and [AdGuard for Mac](https://kb.adguard.com/en/macos/overview#extensions).
<a name="scripts"></a>
@ -39,17 +39,17 @@ AdGuard can significantly broaden website functionality working as a user script
>
> These userscripts come directly from AdGuard developers and we can guarantee that they will be effective and safe. Keep in mind that whenever you download a userscript from an unknown source you expose yourself to a risk. Some scripts can be harmful to your computer. Always get new scripts only from sources you trust 100%. Further are [some examples](#repo) of popular sites with scripts.
* **AdGuard Extra** - an extension that blocks advertising in difficult cases when the usual filter-based approach is not enough.
* **AdGuard Extra** - An extension that blocks advertising in difficult cases when the usual filter-based approach is not enough.
* **AdGuard Popup Blocker** - the name speaks for itself. It blocks popups - one of the most annoying types of ads on web pages.
* **AdGuard Popup Blocker** - The name speaks for itself. It blocks popups - one of the most annoying types of ads on web pages.
* **Web of Trust** - this script lets you see the reputation of each website based on its users opinions.
* **Web of Trust** - This script lets you see the reputation of each website based on its users opinions.
**AdGuard Assistant** (legacy version) - this custom extension is designed to control filtering directly from the browser page (manual blocking, exclusion of the site, etc.).
**AdGuard Assistant** (legacy version) - This custom extension is designed to control filtering directly from the browser page (manual blocking, exclusion of the site, etc.).
> Note that this version of Assistant is legacy and there is no point in using it on new systems, since it has been replaced with the full-fledged [Browser Assistant](https://adguard.com/en/adguard-assistant/overview.html). But legacy Assistant might be of help if there is no Browser Assistant extension for your browser.
**Disable AMP** - a script, pre-installed only in AdGuard for Android, that disables AMP (Accelerated Mobile Pages) on Google search results.
**Disable AMP** - A script, pre-installed only in AdGuard for Android, that disables AMP (Accelerated Mobile Pages) on Google search results.
<a name="repo"></a>
@ -156,27 +156,27 @@ AdGuard supports both old GM\_ functions and new GM4 API that use GM object.
##### Values
Note that all listed old Greasemonkey functions are deprecated but still supported.
```
GM.getValue / GM_getValue
GM.info / GM_info
GM.setValue / GM_setValue
GM.deleteValue / GM_deleteValue
GM.getValue / GM_getValue
GM.listValues / GM_listValues
GM.deleteValue / GM_deleteValue
GM.getResourceUrl / GM_getResourceURL
GM.setClipboard / GM_setClipboard
GM.xmlHttpRequest / GM_xmlhttpRequest
GM.info / GM_info
GM.openInTab / GM_openInTab
GM.notification
unsafeWindow
GM_getResourceText (deprecated)
GM_addStyle (deprecated)
GM_log (deprecated)
```
#### Partially supported GM functions
GM_getResourceText
GM_addStyle
GM_log
```
GM.openInTab / GM_openInTab - Just a shortcut to window.open.
```
[Here](https://wiki.greasespot.net/GM.info) you can find more information about Greasemonkey API.
<a name="example"></a>

View File

@ -27,7 +27,7 @@ visible: true
<a name="products"></a>
### Поддерживаемые продукты
AdGuard может значительно расширять функциональность веб-сайтов, работая как менеджер пользовательских скриптов. Добавлять собственные скрипты или управлять существующими вы можете в трёх наших продуктах: AdGuard для Windows, AdGuard для Android и AdGuard для Mac.
AdGuard может значительно расширять функциональность веб-сайтов, работая как менеджер пользовательских скриптов. Добавлять собственные скрипты или управлять существующими вы можете в трёх наших продуктах: [AdGuard для Windows](https://kb.adguard.com/ru/windows/features/extensions), [AdGuard для Android](https://kb.adguard.com/ru/android/overview#extensions-support) и [AdGuard для Mac](https://kb.adguard.com/ru/macos/overview#extensions).
<a name="scripts"></a>
### Пользовательские скрипты от AdGuard
@ -39,7 +39,7 @@ AdGuard может значительно расширять функциона
* **Блокировщик всплывающей рекламы** - скрипт, блокирующий один из самых раздражающих типов рекламы - всплывающие окна.
* **Web of Trust** - скрипт, который информирует о репутации и безопасности сайтов на основе оценки опыта интернет-пользователей.
* **Web of Trust** - скрипт, который информирует о репутации и безопасности сайтов на основе оценки интернет-пользователей.
* **Помощник AdGuard** (старая версия) - расширение, предназначенное для управления фильтрацией прямо со страницы бразуера (ручная блокировка, занесение сайта в исключения и т.д.).
@ -146,27 +146,27 @@ AdGuard поддерживает как старые функции GM\_, так
##### Значения
Обратите внимание, что все перечисленные функции GM\_ устарели, но всё ещё поддерживаются.
```
GM.getValue / GM_getValue
GM.info / GM_info
GM.setValue / GM_setValue
GM.deleteValue / GM_deleteValue
GM.getValue / GM_getValue
GM.listValues / GM_listValues
GM.deleteValue / GM_deleteValue
GM.getResourceUrl / GM_getResourceURL
GM.setClipboard / GM_setClipboard
GM.xmlHttpRequest / GM_xmlhttpRequest
GM.info / GM_info
GM.openInTab / GM_openInTab
GM.notification
unsafeWindow
GM_getResourceText (устарело)
GM_addStyle (устарело)
GM_log (устарело)
```
#### Частично поддерживаемые функции GM
GM_getResourceText
GM_addStyle
GM_log
```
GM.openInTab / GM_openInTab - Просто вызывает window.open.
```
[Здесь](https://wiki.greasespot.net/GM.info) вы найдёте развёрнутую информацию о Greasemonkey API.
<a name="example"></a>