google search results displaying in mobile mode with Noscript, despite being on desktop

Ask for help about NoScript, no registration needed to post
rereser
Posts: 16
Joined: Sat May 25, 2019 1:42 pm

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by rereser »

no , not for search.
that was only to load the youtube page from the google homepage with videos instead of a blank page with placeholders.
hardly ever go there , just checked by accident.
used the internet explorer strings.
maybe some from firefox or chrome work better.
again , can't test other browser versions.
don't know what is going on but for me it works for now.
i need the first one for my outdated system. (outdated browser message)
added the second for google for the mobile view fix.
and another (not the same as for google) when i found the youtube page did not load.
only registered here to post my findings after your post.
thanks again for your solution.
now just to find the right combination for the effected systems.
windows , linux and browser version.
noscript settings here for youtube.
Image
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by skriptimaahinen »

So as I assumed - general.useragent.override.youtube.com is just to get the old youtube design - not necessary to fix the search pages.

And the general.useragent.override is necessary only if you have other problems like outdated browser.
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
rereser
Posts: 16
Joined: Sat May 25, 2019 1:42 pm

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by rereser »

think you are correct.
just something i just saw on each google search result.
that is with and without the google override mod.
at the end of the url there is always something like this "&rls=org.mozilla:en-US:unofficial"
removing that from the url and reload displays the same results.
never noticed that before.
keeps getting stranger ...
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by skriptimaahinen »

Looks like something about the client and locale. Probably added by the search engine?
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
sprocketoctopus
Posts: 11
Joined: Sat May 25, 2019 2:01 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by sprocketoctopus »

Thanks Rereser!

I think I understand your fix.

To Quote for an MS machine:

three new strings in about:config.

general.useragent.override
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

general.useragent.override.google.com
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)

general.useragent.override.youtube.com
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
------------------------------------------------------------------------------------------------------------------------
For my Linux box is it:
general.useragent.override
Mozilla/5.0 (X11; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0

general.useragent.override.google.com <--- (I will also add ".au" for my local flavor of Google)
Mozilla/5.0 (X11; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0

general.useragent.override.youtube.com
Mozilla/5.0 (X11; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0
-------------------------------------------------------------------------------------------------------------------------------------------------

Thank you and others who chimed in for help.

Cheers

~S.O
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
barbaz
Senior Member
Posts: 10841
Joined: Sat Aug 03, 2013 5:45 pm

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by barbaz »

@sprocketoctopus Remember to log in before posting so that you can use your chosen username and don't need to repeatedly solve the CAPTCHA each time. (I've fixed your post above)

You can just use as-is the suggested UA string for "general.useragent.override.google.com". There should be no need to alter the suggestion for different OS.

As for "general.useragent.override", I think rereser may have done that for reasons unrelated to this thread. Try without it.
*Always* check the changelogs BEFORE updating that important software!
-
sprocketoctopus
Posts: 11
Joined: Sat May 25, 2019 2:01 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by sprocketoctopus »

Thanks Barbaz - and apologies for not logging in.

I have tried your suggestion: Firefox 67.0

general.useragent.override.google.com.au;
Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)

Still same does not work.

As suggested previously -Is this is a Google change?

Thanks again for your help.
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
rereser
Posts: 16
Joined: Sat May 25, 2019 1:42 pm

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by rereser »

@sprocketoctopus

general.useragent.override.google.com
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)

not Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; Trident/6.0)
Last edited by rereser on Sun May 26, 2019 8:24 am, edited 3 times in total.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
sprocketoctopus
Posts: 11
Joined: Sat May 25, 2019 2:01 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by sprocketoctopus »

Thanks!

I'll try that report back.

~SO
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
rereser
Posts: 16
Joined: Sat May 25, 2019 1:42 pm

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by rereser »

additional tip.
set homepage or shortcut to this.
https://www.google.com/?noj=1
and for the correct search plugin go here.
https://mycroftproject.com/google-search-plugins.html
search for ... Google (no JS) (google.com) by Dmitry Alexandrov
make this the default.
temp allow the above page for the plugin to install.
this will also remove "&rls=org.mozilla:en-US:unofficial" from the end of the search url's.

this may be what is going on.
https://www.zdnet.com/article/former-mo ... for-years/
a script could have been added that some browsers can't work with.
Last edited by rereser on Sun May 26, 2019 5:09 pm, edited 1 time in total.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
skriptimaahinen
Master Bug Buster
Posts: 244
Joined: Wed Jan 10, 2018 7:37 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by skriptimaahinen »

rereser wrote: Sun May 26, 2019 7:22 am just tested.
general.useragent.override.google.com.au
Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 7.1; Trident/5.0)
does not work.
For me that does work. As well as any other country specific override. Did you actually test it on https://www.google.com.au and not just https://www.google.com ?
Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0
rereser
Posts: 16
Joined: Sat May 25, 2019 1:42 pm

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by rereser »

my mistake.
after testing google.com.au , i went to google.com. (not com.au)
obviously that went to the mobile mode then.
thanks for the feedback and great you got it to work.
will correct my other post.
grtz.
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
sprocketoctopus
Posts: 11
Joined: Sat May 25, 2019 2:01 am

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by sprocketoctopus »

Thanks Rereser - all working now for google.com.au

I have also followed your other advice:

"set homepage or shortcut to this.
https://www.google.com/?noj=1
and for the correct search plugin go here.
https://mycroftproject.com/google-search-plugins.html
search for ... Google (no JS) (google.com) by Dmitry Alexandrov
make this the default.
temp allow the above page for the plugin to install.
this will also remove "&rls=org.mozilla:en-US:unofficial" from the end of the search url's."

And I found a no JS for google.com.au in the mycroftproject page you mentioned.

Thanks to all that helped. Google search & it's other tentacles are back in it's box!

~S.O
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/73.0.3683.86 Chrome/73.0.3683.86 Safari/537.36
asaone7

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by asaone7 »

Sorry to have to bump this. But now youtube itself is displaying incorrectly, probably as mentioned due to it detecting JavaScript as disabled. Basically the youtube homepage contains very large thumbnails of videos and is overall plainer. Looks like it's loading the mobile view by default for this. If I view the page in IE, it's just fine.
Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
User avatar
therube
Ambassador
Posts: 7924
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: google search results displaying in mobile mode with Noscript, despite being on desktop

Post by therube »

Are you blocking JavaScript in IE?
Try it.

Did you try spoofing the UA in FF?
Try it.
(If you do, it will likely still have some unwanted consequences.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.5
Post Reply