←back to thread

707 points namukang | 10 comments | | HN request time: 1.408s | source | bottom
1. 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 #
2. dkthehuman ◴[] No.29256607[source]
I built Browserflow Cloud for that purpose ;)

It was a lot of work translating the extension code to work with headless browsers, but it means you can deploy your flows to the cloud and have it run automatically!

replies(1): >>29256748 #
3. tyingq ◴[] No.29256748[source]
Yes, sure. Just that some use cases, like internal applications that aren't exposed to the internet, or dev instances of those that are, would be difficult.
replies(1): >>29257302 #
4. mritchie712 ◴[] No.29257302{3}[source]
What type of app did you have in mind?
replies(1): >>29257947 #
5. fragmede ◴[] No.29257947{4}[source]
automation/screenshotting of a bespoke internal ticketing system (aka not-Jira), but without needing to have my laptop on.
6. 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 #
7. 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 #
8. neop1x ◴[] No.29275210{3}[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 #
9. tyingq ◴[] No.29284822{4}[source]
Oh, then it isn't helpful news. Headless does not support extensions.
replies(1): >>29367757 #
10. hoten ◴[] No.29367757{5}[source]
I mean the CLI flag. I suppose it's called a switch. And yes, it does support extensions if you do --headless=chrome