Is there any way to download source of website by using cmd?
I already tried curl and wget but thats allow me only to download main page.
What i want is get source of google site after searching something.
I mean url like that "https://www.google.com/search?source=hp&ei=YBg&q=hello&btnK=Szukaj+w+Google&oq=hello&gs_l=p"
Thank you in advance.
You're looking for the rendered DOM (not the source). Tools like curl and wget can get the source of a page (similar to what you'll see when you "View page source" in Chrome).
To get the rendered DOM, you'll need a headless browser that will execute JavaScript.
Here's a list of popular options: https://www.keycdn.com/blog/headless-browsers
Related
Why when changing the CSS in the dev tools only temporarily have effects and not after the page is reloaded.
Short answer: you have modified just a local copy. To learn how your browser works: Inside look at modern web browser
When you edit the website in developer console or inspect elements it will be saved until you reload the page
So I have my gatbsy blog with a link static. But when I click it says that gatsby can't find the page. Now I need to reload to actually get the static.html file.
Note that I'm using a simple a tag and not the gatsby-link. I'm not using pushState from history, so not sure how it actually does a soft load.
I want to open in the same page, not target _blank like the how has been "solved" here https://github.com/gatsbyjs/gatsby/issues/2928
Any suggestions on how to fix this?
Thanks
That should normally work. Perhaps you've installed https://www.gatsbyjs.org/packages/gatsby-plugin-catch-links/?=cstc which is catching the link and trying to resolve it within Gatsby?
My PHP Apache website starts to load a part of the content, then it seems to stop loading and then it appends the rest of the page.
I would like to know if there is any tool to find out what exactly is being load at the moment by my browser.
I prefer Firefox, but any browser works.
Following the advice of #Ehtesham, I am using Firebug for this purpose.
I didn't know that it had this functionality.
To download firebug for Firefox: Download Page
i am not sure..is there any chance to open my webpage in firefox. for example i am browsing mywebsite using IE. when ever i click link of the page then automatically it will open in firefox. this option is not for all pages only for specified page.
thanks.
If this were the case, ie6 would have gone out long ago. The best you can do here, would be to check which browser they are using (get_browser if you are using php) and refuse to show content to people using browsers other than firefox.
Instead you could redirect them to a page explaining why they need to be using firefox to access your websites services (I guess a link to the firefox download page would be nice too)
Sorry, it's not possible from plain HTML to open a webpage in a different browser. You can, at most, open the page in a new window of the same browser.
However, what you ask is not completely impossible. You could write a browser plugin that handles links and runs the Firefox executable
I would seriously hope this isn't possible.
What you ask for is not possible , but you could display a warning to your users that the page works best in the desired browser.
You know, like the "Compose Mail," "Inbox," "Sent Mail," etc., on the left hand-side when you load up GMail? I did a search for "Compose Mail" in the page source and got nothing.
The Gmail interface uses JavaScript to dynamically load a lot of stuff. That explains why you don't see "Compose Mail".
If you want to see how the final HTML document looks like, then here is my method:
Install the "Web developer" Firefox extension
Click Tools> Web Developer> View Source> View Generated Source
It's all Javascript. Here's how you can get at that information yourself: if you don't already use Firefox, download it, and then install the Firebug extension. Among other features, it'll let you click on any component of the page and show you the corresponding location in the source - not just the original page source, but the source after all the Javascript has taken effect.
Actually, if you use Internet Explorer, the IE Developer Toolbar (included in IE 8) does something similar, although I haven't used it much myself.