←back to thread

707 points namukang | 1 comments | | HN request time: 0.263s | source
Show context
tyingq ◴[] No.29256582[source]
Too bad headless chrome seems uninterested in supporting browser extensions..."wontfix"

https://bugs.chromium.org/p/chromium/issues/detail?id=706008

Otherwise, you could make a pretty neat self-hosted "cloud" of this nice looking scraper extension.

replies(2): >>29256607 #>>29261213 #
hoten ◴[] No.29261213[source]
Recently a `--headless=chrome` flag was added to run headless mode using actual chrome browser code, which means extensions are now supported!
replies(1): >>29261540 #
tyingq ◴[] No.29261540[source]
Sounds promising, thanks for sharing! "--headless=chrome" isn't google searchable, so I'm still looking for details.
replies(1): >>29275210 #
neop1x ◴[] No.29275210[source]
Isn't the "chrome" value for "headless" parameter ignored? Maybe he simply meant the --headless switch (since Chrome 59) https://developers.google.com/web/updates/2017/04/headless-c...

EDIT: --headless is under kHeadless https://sourcegraph.com/search?q=context:global+repo:chromiu...

replies(1): >>29284822 #
tyingq ◴[] No.29284822[source]
Oh, then it isn't helpful news. Headless does not support extensions.
replies(1): >>29367757 #
1. hoten ◴[] No.29367757[source]
I mean the CLI flag. I suppose it's called a switch. And yes, it does support extensions if you do --headless=chrome