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
0
votes
2 answers

page source code is showing different code and inspect element showing different code

while scraping a site when I view code with inspect element code is different and when I view the source code of a site then code is different. What I want using curl in PHP how can i get the code which I can see using inspect element. Page getting…
0
votes
1 answer

Why are all but one of my html debug msgs/comments (Response.Write) not being written to the "View Source"?

I have this code that I know is getting hit, because the insert is being accomplished: Response.Write("") Dim query As String = String.Empty query &= "INSERT INTO CustomerCategoryLog…
B. Clay Shannon
  • 1,055
  • 124
  • 399
  • 759
0
votes
1 answer

View Source in browser not giving all the content which is loaded in browser

1) I opened a link in the browser. (suppose My Facebook FriendsList) 2) On Seeing the View Source for the Page. (I can see that around 20 names come in view source - first loaded ) 3) Even if I Scroll down and get all the friends list loaded and…
wadhwa94
  • 143
  • 1
  • 12
0
votes
1 answer

Swift 2 OS X How can I extract the source code of a URL loaded in webview?

NOTE: THIS QUESTION IS FOR SWIFT 2, OS X, NOT IOS. I need a way to programmatically get post-js processed source content (the final source content that is available in a browser's"view source" option). When programmatically retrieving source…
dbconfession
  • 1,017
  • 1
  • 19
  • 35
0
votes
3 answers

trying to write "div" tag after the "a" but whenever I check this piece of code by viewing source, it is automatically replaced with "span". I am using HTML5 and checking this code in firefox 42. nd I had already checked it in html validator.
0
votes
1 answer

Why when combine HTML and PHP, the HTML shown in "View Source" is not nested correctly?

I have two PHP files, that are used as Views in an MVC-based application. Both of them contain mostly HTML, but also some variables sent to them by the Controller. maintemplate.php: <?php echo…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 11 '15 at 08:52">asked Oct 11 '15 at 08:52</time> <a href="../../users/1925272/sipo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1925272.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Sipo" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/1925272/sipo" class="s-user-card--link">Sipo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,826</li> <li class="s-award-bling s-award-bling__gold" title="4 gold badges">4</li> <li class="s-award-bling s-award-bling__silver" title="26 silver badges">26</li> <li class="s-award-bling s-award-bling__bronze" title="61 bronze badges">61</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-31452272"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/31452272/google-app-script-urlfetch-not-giving-html-output-but-javascript-ouput" class="question-hyperlink">Google App Script UrlFetch not giving HTML output but JavaScript ouput</a></h3> <div class="excerpt">I am trying to fetch content from following web page http://www.mfinante.ro/infocodfiscal.html?cod=10376836 My code is var fetchString="www.mfinante.ro/infocodfiscal.html?cod=10376836"; var response = UrlFetchApp.fetch(fetchString); When I view…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/google-apps-script" class="post-tag grid--cell" title="show questions tagged 'google-apps-script'" rel="tag">google-apps-script</a> <a href="../../questions/tagged/web-scraping" class="post-tag grid--cell" title="show questions tagged 'web-scraping'" rel="tag">web-scraping</a> <a href="../../questions/tagged/urlfetch" class="post-tag grid--cell" title="show questions tagged 'urlfetch'" rel="tag">urlfetch</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 16 '15 at 10:58">asked Jul 16 '15 at 10:58</time> <a href="../../users/4889514/himanshu-tiwari" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4889514.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Himanshu Tiwari" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/4889514/himanshu-tiwari" class="s-user-card--link">Himanshu Tiwari</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">107</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badge">2</li> <li class="s-award-bling s-award-bling__bronze" title="15 bronze badge">15</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-30931101"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/30931101/turns-into-in-metadata" class="question-hyperlink">& Turns into & in metadata</a></h3> <div class="excerpt">I have a simple problem regarding &. I decided to upload a simple csv file just to insert meta title and meta description. It uploaded sucessfully but when i use the view source i can see this & <head> <meta charset = "utf-8"> <meta…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jun 19 '15 at 06:13">asked Jun 19 '15 at 06:13</time> <a href="../../users/4333307/shadowbudz" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4333307.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="shadowbudz" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/4333307/shadowbudz" class="s-user-card--link">shadowbudz</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">221</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="16 bronze badge">16</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-28214361"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/28214361/php-dynamically-show-source-into-other-div-in-same-page-after-php-is-submitted" class="question-hyperlink">PHP, dynamically show source into other div in same page after php is submitted</a></h3> <div class="excerpt">I am here to ask You the best way of creating a 'generator'. What have i done so far: Php file with retrieving posted data, <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <!-- 33 KB --> <!--…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/generator" class="post-tag grid--cell" title="show questions tagged 'generator'" rel="tag">generator</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 29 '15 at 12:05">asked Jan 29 '15 at 12:05</time> <a href="../../users/4066854/ziomus-gorliczanin" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4066854.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ziomuś Gorliczanin" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/4066854/ziomus-gorliczanin" class="s-user-card--link">Ziomuś Gorliczanin</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">112</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badges">2</li> <li class="s-award-bling s-award-bling__bronze" title="11 bronze badges">11</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-27842280"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/27842280/hinding-js-in-viewsource-is-not-working" class="question-hyperlink">Hinding Js in Viewsource is not working</a></h3> <div class="excerpt">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); …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 08 '15 at 14:18">asked Jan 08 '15 at 14:18</time> <a href="../../users/2818060/user2818060" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2818060.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user2818060" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/2818060/user2818060" class="s-user-card--link">user2818060</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">795</li> <li class="s-award-bling s-award-bling__gold" title="2 gold badges">2</li> <li class="s-award-bling s-award-bling__silver" title="16 silver badges">16</li> <li class="s-award-bling s-award-bling__bronze" title="40 bronze badges">40</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-26252212"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/26252212/how-to-make-the-angularjs-content-visible-in-viewsource" class="question-hyperlink">How to make the AngularJs content Visible in Viewsource</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/angularjs" class="post-tag grid--cell" title="show questions tagged 'angularjs'" rel="tag">angularjs</a> <a href="../../questions/tagged/view" class="post-tag grid--cell" title="show questions tagged 'view'" rel="tag">view</a> <a href="../../questions/tagged/client-side" class="post-tag grid--cell" title="show questions tagged 'client-side'" rel="tag">client-side</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 08 '14 at 08:19">asked Oct 08 '14 at 08:19</time> <a href="../../users/2838572/kesavan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2838572.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="KesaVan" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/2838572/kesavan" class="s-user-card--link">KesaVan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,023</li> <li class="s-award-bling s-award-bling__silver" title="15 silver badges">15</li> <li class="s-award-bling s-award-bling__bronze" title="30 bronze badges">30</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-24597733"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/24597733/is-it-possibly-to-automatically-indent-html-source-outputted-by-php" class="question-hyperlink">Is it possibly to automatically indent HTML source outputted by PHP?</a></h3> <div class="excerpt">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…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/php" class="post-tag grid--cell" title="show questions tagged 'php'" rel="tag">php</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/indentation" class="post-tag grid--cell" title="show questions tagged 'indentation'" rel="tag">indentation</a> <a href="../../questions/tagged/auto-indent" class="post-tag grid--cell" title="show questions tagged 'auto-indent'" rel="tag">auto-indent</a> <a href="../../questions/tagged/view-source" class="post-tag grid--cell" title="show questions tagged 'view-source'" rel="tag">view-source</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 06 '14 at 16:02">asked Jul 06 '14 at 16:02</time> <a href="../../users/1563422/danny-beckett" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1563422.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Danny Beckett" onerror="onImageLoadingError(this);" /> </a> <div class="s-user-card--info"> <a href="../../users/1563422/danny-beckett" class="s-user-card--link">Danny Beckett</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">18,294</li> <li class="s-award-bling s-award-bling__gold" title="21 gold badges">21</li> <li class="s-award-bling s-award-bling__silver" title="100 silver badges">100</li> <li class="s-award-bling s-award-bling__bronze" title="129 bronze badges">129</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-21012417"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/21012417/how-to-set-the-view-source-multiple-html-frames-in-single-viewsource" class="question-hyperlink">How to set the view source multiple html frames in single viewsource</a></h3> <div class="excerpt">I have three frames in single frameset html page. when i saw the view source of the page look like below <HTML> <HEAD> <TITLE>A simple frameset document
Ben10
  • 3,117
  • 2
  • 29
  • 57
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,120
  • 21
  • 68
  • 105
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
  • 589
  • 2
  • 6
  • 13