mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 04:35:54 +03:00
[GH-ISSUE #960] [BUG] URL preferences not remembered between pages #593
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#593
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @brokoler on GitHub (Feb 20, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/960
Describe the bug
Hi, I'm using a public Whoogle instance in france and changed the country to United Kingdom and the interface language to English, this works fine during my browser sessions. Since I work mostly without cookies, I had to adjust this setting multiple times a day.
Because of that I added my preferences string to the URL bar, the URL now looks like this:
https://whoogle.hostux.net/search?preferences=RANDOMSTRING&q=%s
After entering my search term in the URL bar, I get the correct settings and the correct language without any cookies set.
As soon I switch from page 1 to a different page (e.g. page 2), all settings get lost.
After switching pages, the interface language is wrong and the search results are based on french content.
After switching the page, it seems the preferences settings is removed from the URL:
https://whoogle.hostux.net/search?q=RANDOMSTRING&start=10
It seems like the preferences settings in the URL are not remembered when changing pages.
The error happens on all devices (Windows, iOS, Android)
To Reproduce
Steps to reproduce the behavior:
Deployment Method
runexecutableVersion of Whoogle Search
Desktop (please complete the following information):
Smartphone (please complete the following information):
@N0-W4RN1NG commented on GitHub (Feb 21, 2023):
Wow what a coincidence, I have been having this issue for the last week using whoogle and came to post it.
Setting the search string as the whoogle settings string seems to work, but unfortunately Firefox Desktop doesn't have this feature anymore (aside: In firefox desktop, %s in saved URLs messed with their API. Instead of fixing their API, they removed the feature of adding custom search engines manually using a search string).
I am using whoogle on Firefox Android and Windows. I have disabled all privacy plugins completely for whoogle.hostux.net.
Steps to reproduce on Firefox desktop:
Go to whoogle.hostux.net
Under Configuration: set Interface Language and Search Language to English. Also set Country to United States (for good measure).
Select Apply.
Right click the address bar in firefox, and select Add "Whoogle Search"

Above: Adding Whoogle Search to Firefox
4a. Optional: go to "about:preferences#search" or navigate to search settings and set Whoogle as default.
Search using address bar.
Expected result:
Whoogle maintains location and language settings.
Actual result:
Interface and search results are in french (see "next" button at bottom of page.)
Click on Whoogle icon to go to homepage. Look at Configuration.
Expected Result
Whoogle maintains configuration set earlier.
Actual result
Configuration is reset. Country and Language settings are blank.
Type "whoogle.hostux.net" in the address bar. Notice that Configuration has reverted to previous country and language settings set in Step 2.
@benbusby commented on GitHub (Feb 21, 2023):
This should be fixed now, but I don't know how often the whoogle.hostux.net instance is updated (i.e. if it follows the latest beta builds or if it only is updated when a new version is released). If it seems to be the latter, I'll push a new version sometime this week.