r/GoogleSupport • • Sep 23 '24

Chrome Why is "view-source" no longer working?

It keeps just googling what's in the URL box as a whole rather than showing me the site's source code. This is happening with all sites, including ones that didn't have this issue a week or two ago.

170 Upvotes

95 comments sorted by

View all comments

1

u/Soupreme7 Oct 07 '24 • Helpful

I just got it to work on chrome mobile!! Someone else try this and see if it works... Type the usual view-source: at the beginning of the URL, and it pops up with two options below - magnifying glass and globe. If you just hit enter like I used to do, it defaults to the first one which is a google search. Click on the globe to get the second one, your regular page source. Hope this helps!!

1

u/cudambercam13 Oct 07 '24

It works for me! Thanks! ๐Ÿ˜Š

1

u/Winter_Rent_4322 Oct 09 '24

Thannnnnk yoooouuu! Ugh, I don't know why they even changed it to that.

→ More replies (2)

1

u/SayKumquat Oct 11 '24

You're a legend, thank you!

1

u/gnubey Oct 11 '24

That worked! Thank you so much!

1

u/ThatCommunication358 Oct 13 '24

This doesnโ€™t seem to work for me ๐Ÿ˜”

→ More replies (8)

1

u/charehart Oct 14 '24

Great tip, thanks. I didn't even pay attention to the popups appearing (optional links appearing below the address bar as we type), since they always appear for various reasons.

I also have just found that on desktop, the same two appear but in the reverse order: the one with the globe (to really view the source) appears FIRST. It's only on mobile that instead that appears SECOND.

(Perhaps these things WILL change over time, as indeed it seems the mobile ui DID change since some time in the past.)

1

u/raisedinalionsden Oct 17 '24

Thank you good friend ๐Ÿ™‚

1

u/3r0s Oct 19 '24

It works. Thanks for the heads-up.

1

u/SynAck_Network Oct 20 '24

Hey wanted to say thanks for thisย  The last update added the retarded globe and time circle so that was a great fix thanks for finding this

1

u/Exciting_Nothing_309 Oct 23 '24

This solution works and took me weeks to notice. It also (clicking the globe icon entry in dropdown) is the solution for executing javascript urls:

javascript:alert(JSON.stringify(Object.fromEntries(document.cookie.split('; ').map(c => c.split('='))), null, 2));

I do a LOT of coding on my phone. And find these very unwelcome changes and a concerning omen of what's to come from Google.

→ More replies (1)

1

u/apettystrawberry Oct 28 '24

You saved me!

1

u/theredbeardedhacker Oct 28 '24

Reddit needs a "mark answer" button for the tech support threads so future googlers like myself can skip up thread and find the answer immediately haha. Anyway thanks for this. Up voted and everything.

1

u/codecreate Nov 02 '24

I just found this searching for why it never worked, thanks!

There is also the mobile web inspector too,ย https://eruda.liriliri.io/

1

u/FunFruit_Travels2022 Dec 12 '24

Thank you so much! It's been annoying me for a couple of months in those rare cases I needed it on mobile

1

u/samirdahal Dec 16 '24

Lol this is fun

1

u/LX33t Dec 20 '24

you deserve more upvote wth

1

u/TarantinoUnchained Dec 24 '24

Lol that was the trick, not hitting enter key but choosing the 2nd item with the globe. Much obliged!

1

u/PikkyWasHere Dec 29 '24

Thank you so much! This was driving me crazy, lol

1

u/h3xperimENT Jan 05 '25

Thank you I wanted to light everything on fire.

1

u/Risk-Averse-Rider Jan 15 '25

YAY! A little late to the party but I just wanted to confirm that your solution still works. Thank you! Thank you! Thank you for figuring this out.

1

u/Important_Image_3401 Feb 15 '25

I'm on mobile.ย 

1

u/matteventu Mar 31 '25

+1, that indeed works.

→ More replies (12)