mirror of
https://github.com/JimLiu/baoyu-skills.git
synced 2026-07-21 09:49:48 +08:00
fix(baoyu-post-to-x): remove disable-blink-features Chrome flag
This commit is contained in:
@@ -114,7 +114,6 @@ export async function publishArticle(options: ArticleOptions): Promise<void> {
|
|||||||
`--user-data-dir=${profileDir}`,
|
`--user-data-dir=${profileDir}`,
|
||||||
'--no-first-run',
|
'--no-first-run',
|
||||||
'--no-default-browser-check',
|
'--no-default-browser-check',
|
||||||
'--disable-blink-features=AutomationControlled',
|
|
||||||
'--start-maximized',
|
'--start-maximized',
|
||||||
X_ARTICLES_URL,
|
X_ARTICLES_URL,
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -41,7 +41,6 @@ export async function postToX(options: XBrowserOptions): Promise<void> {
|
|||||||
`--user-data-dir=${profileDir}`,
|
`--user-data-dir=${profileDir}`,
|
||||||
'--no-first-run',
|
'--no-first-run',
|
||||||
'--no-default-browser-check',
|
'--no-default-browser-check',
|
||||||
'--disable-blink-features=AutomationControlled',
|
|
||||||
'--start-maximized',
|
'--start-maximized',
|
||||||
X_COMPOSE_URL,
|
X_COMPOSE_URL,
|
||||||
], { stdio: 'ignore' });
|
], { stdio: 'ignore' });
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ export async function quotePost(options: QuoteOptions): Promise<void> {
|
|||||||
`--user-data-dir=${profileDir}`,
|
`--user-data-dir=${profileDir}`,
|
||||||
'--no-first-run',
|
'--no-first-run',
|
||||||
'--no-default-browser-check',
|
'--no-default-browser-check',
|
||||||
'--disable-blink-features=AutomationControlled',
|
|
||||||
'--start-maximized',
|
'--start-maximized',
|
||||||
tweetUrl,
|
tweetUrl,
|
||||||
], { stdio: 'ignore' });
|
], { stdio: 'ignore' });
|
||||||
|
|||||||
@@ -45,7 +45,6 @@ export async function postVideoToX(options: XVideoOptions): Promise<void> {
|
|||||||
`--user-data-dir=${profileDir}`,
|
`--user-data-dir=${profileDir}`,
|
||||||
'--no-first-run',
|
'--no-first-run',
|
||||||
'--no-default-browser-check',
|
'--no-default-browser-check',
|
||||||
'--disable-blink-features=AutomationControlled',
|
|
||||||
'--start-maximized',
|
'--start-maximized',
|
||||||
X_COMPOSE_URL,
|
X_COMPOSE_URL,
|
||||||
], { stdio: 'ignore' });
|
], { stdio: 'ignore' });
|
||||||
|
|||||||
Reference in New Issue
Block a user