Skip to content

Instantly share code, notes, and snippets.

@riocampos
Created September 26, 2015 13:59

Revisions

  1. riocampos created this gist Sep 26, 2015.
    1 change: 1 addition & 0 deletions css.1blockpkg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    [{"id":"6c45f0e0-749a-4fe0-8df2-082a0f1e9191","name":"css only","rules":[{"id":"6479b1f2-a406-49f5-8edb-e3e840610bfe","name":"css_name_start_with_ad","content":{"trigger":{"url-filter":".*","load-type":[]},"action":{"type":"css-display-none","selector":"[class^='ad' i]"}}},{"id":"639fb370-521b-4793-951d-a1c3962298ca","name":"css_name_end_with_ad","content":{"trigger":{"url-filter":".*","load-type":[]},"action":{"type":"css-display-none","selector":"[class$='ad' i]"}}}]}]
    36 changes: 36 additions & 0 deletions css.prettify.1blockpkg
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    [
    {
    "id": "6c45f0e0-749a-4fe0-8df2-082a0f1e9191",
    "name": "css only",
    "rules": [
    {
    "id": "6479b1f2-a406-49f5-8edb-e3e840610bfe",
    "name": "css_name_start_with_ad",
    "content": {
    "trigger": {
    "url-filter": ".*",
    "load-type": []
    },
    "action": {
    "type": "css-display-none",
    "selector": "[class^='ad' i]"
    }
    }
    },
    {
    "id": "639fb370-521b-4793-951d-a1c3962298ca",
    "name": "css_name_end_with_ad",
    "content": {
    "trigger": {
    "url-filter": ".*",
    "load-type": []
    },
    "action": {
    "type": "css-display-none",
    "selector": "[class$='ad' i]"
    }
    }
    }
    ]
    }
    ]