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.

93 questions
0
votes
2 answers

Hinding Js in Viewsource is not working

what I need I need to hide js code in view source js code function unloadJS(scriptName) { var head = document.getElementsByTagName('head').item(0); var js = document.getElementById(scriptName); js.parentNode.removeChild(js); …
user2818060
  • 835
  • 5
  • 19
  • 41
0
votes
2 answers

How to make the AngularJs content Visible in Viewsource

I have taken the lot of contents using AngularJs. But the contents are not showing in the view source. View page should show the contents in view source using AngularJs. Let me know, If there is any method to use to show the contents in view source…
KesaVan
  • 1,031
  • 16
  • 32
0
votes
1 answer

Is it possibly to automatically indent HTML source outputted by PHP?

As a perfectionist, I like having valid & correctly indented HTML outputted by PHP. I have a few complex webapps with IT-minded users, and they like to be able to View source and not see a garbled mess. Currently I use this function I…
Danny Beckett
  • 20,529
  • 24
  • 107
  • 134
0
votes
1 answer

How to set the view source multiple html frames in single viewsource

I have three frames in single frameset html page. when i saw the view source of the page look like below A simple frameset document
Ben10
  • 3,221
  • 2
  • 34
  • 61
0
votes
2 answers

Add the Empty space on view source using javascript or jquery

Is there is a way to add the extra empty spaces while viewing source. I am not asking for hiding the source. I want to add the extra white space in the source code when you view. http://www.immihelp.com/visitor-visa/sponsor-documents.html. If you…
Vignesh Pichamani
  • 7,950
  • 22
  • 77
  • 115
0
votes
0 answers

how to get the view source page of a url that have already logged-in in objective-c?

I want to open a url which I have already logged into in Chrome, and this line of code successfully opens it in Chrome: [[NSWorkspace sharedWorkspace] openURL:url] However the source page is not coming through using this line of code: NSString…
ramo
  • 609
  • 2
  • 8
  • 14
0
votes
0 answers

Why does my code do this? line breaks in the middle of every opening tag

Midwestsalt.net > view source it looks like this throughout the whole site. makes no sense Its hard to debug with these line breaks in everywhere!I am not sure why this happens. SO says to add more details, this is the most i know about what is…
Joe Barrett
  • 135
  • 1
  • 1
  • 10
0
votes
1 answer

View source not showing current gridview. What's happening here?

Using aspnet, c# 3.5, developing in vs2008. Using IE7. I have a web page consisting of a dropdown list and a gridview. The contents of the gridview are mostly dynamically generated in the code behind. When the app runs, the default value for the…
Lill Lansey
  • 4,775
  • 13
  • 55
  • 77
0
votes
2 answers

View source on pdf rendered inside a browser?

I have a report in Cognos. The output is rendered in a pdf inside the browser itself. Now the images are not showing up in the pdf. They show up fine in html. Now if they were not showing up on html, i would do a view source and check the image url…
Victor
  • 16,609
  • 71
  • 229
  • 409
0
votes
0 answers

View source does not show html source in cognos

In Cognos viewer, when the report is rendered in html format, in IE, it looks like any html page. But when I do a 'View Source', how come I do not see the html in the view source? is there a way to turn it on?
Victor
  • 16,609
  • 71
  • 229
  • 409
-1
votes
1 answer

How to hide the source view of a page with htaccess?

As I said in the title, how to hide the source view of a page with htaccess ? Like that: (fake code) IF [URL START WITH "view-soure"] - DONT_SHOW_CODE_PLZ
user_93485
  • 19
  • 2
-1
votes
1 answer

Favicon doesn't show up in viewsource, or on images. (localhost chrome)

I'm currently creating a website, and I'm almost finished, but there's one problem. The favicon does not show up on view source, or on an image (in localhost, chrome). You see, I'm not sure if I'm doing something wrong or if this is just a bug.…
user10060795
-1
votes
1 answer

Need to pull details specific details from web page using vba

I need to pull the text 'Catalog Manager/ Sales' & 'EOL (product/component)' from the view source tab using VBA. Below is the view source code:
-1
votes
2 answers

Source Code Appears to Be Hidden

I'm trying to debug a particular website (that I do not control, but I'm helping to debug) and I did find the problem, but ran into something I've not seen before and hoping someone can explain it. When viewing the source code of the page using…
-2
votes
1 answer

How does angular inject component specific styles into
tag of the html? is there way to package css into files

Angular application: Opening viewsource html in the browser, it's dynamically adding inline style css tags as we browser cross different components in the page. Why does angular do this (lazing loading)? is there a way to separate it out rendering…
Jam
  • 39
  • 1
  • 7