ulixee / hero

The web browser built for scraping
MIT License
649 stars 32 forks source link

Feature/allow referrer injection #226

Closed Kwsswart closed 1 year ago

Kwsswart commented 1 year ago

Why

Having brought this topic up qith @blakebyrnes in discord I decided to try tackle this to allow us to inject the referer in the goto method.

Discussion

image

Summary of proposed solution.

Considering in the unblocked repo we have the referer available already in the navigate method:

image

All that is needed it simply sending it through the chain in the options.

It is essential that this PR works along with: https://github.com/ulixee/unblocked/pull/60

blakebyrnes commented 1 year ago

Thanks! Looks good, but can you please revert deleting the husky files?

Kwsswart commented 1 year ago

Adjusted! @blakebyrnes