Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
support newyorker
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed Dec 3, 2022
1 parent b288750 commit 4576ad9
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# ChangeLog

## 0.0.41

- Support start.me
- Support newyorker.com

## 0.0.40

- Support Notion
Expand Down
2 changes: 1 addition & 1 deletion src/chrome_manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"default_locale": "en",
"name": "Immersive Translate",
"description": "Let's experience immersive web translation, with bilingual simultaneous display and translation of only the important content.",
"version": "0.0.40",
"version": "0.0.41",
"homepage_url": "https://github.com/immersive-translate/immersive-translate",

"commands": {
Expand Down
7 changes: 7 additions & 0 deletions src/lib/specialRules.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,5 +382,12 @@ const specialRules = [
"selectors":[
"div[data-block-id]"
]
},{
"hostname":"www.newyorker.com",
"selectors":["h1","[data-testid=SummaryItemHed]"],
"containerSelectors":["[data-testid=BodyWrapper]"]
},{
"hostname":"start.me",
"selectors":[".rss-article__title"]
}
]
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"default_locale": "en",
"name": "Immersive Translate",
"description": "Let's experience immersive web translation, with bilingual simultaneous display and translation of only the important content.",
"version": "0.0.40",
"version": "0.0.41",
"homepage_url": "https://github.com/immersive-translate/immersive-translate",

"browser_specific_settings": {
Expand Down

0 comments on commit 4576ad9

Please sign in to comment.