ulixee / unblocked

A suite of tools for protecting the web's open knowledge.
MIT License
130 stars 12 forks source link

Feature/Allow-referrer-injection-in-goto #60

Closed Kwsswart closed 1 year ago

Kwsswart commented 1 year ago

e# 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 collect and add it to the navigateOptions in order to send it to navigate method

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