Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Better
Content
Commits
56910a7c
Commit
56910a7c
authored
Aug 29, 2018
by
Laura Kalbag
⚡
Browse files
Use CSS attribute selectors to make rules on nytimes.com more concise
parent
bc9c33b9
Changes
1
Show whitespace changes
Inline
Side-by-side
sites/nytimes.com/index.md
View file @
56910a7c
...
...
@@ -96,7 +96,7 @@ The New York Times (NYT) greets visitors with a doorslam: a modal dialog that co
- url-filter: nytimes.com
- load-type: first-party
- action:
- selector: .g-ad-wrapper, .ad.hpmiddle-ad, .ad.hp-top-ad, .ad, #top-wrapper,
#story-ad-1-wrapper, #story-ad-2-wrapper, #story-ad-3-wrapper, #story-ad-4-wrapper, #story-ad-5-wrapper, #story-ad-6-wrapper, #story-ad-7-wrapper, #story-ad-8-wrapper, #story-ad-9-wrapper, #story-ad-10-wrapper, #story-ad-11-wrapper, #story-ad-12-wrapper, #story-ad-13-wrapper, #story-ad-14-wrapper, #story-ad-15-wrapper, #story-ad-16-wrapper, #story-ad-17-wrapper, #story-ad-18-wrapper, #story-ad-19-wrapper
- selector: .g-ad-wrapper, .ad.hpmiddle-ad, .ad.hp-top-ad, .ad, #top-wrapper,
div[id*="story-ad"]
- type: css-display-none
```
...
...
@@ -105,6 +105,6 @@ The New York Times (NYT) greets visitors with a doorslam: a modal dialog that co
- url-filter: www.nytimes.com
- load-type: first-party
- action:
- selector: .g-ad-wrapper, .ad.hpmiddle-ad, .ad.hp-top-ad, .ad, #top-wrapper,
#story-ad-1-wrapper, #story-ad-2-wrapper, #story-ad-3-wrapper, #story-ad-4-wrapper, #story-ad-5-wrapper, #story-ad-6-wrapper, #story-ad-7-wrapper, #story-ad-8-wrapper, #story-ad-9-wrapper, #story-ad-10-wrapper, #story-ad-11-wrapper, #story-ad-12-wrapper, #story-ad-13-wrapper, #story-ad-14-wrapper, #story-ad-15-wrapper, #story-ad-16-wrapper, #story-ad-17-wrapper, #story-ad-18-wrapper, #story-ad-19-wrapper
- selector: .g-ad-wrapper, .ad.hpmiddle-ad, .ad.hp-top-ad, .ad, #top-wrapper,
div[id*="story-ad"]
- type: css-display-none
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment