GithubHelp home page GithubHelp logo

knowledgebase's Introduction

Website

This website is built using Docusaurus 2, a modern static website generator.

master branch is published automatically to https://adguardteam.github.io/KnowledgeBase/.

How to contribute

You can help by contributing to the Knowledge Base, all details are described in this article.

How to develop

Prepare

First of all, you need to install the following:

Second, clone this repo to your local computer:

Alternatively, you can use the Github app to do that.

Then you should open Terminal on your computer, navigate to the directory where you cloned this repo and run this command to install the local dependencies:

  • yarn install

Lint markdown

This command lints the markdown and outputs any errors to the console:

  • yarn lint:md

Some of errors can be fixed automatically:

  • yarn lint:md --fix

VSCode users can install the markdownlint extension to see the errors in the editor.

Run it locally

  • yarn start

This command lints markdown syntax, and if there is no markdownlint errors starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

How to build

  • yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

How to translate

Localizations are not pushed to the repo and prepared on-the-fly (i18n folder is added to .gitignore).

Here's how you can debug translations locally.

  1. Download translations: CROWDIN_PERSONAL_TOKEN="YOURTOKEN" yarn run crowdin download
  2. Run Docusaurus with the language of your choice: yarn run start -- --locale de

knowledgebase's People

Contributors

105th avatar aalpatkina avatar abarberenacpds avatar alex-302 avatar ameshkov avatar anastasiia-fedotova avatar ars28fox avatar bhavyawahie avatar blakhard avatar dashabu avatar el-termikael avatar etogaosion avatar eugenemeg avatar grumaxxx avatar ildarkamalov avatar natakiss avatar natamai avatar ngorskikh avatar puglieri avatar sc0rp10 avatar severanna avatar sfionov avatar slavaleleka avatar ss-orlova avatar stanislav-atr avatar superlex avatar sxgunchenko avatar vbagirov avatar vozersky avatar vyanovsky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

knowledgebase's Issues

Add description about microShield userscript

The microShield userscript blocks Ad-Shield advertisement and anti-adblock.
Its source code is hosted at https://github.com/List-KR/microShield.
Its original source code are available at seia-soto/userscripts@master/asdefuser and seia-soto/adshield-defuser.

The following URLs are the striking resources hosted by Ad-Shield Inc.

There are old their resources that cannot be accessed directly or are deleted. (Written in Korean language)

For searching websites protected by Ad-Shield recovery, please click here or refer here.
For searching websites that uses Ad-Shield analytics to measure adblocking ratio, please click here and find Prevent Ad-Shield tracking script string.

The resources in some (or many) of the websites protected by Ad-Shield recovery are encoded and decoded when Ad-Shield runtime runs in your web browser.
And, on all websites that use Ad-Shield analytics or recovery, all CSS link elements in each website will be removed and the script 1 lies that it is caused by incorrect adblock rules regardless of what it is real, if some conditions are met. 2

The following URLs are resources that are created by @seia-soto and related to Ad-Shield:

There is an installation guide written in Korean language at here.

Footnotes

  1. The inline script starts with eval(decodeURIComponent(escape(window.atob("KCgpPT5 and a JavaScript request that starts with /loader.min.js and hosts in Ad-Shield domains such as content-loader.com, html-load.com, css-load.com and 07c225f3.online.

  2. Example: https://github.com/AdguardTeam/AdguardFilters/issues/167060

Userscript on Android?

I don't understand userscript on Android how can I test? I did hello world from userscript and how can I see if it works with debug output?

Thanks for reply.

Change the way features overview is structured in the Knowledge base

Currently, we have a single HUGE article with the overview of ALL app features.

Example:
https://adguard.com/kb/adguard-for-android/overview/

Instead of that we should create may short articles that explain each feature separately.

For example, AdGuard for Android's Features overview should be split to several articles with the following structure:

  • Features
    • Protection
      • Ad blocking
      • Tracking protection
      • Annoyance blocking
      • Firewall
        • Quick actions
      • Browsing Security
    • Statistics
    • App management
    • Settings
    • Assistant
    • Free vs full version
    • Rooted vs non-rooted devices
    • Integration with AdGuard VPN

Tasks list

  • Android
  • macOS
  • Windows
  • iOS
  • Browser extension
  • Safari
  • Content blocker

Add an article about incompatibility of AdGuard for Mac with screen time

Problem description:

  1. Open AdGuard (default settings)
  2. Go to system settings - Screen Time - Content&Privacy - Content Restrictions - Access to Web Content - Limit Adult Websites - 3) Customize then add example.org to Restricted sites
  3. Open Safari

As a result, the connection fails and the pages do not load.

Solution

The only solution is to disable Content&Privacy in Screen Time and reboot the system AdguardTeam/CoreLibs#1790 (comment).

Mandatory note about difference of the url-based and CSS-based rules

I'm rarely composing my own rules and therefore tend to forget the right syntax/modifiers/whatever comes in the rule set. The 'create-own-filters' wiki page does not explicitly specify the difference between sets of rules mentioned in the topic, while most URL modifiers are invalid for CSS rules and may confuse beginner such as myself. I'd like to propose adding a note at the beginning of the CSS rules section stating that '||', '*' and other modifiers which URL blocker uses are incompatible with CSS rule syntax to avoid possible confusion such as creating CSS rule like '||domain.com##div...'.

Blocking links from Firefox Pocket

After the most recent update AdGuard is blocking opening new tabs and new windows from the right click menu and straight click-through links from Pocket, but only for NSFW sites. Even other normally heavily ad-laden sites are able to be opened from Pocket, only NSFW sites appear to be blocked.

Add "Do not track me Google" to recommended userscripts

We have an article about userscripts: https://adguard.com/kb/general/userscripts/

We should split "Recommended AdGuard userscripts" into two sections:

  • AdGuard userscripts -- those that are actually made by us
  • Top picks -- those, that we can recommend. microShield goes to that section for instance.

Here's the userscript:
https://greasyfork.org/en/scripts/428243-don-t-track-me-google

The homepage:
https://github.com/Rob--W/dont-track-me-google

Improve Safari Web extension article

  1. go to Settings → Safari → Extensions
  2. select "Ask" for AdGuard extension
  3. go to any website
  4. Aa → AdGuard, and allow just for this particular website (not for every website)
  5. do Aa → AdGuard again

as a result there will be Limited permissions shown in AdGuard Safari web extension popup:
https://uploads.adguard.org/slbdzdrvjk3ae.png

but this phrase—"Limited permissions"—is not mentioned in the KB article and there is no screenshot with such popup state. so the article may be improved because now it's not clear for a user is it a problem and how to deal with it

Adware and Viruses article is outdated

The article is outdated.

Here's the list of issues with it:

  1. Kaspersky tool links to a Ru website
  2. There are more free scanning tools, why don't we recommend them?
  3. "Free antivirus utilities" should be a header so that it was in the TOC
  4. "How to remove ...." sections are outdated, these types of adware are not used anymore so this all can be safely removed

Describe when native CSS4 ':has()' can be used and how it is handled in browsers without native ':has()' support

  • Add examples for CSS4 ':has()';
  • Describe limitations of CSS4 ':has()' or add the link https://www.w3.org/TR/selectors-4/#relational and which rules can be converted to native;
  • Describe how CSS4 ':has()' handled in browsers without it's support (old Safari, Firefox without experimental flags), including cases where the selector is not supported by CSS4 (:has(:contains(aaa)));
  • in which cases native implementation may fail to hide an element;
  • performance comparison.

Yarn build errors

When attempting to build with yarn build, I received the below errors.
It looks like it's trying to build with a version of nodejieba that doesn't exist. The latest version is 2.5.2, not 2.6.0.

Looking into the issue tracker, it appears to have been pulled at the moment due to issues, with the recommendation to use 2.5.2.

[redacted]@[redacted]s-MacBook-Pro KnowledgeBase % yarn install
yarn install v1.22.19
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@docusaurus/core > [email protected]" has unmet peer dependency "react-loadable@*".
warning " > [email protected]" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@docusaurus/core > react-dev-utils > [email protected]" has unmet peer dependency "typescript@>= 2.7".
warning "@docusaurus/plugin-ideal-image > @endiliey/[email protected]" has unmet peer dependency "prop-types@>=15".
warning "@docusaurus/preset-classic > @docusaurus/theme-search-algolia > @docsearch/[email protected]" has unmet peer dependency "@types/react@>= 16.8.0 < 19.0.0".
warning "docusaurus-theme-search-typesense > [email protected]" has unmet peer dependency "algoliasearch@>= 3.1 < 6".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react > @algolia/[email protected]" has unmet peer dependency "@algolia/client-search@^4.9.1".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react > @algolia/[email protected]" has unmet peer dependency "algoliasearch@^4.9.1".
warning " > [email protected]" has unmet peer dependency "@docusaurus/[email protected]".
warning "docusaurus-theme-search-typesense > [email protected]" has unmet peer dependency "@types/react@>= 16.8.0 < 19.0.0".
warning "docusaurus-theme-search-typesense > [email protected]" has unmet peer dependency "@babel/runtime@^7.17.2".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react > [email protected]" has unmet peer dependency "@babel/runtime@^7.17.2".
[4/4] 🔨  Building fresh packages...
[-/5] ⠁ waiting...
[-/5] ⠁ waiting...
[3/5] ⠁ sharp
[-/5] ⠁ waiting...
error /Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments: 
Directory: /Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | darwin | x64
node-pre-gyp info check checked for "/Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba/build/Release/nodejieba.node" (not found)
node-pre-gyp http GET https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v115-darwin-x64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v115-darwin-x64.tar.gz 
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (node-v115 ABI, unknown) (falling back to source compile with node-gyp) 
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v115-darwin-x64.tar.gz 
node-pre-gyp ERR! build error 
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:83:23)
node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:512:28)
node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:291:12)
node-pre-gyp ERR! stack     at onErrorNT (node:internal/child_process:483:16)
node-pre-gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
node-pre-gyp ERR! System Darwin 22.5.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/20.4.0/bin/node" "/Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba
node-pre-gyp ERR! node -v v20.4.0

Browser protected pages

          Browser protected pages:

https://github.com/gorhill/uBlock/wiki/Privileged-Pages

I suggest write similar note in AdGuard KB.

Or steal idea from Stylus (promtped at top in pop-up "dashboard"):

image

Firefox forbids access to the site.

To allow access open about:config, right-click the list, click 'New', then 'Boolean', paste privacy.resistFingerprinting.block_mozAddonManager and click OK, true, OK, reload the addons.mozilla.org page.

  • (Чтобы разрешить доступ, перейдите на адрес about:config, нажмите правой кнопкой в списке, потом «Создать», потом «Логическое», вставьте текст privacy.resistFingerprinting.block_mozAddonManager и нажмите OK, , OK, перезагрузите страницу addons.mozilla.org.)

In Firefox 60 and newer you need to remove this domain from extensions.webextensions.restrictedDomains in about:config.

  • (В Firefox 60 и новее вам нужно удалить этот домен из extensions.webextensions.restrictedDomains в about:config.)

Costs with use Stylus idea is broken button "remove extension" on webage addon description.

Originally posted by @krystian3w in #198 (comment)

Use admonitions instead of quotes in the documentation

There are quite a lot of places in the knowledge base where we use quotes where we should actually use admonitions.

Just search for all lines that start with > , they all should be reworked as admonitions.

I.e. instead of this:
https://uploads.adguard.org/up04_How_to_create_your_own_ad_filters__AdGuard_Knowledge_Base_dk2q0.png

We should have this:
https://uploads.adguard.org/up04_How_to_create_your_own_ad_filters__AdGuard_Knowledge_Base_z8h3u.png

Browser protected pages

@adguard-bot commented on Fri May 19 2023

Issue URL (Social Widget)

https://addons.mozilla.org/blog/translate-the-web-easily-with-a-browser-extension/

Comment

Username: @Spok1

Screenshots

Screenshot 1

Screenshot 1

System configuration

Information value
AdGuard product: AdGuard Browser extension v4.1.55
Browser: Firefox
Stealth mode options: Hide your search queries,
Send Do-Not-Track header,
Strip URLs from tracking parameters,
Hide your Referrer from third-parties
Filters: Ad Blocking:
AdGuard Base,
AdGuard Mobile Ads

Privacy:
AdGuard URL Tracking,
AdGuard Tracking Protection

Social Widgets:
AdGuard Social Media

Annoyances:
AdGuard Annoyances

Language-specific:
AdGuard Russian,
AdGuard Ukrainian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.