Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

Show source code (ctrl-u)

  • 2 svar
  • 1 har detta problem
  • 24 visningar
  • Senaste svar av cor-el

more options

ctrl-u no longer seems to show the source code for the page just downloaded, but appears to resend the request to get the source code (again). I've a page which results in a database insert on the server. I view the source code of the reply page, the insert has then occured twice. Previously I'd noticed that ctrl-u caches the source code, so even if the server process was changed, and the page recalled, ctrl-u still showed the old source code unless it was refreshed.

ctrl-u no longer seems to show the source code for the page just downloaded, but appears to resend the request to get the source code (again). I've a page which results in a database insert on the server. I view the source code of the reply page, the insert has then occured twice. Previously I'd noticed that ctrl-u caches the source code, so even if the server process was changed, and the page recalled, ctrl-u still showed the old source code unless it was refreshed.

Alla svar (2)

more options

You could (optionally, once enabling 'Work offline' mode) save the current page (Ctrl+S), then rename the HTML file extension (in File Explorer app) as a TXT file, right click it, and re-open it with Firefox. It should show the source code without having to re-download it. I don't know of another work around unfortunately.

more options

Note that you can possibly use "CTRL+A" and View Selection Source. There is also the page inspector as part of the developer tools that you can use to get the source (HTML tag -> Edit as HTML).