Questions tagged [view-source]

view-source is an URL scheme that will display the source code of an url.

In FireFox, Sea Monkey, Google Chrome and up to Internet Explorer 6, prepending an url with view-source: will show the source code of the url. Due to security issues in Internet Explorer, the support for this URL Scheme was dropped with the release of Windows XP SP2.

86 questions
1
vote
0 answers

View Source Button - Not working anymore

Why does the primitive method no longer work on this page (in Chrome)? I use the same functionality on my website and it has stopped working as well. https://css-tricks.com/examples/ViewSourceButton/# Here is the line:
bprend
  • 15
  • 4
1
vote
0 answers

html/php content not rendering on view source until page refresh

I'm integrating an iframe with dynamic php content in its src on a checkout congratulations page. When the process is complete the iframe with code shows in Firebug, but not on view source in the browser. If I refresh the page the content shows in…
Naterade
  • 2,399
  • 8
  • 31
  • 51
1
vote
1 answer

How to download a Java applet from webpage?

I'm trying to figure out a way to download this one java class from a programming site, but I seem to be getting error when I try accessing the link after I viewed the source? Can anyone show me how to do this correctly? Or be willing to do a step…
ddonahoe
  • 11
  • 1
1
vote
2 answers

Get the raw page content with PhantomJS

Is it possible to get the raw html from a webpage using PhantomJS, before any javascript is executed. The following script is returning the html after all scripts are loaded and executed. var webPage = require('webpage'); var page =…
Tamás Pap
  • 16,112
  • 13
  • 65
  • 94
1
vote
1 answer

How can view jquery appended data using browsers view page source option?

Iam appending some data to a table in my php page. Data is shown in web page. That's ok. Then I opened the view page source in my web browser. But I didn't see that data in page source. Is there any method to show that data in page source? This is…
Nithin Mohan
  • 690
  • 13
  • 28
1
vote
4 answers

inject text from javascript to html "View source"

When I change text using JavaScript The text does not appear in the HTML "View source". Is it possible to inject information to the HTML "View source". (When I write View source I mean to While you pressing on the right mouse button in the browser…
Danny
  • 111
  • 1
  • 1
  • 6
1
vote
0 answers

Chrome Form Submit POST Data View Source Not Working

See these Code and debug in chrome "; } else { echo "You Can't view the source of THIS LINE using Chrome."; } ?> When i…
Yaser Ranjha
  • 107
  • 2
  • 8
1
vote
2 answers

Why do some websites take longer to load when clicking "view source"?

I'm trying to figure out how the sublime text community package list works over at http://wbond.net/sublime_packages/community The page itself displays after about a second and seems fine to use. You can inspect element too, and that also works…
Lars
  • 6,670
  • 9
  • 45
  • 65
1
vote
1 answer

when can a page source has contents but not displayed on web page?

I'm developing a fb web app. I have got a situation in which view-source of web page shows contents but not displayed on actual page. But when I refresh the page it displays. Can anyone explain why it happens? I've used may redirections before…
nbbk
  • 1,102
  • 1
  • 14
  • 31
1
vote
4 answers

Mobile emulator to view source code?

I want to view source code on a WebApp, but when I enter the URL using my desktop, the browser it forwards to the desktop version. I then tried the Opera mobile emulator, but it functioned in every single way of a mobile device, including not…
SnowboardBruin
  • 3,511
  • 7
  • 33
  • 55
0
votes
1 answer

Why does my favicon revert to a server icon when I call "View Source"?

This website has a favicon: link rel="shortcut icon" href="http://www.pathfolios.com/sites/default/files/Untitled-1%20copy%20%281%29.png" type="image/png" The favicon appears normally when accessing pages within the site. When using admin pages…
0
votes
1 answer

Does the large number of page `view source` lines make sense?

Many times when I view source my page.aspx, I find lots of lines (HTML, styles, java script, view states, etc) maybe thousands of lines. On the other side when I view the source of more complicated pages of others' sites like (SOF), I find small…
Anyname Donotcare
  • 10,000
  • 54
  • 200
  • 355
0
votes
0 answers

Chrome not showing correct source

I have a PHP application. It has a login page. From within Chrome, if I do a CTRL-U (view source) within anywhere beyond the login page, I get the login's page HTML. To the best of my knowledge, I have not implemented any security measure to…
QuesnelJ
  • 13
  • 5
0
votes
0 answers

what happens if I click on a link from within a view-source listing?

I exported bookmarks to an HTML file, did a view-source and am wondering what FF does when you click on a link from within view-source? My guess: it does a GET -only-, no processing; that would be similar to one of the options in the developer? [PS…
0
votes
1 answer

Dynamically added noscript tag doesn't show in view source page Angular Universal

I append noscript tag as body's child, when I run app with angular universal it doesn't show tag in body, but I can see it on inspect element I need to add this noscript tag not in app-root, I need to add it dynamically and as first child of body…