fix(baoyu-post-to-x): remove disable-blink-features Chrome flag
This commit is contained in:
parent
79ca378229
commit
a9576ebc67
|
|
@ -114,7 +114,6 @@ export async function publishArticle(options: ArticleOptions): Promise<void> {
|
|||
`--user-data-dir=${profileDir}`,
|
||||
'--no-first-run',
|
||||
'--no-default-browser-check',
|
||||
'--disable-blink-features=AutomationControlled',
|
||||
'--start-maximized',
|
||||
X_ARTICLES_URL,
|
||||
];
|
||||
|
|
|
|||
|
|
@ -41,7 +41,6 @@ export async function postToX(options: XBrowserOptions): Promise<void> {
|
|||
`--user-data-dir=${profileDir}`,
|
||||
'--no-first-run',
|
||||
'--no-default-browser-check',
|
||||
'--disable-blink-features=AutomationControlled',
|
||||
'--start-maximized',
|
||||
X_COMPOSE_URL,
|
||||
], { stdio: 'ignore' });
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ export async function quotePost(options: QuoteOptions): Promise<void> {
|
|||
`--user-data-dir=${profileDir}`,
|
||||
'--no-first-run',
|
||||
'--no-default-browser-check',
|
||||
'--disable-blink-features=AutomationControlled',
|
||||
'--start-maximized',
|
||||
tweetUrl,
|
||||
], { stdio: 'ignore' });
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ export async function postVideoToX(options: XVideoOptions): Promise<void> {
|
|||
`--user-data-dir=${profileDir}`,
|
||||
'--no-first-run',
|
||||
'--no-default-browser-check',
|
||||
'--disable-blink-features=AutomationControlled',
|
||||
'--start-maximized',
|
||||
X_COMPOSE_URL,
|
||||
], { stdio: 'ignore' });
|
||||
|
|
|
|||
Loading…
Reference in New Issue