|
@@ -113,7 +113,8 @@ class Webshot extends CallableInstance<[Tweet[], (...args) => void, number], Pro
|
|
|
'[data-testid="caret"],[role="group"],[data-testid="tweet"] [class*=" "]+:last-child>*+[class*=" "]~div{display:none}',
|
|
|
}))
|
|
|
.then(() => page.addStyleTag({
|
|
|
- content: '*{font-family:-apple-system,".Helvetica Neue DeskInterface",Hiragino Sans,Hiragino Sans GB,sans-serif!important}',
|
|
|
+ content: '*{font-family:-apple-system,".Helvetica Neue DeskInterface",Hiragino Sans,Hiragino Sans GB,sans-serif!important}' +
|
|
|
+ '*{-webkit-font-smoothing:antialiased!important}',
|
|
|
}))
|
|
|
// remove listeners
|
|
|
.then(() => page.evaluate(() => {
|