{"action":"opened","issue":{"url":"https://api.github.com/repos/uBlockOrigin/uBlock-issues/issues/127","repository_url":"https://api.github.com/repos/uBlockOrigin/uBlock-issues","labels_url":"https://api.github.com/repos/uBlockOrigin/uBlock-issues/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/uBlockOrigin/uBlock-issues/issues/127/comments","events_url":"https://api.github.com/repos/uBlockOrigin/uBlock-issues/issues/127/events","html_url":"https://github.com/uBlockOrigin/uBlock-issues/issues/127","id":340653893,"node_id":"MDU6SXNzdWUzNDA2NTM4OTM=","number":127,"title":"It's too difficult to add custom filters to block web domains or specific websites","user":{"login":"ozmium","id":6191136,"node_id":"MDQ6VXNlcjYxOTExMzY=","avatar_url":"https://avatars1.githubusercontent.com/u/6191136?v=4","gravatar_id":"","url":"https://api.github.com/users/ozmium","html_url":"https://github.com/ozmium","followers_url":"https://api.github.com/users/ozmium/followers","following_url":"https://api.github.com/users/ozmium/following{/other_user}","gists_url":"https://api.github.com/users/ozmium/gists{/gist_id}","starred_url":"https://api.github.com/users/ozmium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ozmium/subscriptions","organizations_url":"https://api.github.com/users/ozmium/orgs","repos_url":"https://api.github.com/users/ozmium/repos","events_url":"https://api.github.com/users/ozmium/events{/privacy}","received_events_url":"https://api.github.com/users/ozmium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T14:07:22Z","updated_at":"2018-07-12T14:07:22Z","closed_at":null,"author_association":"NONE","body":"<!-- Do NOT delete this template or any part of it when submitting your issue -->\r\n\r\n### Prerequisites\r\n\r\n<!-- Check the appropriate boxes after you submit your issue -->\r\n\r\n- [ ] I verified that this is not a filter issue\r\n    - Filter issues MUST be reported at [filter issue tracker](https://github.com/uBlockOrigin/uAssets/issues)\r\n    <!--\r\n        - If disabling uBO <https://github.com/gorhill/uBlock/wiki/Quick-guide:-popup-user-interface#the-large-power-button> makes the issue go away, then in all likelihood this is a filter issue.\r\n        - See what the logger <https://github.com/gorhill/uBlock/wiki/The-logger> reports when you reproduce the issue, this will help you determine whether this is a filter issue.\r\n    -->\r\n- [ ] This is not a support issue or a question\r\n    - Support issues and questions are handled at [/r/uBlockOrigin](https://old.reddit.com/r/uBlockOrigin/)\r\n    <!-- Such issue will be closed as invalid -->\r\n- [ ] I performed a cursory search of the issue tracker to avoid opening a duplicate issue\r\n    - Your issue may already be reported.\r\n- I tried to reproduce the issue when...\r\n    - [ ] uBlock Origin is the only extension\r\n    - [ ] uBlock Origin with default lists/settings\r\n    - [ ] using a new, unmodified browser profile\r\n- [ ] I am running the latest version of uBlock Origin\r\n- [ ] I checked the [documentation](https://github.com/gorhill/uBlock/wiki) to understand that the issue I report is not a normal behavior\r\n\r\n### Description\r\n\r\nIt's too difficult to add custom filters to block web domains or specific websites. There is a lack of pre-written examples.\r\n\r\n### A specific URL where the issue occurs\r\n\r\nuBlock Origin - Settings (Dashboard) - My Filters\r\n\r\n### Steps to Reproduce\r\n\r\n1. Try to write a filter for a whole website. Type in `www.google.com` or `www.google.com/*`, and save with \"Apply Changes\"\r\n2. Test out the filter by loading the page.\r\n3. Notice that the filter doesn't work.\r\n4. Try to search online for how to add a simple filter, and just keep retrying a lot.\r\n\r\n### Expected behavior:\r\n\r\n* We should see many example filters, pre-written (perhaps commented out), which explain how to add new ones.\r\n* An example text should include a description or comment. Something like this:\r\n```\r\n# This will block the whole domain www.google.com or https://google.com\r\n||google.com^ \r\n\r\n# This will block a specific page at www.google.com or https://google.com\r\n||google.com/document1^$document \r\n```\r\n\r\n### Actual behavior:\r\n\r\n* There are no guidelines on the uBlock settings on how to write custom filter rules.\r\n* Users normally have to experiment, and type something simple, like \"www.google.com\", then test it, only to realise that it doesn't work. It's a long process to figure out the correct syntax, to get it working.\r\n\r\n### Your environment\r\n\r\n* uBlock Origin version: v1.16.12\r\n* Browser Name and version: Google Chrome 67 or Firefox 61\r\n* Operating System and version: Mac or Windows, latest versions\r\n"}}
{"actor":{"display_login":"ozmium"}}