Closed lamemakes closed 3 months ago
Closes #174. Adds the ability of being able to open result links in a new tab. This is done via a new settings store & component to handle the logic of the store. Adds target="_blank" rel="noopener noreferrer" to the anchor element.
target="_blank" rel="noopener noreferrer"
Updates to settings
The result being tested
Open in new tab disabled
Open in new tab enabled
Tested for wiki, stackoverflow & thesaurus and all looks good
Closes #174. Adds the ability of being able to open result links in a new tab. This is done via a new settings store & component to handle the logic of the store. Adds
target="_blank" rel="noopener noreferrer"
to the anchor element.Screenshots
Updates to settings![Screenshot from 2024-03-10 18-00-35](https://github.com/StractOrg/stract/assets/83597346/becd1fc7-4519-4e68-b07b-9ce1f2efec5a)
The result being tested![Screenshot from 2024-03-10 18-02-29](https://github.com/StractOrg/stract/assets/83597346/49dd72ee-d276-4089-b3e2-6bddbd09a9ac)
Open in new tab disabled![Screenshot from 2024-03-10 18-03-34](https://github.com/StractOrg/stract/assets/83597346/5db1cece-355f-4892-ab50-acea5656de07)
Open in new tab enabled![Screenshot from 2024-03-10 18-02-10](https://github.com/StractOrg/stract/assets/83597346/06ea0ca7-fafe-419a-abf1-46662813fc2f)