Questions tagged [view-source]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
178 views

Is there a way to disable table row blur ( tr.blur ) from a 3rd party website using DOM editor?

Is it possible to diable tr.blur using DOM filters ? I tried using ublock origins extension. I could diable the whole row or entry but not the blur only. I want to know if it is possible from a ...
Good Boy's user avatar
0 votes
0 answers
30 views

can't implement the bundle on / root page in react js ssr

Im working on a react project. And i need to use Server-Side-Rendering for the project. when i am trying to implement ssr in my react js code, it renders the bundled code inside every page (for ...
GShukla's user avatar
0 votes
1 answer
141 views

Dynamic meta title not showing in view page source Angular 2+

Dynamic meta title not showing in view page source Angular Universal We have used the title service and meta service for each component. The tile aswellas the metadata is updated only on the element ...
jobi jose's user avatar
2 votes
0 answers
73 views

How to open the ViewSource of an URL directly in Java?

I programmed a simple button that allows the user to open a desired website. Desktop.getDesktop().browse(new URL(_urlString).toURI()); I want another button that allows the user to open the websites ...
TheStudent's user avatar
1 vote
1 answer
348 views

Get web elements as they shown through view source

Using this code below I get the href from a link element. Sting url List<WebElement> wElements = DriverFactory.getWebDriver().findElements(By.className("link-class")) if(...
Simos Sigma's user avatar
0 votes
1 answer
195 views

Browser's view-source: Can files be "downloaded" this way?

As you probably know, one can view the original response HTML code for any website URL by prefixing it with view-source: in the browser (e.g. view-source:https://www.google.de/). Now interestingly, ...
Remirror's user avatar
  • 692
0 votes
1 answer
148 views

How to fix view-source font problem in firefox

when i go to the any page view-source in Mozilla Firefox browser i have problem that you can see in screenshot... codes font in view-source of Mozilla Firefox browser are like that and that's where ...
Arcadio Alexander's user avatar
-1 votes
1 answer
319 views

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's user avatar
0 votes
0 answers
64 views

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 ...
QuesnelJ's user avatar
13 votes
1 answer
5k views

Chrome cannot auto wrap lines in view-source:// after update to v87.0.4280.67 [closed]

Before I updating chrome, when I go to view-source:// of Chrome, It'll auto wrap line(so there'is no horizontal scrollbar).But after I updating Chrome to v87.0.4280.67,It shows horizontal scrollbar ...
Finn's user avatar
  • 279
1 vote
0 answers
18 views

View Source & Google Chrome Extension Interaction [duplicate]

I currently have a Google Chrome extension that can read the dom of the page I am viewing, by accessing: document.documentElement.outerHTML I can then also get it to print elements of the dom to the ...
HarryShotta's user avatar
-1 votes
1 answer
1k views

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 ...
user avatar
0 votes
1 answer
827 views

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 ...
Smbat Poghosyan's user avatar
0 votes
1 answer
24 views

Can't echo code correctly. CSS dissapears

I want to make an email-signature page with Elementor and then generate the HTML-code like the code when you that appears when you "View Source" of a page, but code gets not exactly correct. I am ...
codesid's user avatar
  • 21
0 votes
1 answer
291 views

How to fix infinite loading of view-source after using Angular Universal?

I am currently trying to instaure Google Adsense on the website http://sightmess.com . It was made with Angular, that is why I used Angular Universal in order to display the HTML view-source and ...
Yx-h's user avatar
  • 29
0 votes
0 answers
80 views

IE11 Closes when attempting to view source or use F12

We have a set of users who cannot view source or use developer tools in IE11 on Windows 10. right clicking to view source closes the browser with no errors being displayed or found in event viewer. ...
Patrick McDermott's user avatar
0 votes
1 answer
140 views

Viewing the source code of a specific URI [closed]

I m trying to view the source code of this particular page in naaptol. but unfortunately its been redirected to failure or some other page. How can i stop this redirection and view the source code. ...
Sony Someya's user avatar
-2 votes
1 answer
955 views

How does angular inject component specific styles into <header> tag of the html? is there way to package css into files [closed]

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 ...
Jam's user avatar
  • 39
0 votes
1 answer
64 views

Page Source vs Inspect

I'm trying to convert YouTube videos to mp3 (for personal use) and for that, I'm using the following converter https://www.yt2mp3s.me The problem is that I cannot get generated download link as the ...
Petros Mosoyan's user avatar
0 votes
0 answers
133 views

Google Scripts - Retreive UrlFetchApp.fetch after javascript edited the page

I am trying to fetch a page (rotoql.com) using Google App Script's UrlFetchApp.fetch, but the rotoql.com is different in the 'Inspect Element' of a browser than it is in the 'View Source'. ...
Austin Kugler's user avatar
0 votes
0 answers
108 views

How to see final html when http requesting

I call a http request to get the html of a url. The same also happens, for example, when doing "view source" in Firefox. As you know, the html is different than the final html of the site as it is ...
Amos's user avatar
  • 1,321
15 votes
7 answers
3k views

Firefox VIEW SOURCE shows login page

I'm running Firefox 61.0 on Arch Linux. When viewing the source of a page, I frequently (but not always, estimated 20% of the time) see the source code of the login page when I'm browsing a website ...
user avatar
1 vote
1 answer
981 views

Viewing source of .txt file in browser shows HTML tags

When I "view source" (using cmd-I )of google.com/robots.txt in Safari, Chrome or Firefox on a Mac, I see: <html> <head></head> <body> <pre style="word-wrap: break-...
Andy Swift's user avatar
  • 2,199
2 votes
1 answer
1k views

How to hide an element from the source when it is hidden?

When using display: none you can still see the contents of the element in the source code. Is there a way to prevent this using JavaScript, PHP or some other approach?
Gitman's user avatar
  • 41
0 votes
0 answers
76 views

How to get full html sourcecode after page dynamically loaded

I need to save my .php file as an .html for backup with using PHP whenever page called (I am going to use ob_start() for it). But the page content is not static. I am using AJAX to load the content. ...
gimmeonereason's user avatar
3 votes
0 answers
28 views

Different source files in Google and Facebook

I see different source files when I view source on browser versus checking on Facebook debugger tool. Many tags are missing in the latter to be precise. Sample urls: View source: view-source:https://...
Sandeep C's user avatar
  • 291
0 votes
1 answer
228 views

Node.js View Source Breaks Filesystem Module

I am trying to create a web server in node.js, but I have run into a weird problem. The server responds correctly to a request to view the page, but when I view the page source on some browsers, the ...
dthusian's user avatar
  • 378
0 votes
1 answer
70 views

ViewController or ViewSource?

I have an iOS app where two of my Tabs are following a same View with just a bit of change in the logic.Rather than that everything else is the same. But now the problem is occurring when i Rotate the ...
UserID0908's user avatar
0 votes
0 answers
430 views

Angular Universal + Https - Home page view-source

I have strange problem with Angular 5 + Angular Universal + Https protocal. I can check view-source in browser on every page except home page with /:lang route. I did AuthGuard for home page like that ...
Patryk Panek's user avatar
1 vote
1 answer
49 views

How to execute content script in view-scource scheme?

I want to excecute content script in view-scource scheme. As in the content script match patter they didn't specified it. Anyone know how to do that?
janaravi's user avatar
  • 106
0 votes
0 answers
110 views

How to show a file download link in my website if the visitor is logged in with Firebase authentication?

How to show a file download link in my website if the visitor is logged in with Firebase authentication? I can use the JavaScript if (user) for checking if the user is signed in. But if I use if (...
user8984670's user avatar
1 vote
0 answers
550 views

Does the URI scheme "View Source" cause the browser to load the content of the page?

Would the URI Scheme "View source" cause the content of a page to be loaded by the browser? For example, typing in the address bar of Chrome view-source:https://www.google.com would show you the ...
user92592's user avatar
  • 233
0 votes
1 answer
225 views

Why doesn't select2 container show in view source?

Trying to understand how this "select2" Jquery plugin works. I know it hides the regular select element and add it's own elements to provide some kind of a dropdown with search experience and when ...
Nori's user avatar
  • 121
0 votes
1 answer
431 views

get whole html source of webpage with c# or get data of jquery code with c#

Accourding to this reply we can just see HTML codes which was sent by server to browser. The "View Source" only shows the source the server sent at the time the browser requested the particular ...
Sajjad.HS's user avatar
  • 379
3 votes
2 answers
91 views

Why are the checkboxes on my Webform invisible to the Control loop code?

NOTE: This is related to previous questions here and here, but I think I've narrowed it down to a clearer understanding of what the problem is. I have manually added a Checkbox to a Webforms app, and ...
B. Clay Shannon-B. Crow Raven's user avatar
0 votes
2 answers
1k views

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 ...
Haisam Hameed's user avatar
1 vote
1 answer
358 views

Windows 10 bootmgr Help: viewing the source code

I am in a process of learning things in reverse order for fun, and I have decided to dissect Windows 10, bit-by-bit, and learn what makes a great OS function. And I also suppose that my question will ...
Orion Wilson's user avatar
0 votes
1 answer
54 views

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("<!-- Made it just before INSERT INTO CustomerCategoryLog -->") Dim query As String = ...
B. Clay Shannon-B. Crow Raven's user avatar
8 votes
2 answers
139 views

Why is my debug msg not being written into my page?

I've got some debug msgs (written via Response.Write()) that I can see when I do a "View Source" like so (within VB code): currentYear = Year(Now) SQLString = "Select NewBiz from MasterUnitsprojSales ...
B. Clay Shannon-B. Crow Raven's user avatar
3 votes
2 answers
4k views

Add option to view source of current HTML page

I'm trying to add a link or button to my site where the user can see the source of the current page. No luck when tried the following: <a href="view-source:http://www.example.com" target="_blank"...
Moe E.'s user avatar
  • 41
4 votes
2 answers
1k views

Why does View Source issue a new HTTP request?

I've noticed that both Firefox and Chrome issue a new HTTP request when you view the source for a web page that you've already loaded. It's particularly annoying when the page itself is slow to load ...
softvar's user avatar
  • 18.1k
-2 votes
4 answers
3k views

How do i hide my wordpress site page source like (bczcentral.com)?

Can i hide my wordpress blog site's page source like this? I have to ask this question because there are many plugins which can disable page source and right-click. but after typing manually "view-...
GDhaduk's user avatar
  • 45
2 votes
1 answer
79 views

How to Hide The Source

Okay, I am not sure if this question belongs here. Either way, I am interested to know how to show one source on Developer ➛ Page Source (Firefox) and totally another when CTRL+A on the page ➛ ...
user avatar
1 vote
0 answers
71 views

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/...
bprend's user avatar
  • 15
0 votes
1 answer
105 views

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 ...
wadhwa94's user avatar
  • 153
3 votes
3 answers
3k views

on desktop, how to view the source code of the mobile version of a website

I have created a website that displays different source code depending on whether the user is using a desktop or mobile device. In Chrome on desktop, I can easily view the source code of the desktop ...
Leo Galleguillos's user avatar
0 votes
1 answer
168 views

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)...
dbconfession's user avatar
  • 1,167
1 vote
0 answers
236 views

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 ...
Naterade's user avatar
  • 2,645
1 vote
1 answer
969 views

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 ...
ddonahoe's user avatar
0 votes
3 answers
284 views

<div> is automatically replace with <span>

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 ...
farwa bukhari's user avatar