Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.51 KB

contribute.md

File metadata and controls

61 lines (45 loc) · 1.51 KB

contribute

feedback

if you want to:

  • ask question
  • report bug
  • request feature
  • vote for feature request

please create or check issue to make contribution.

contribute to code

if you want to contribute directly to the code base, please follow the step below.

get the source

git clone https://github.com/sayomelu/nothingblock

prerequisite

  • git
  • web browser
  • blocker
    • ublock original
    • adblock plus
    • ...
  • code editor

writing filter

setup with ublock original + visual studio code, other are similar.

  1. open the website you want to block on your web browser with ad blocker enabled.

  2. secondary click on the website element you want to block, then choose block element.

  3. find the appropriate fliter in cosmetic filters, then choose preview to check your fliter.

  4. choose create to create a new filter.

  5. repeat step 2 ~ 4 until there is nothing to block.

  6. go to ad blocker -> dashboard -> my filter, then copy all the filter.

  7. create and open a new [website name with lowercase and hyphen: sample-website].txt file in nothingblock/item/ with code editor.

  8. paste the text to [website name with lowercase and hyphen: sample-website].txt.

  9. edit the file in the format below:

    ! [website section 1]
      [filter 1]
      [filter 2]
      ...
    ! [website section 2]
      [filter 3]
      [filter 4]
      ...

pull request

after writing your filter, you can pull request to nothingblock.