EzDevInfo.com

webpage interview questions

Top webpage frequently asked interview questions

What is about:blank for? [duplicate]

This question already has an answer here:

What is the page about:blank used for? I was just wondering why is it there. Is it an actual page or just built in? It seems to be completely empty except with the header and body.


Source: (StackOverflow)

Why do some web page URLs have no suffix?

For example the web page I'm on now is:

http://superuser.com/questions/ask

not:

http://superuser.com/questions/ask.html

http://superuser.com/questions/ask.php

I've noticed this for all kinds of sites. Do the developers just not bother putting suffixes on the files?


Source: (StackOverflow)

Advertisements

Select column from a table with Google Chrome

Is there an extension for Google Chrome that would allow me to select a column from a table on the webpage? For example when I want to copy text from just one column of a table.

You can select any row or column in Firefox by holding the Ctrl key, and I was wondering if a similar feature is available in Chrome.


Source: (StackOverflow)

Redirection sends me to the same page when I press "Back"

On some websites, when you hit the "Back" button, the browser attempts to go to the previous web page, but the current page opens up again. It happens even when the original page has finished loading. Hitting the "Back" button dozens of times doesn't prevent the behaviour, and I get "stuck" on that page.

What would explain this? It has happened to me on virtually every browser I've ever used.


Source: (StackOverflow)

Create an RSS feed from any HTML page

Can someone recommend an HTML page scraper that can turn a webpage into an RSS feed?


Source: (StackOverflow)

Why does a webpage miss formatting sometimes?

Sometimes, a webpage gets loaded in the browser but it is not displayed properly. All the elements of the page are there, but they are not there where they should be.

for example (A,B and C are three elements of the page)

--------------------------
|       |       |       |
|   A   |   B   |   C   |
|       |       |       |
--------------------------

may be displayed as

---------
|       |
|   A   |
|       |
---------
|       |
|   B   |
|       |
---------
|       |
|   C   |
|       |
---------

that is, the formatting is missing. How does that happen?


Source: (StackOverflow)

How to turn webpages into pdf?

I mean saving them as a pdf and keep them as a backup for future reference or for future reading


Source: (StackOverflow)

Is it possible to save every webpage you visit?

Is it possible to save everypage you visit in a browser automatically? I do now want to rely on Cache as a huge cache will slow down the browser. A third party software or an add-on will be helpful.

I use Chrome browser, but any other browser which can help me in my requirement is okay.


Source: (StackOverflow)

Automatically switch between different web pages

I have a large LCD mounted on my wall at my work, and I would like to display some webpage with statistics on it, in a rotating manner - switch to a different webpage every few seconds.

I think that I can run a script to execute and kill the browser with a different webpage every few seconds, but it seems like a very inefficient process. Another idea was to switch the workspaces and keep every browser in a different one, but I don't know how to do that.

Do you know of any way of doing this under Ubuntu?


Source: (StackOverflow)

Capture large webpage screenshot in Chrome

The webpage is very large (a few MB). I tried these extensions and they all fail:

  • Screen Capture (by Google) - I get a new tab with no image in it
  • Pixlr Grabber - I get a "500" request error after pressing save
  • Capture Webpage Screenshot - Fireshot - telling me that the webpage is too big and it will be saved to RAM, after which I get an error: Insufficient video memory: You need at least -2365 MB of RAM (that's ridiculous, and I have I like 1 GB)
  • Webpage & WebCam Screenshot - I get no image
  • Awesome Screenshot - Capture & Annotate - It says capturing..., and when finishes it open a new tab with some buttons. When I press "done" it says preparing your image... forever.

Do you know any website screen capture tools that actually work?


Source: (StackOverflow)

How to enter tab symbol into web form? [duplicate]

This question already has an answer here:

The TAB button usually moves focus. Is there a way to enter TAB symbols into text fields of opened web pages?

For example here, on Stack Exchange?

Is it possible to enter the symbol from keyboard?


Source: (StackOverflow)

Google Chrome not loading web pages correctly unless multiple refreshes

Webpages in Google Chrome do not load correctly from time to time. I can't reproduce it, it just happens. Some times it happens when I load the browser other times it happens when I am just browsing.

Just now I went to five different web sites which 3 out of 5 of them did not load correctly. I have attached a photo of how Super User loaded the first time I loaded it. If I refreshed it it will load correctly. Facebook is bad like this. Some times Facebook will load correctly but some of there back end scripting may not load so the page may not refresh automatically.

Not sure what is going on. I have tried other browsers (Firefox and Internet Explorer) and they seem to be working correctly. Chrome seems to be acting up only on this computer. All my computers are running Windows 8 and I have removed Chrome completely off this computer and re-installed. I even disabled all extensions and cleared all the caches. I even tried running Chrome without being logged in. Not sure what else to do at this point.

Extensions being used:

  • Facebook Photo Zoom
  • Google Mail Checker
  • MightyText
  • Downloads

I have disabled all my extensions with no luck. I use all the extensions across all my computers and only one is having an issue.

An example of superuser.com not loading correctly:

superuser on chrome

When I refresh the problem will go away until it happens again. Sometimes it takes two or three refreshes in order for it to correctly load.

This is the updated with network detail.


Source: (StackOverflow)

After saving a web page, what does the code in "saved from url" mean?

Every time I save a web page from Google Chrome, there's something like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<!-- saved from url=(0038)http://en.wikipedia.org/wiki/Main_Page --> 
<html lang="en" dir="ltr" xmlns="http://www.w3.org/1999/xhtml" class="client-chrome client-chrome-1 client-webkit client-win"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
<title>Wikipedia, the free encyclopedia</title> 

There's a special comment:

<!-- saved from url=(0038)http://en.wikipedia.org/wiki/Main_Page -->

What does (0038) mean? In other cases, it can be something different like (0018). What is it?


Source: (StackOverflow)

Text in web page becomes encrypted when copied and pasted

When I try to copy and paste the text in the following web page to Notepad, the text becomes encrypted.

http://www.hurriyet.com.tr/yazarlar/17887201.asp?yazarid=249

  1. How does this happen? What is the trick behind that?
  2. Can this encryption be overwhelmed? If yes, how?

More Info:

I tried to paste in Notepad++, MS Word 2007, and in Firefox (in this very question box); got the following text (the same snippet @Matt Jenkins referred to in his answer):

Tuntnzkuecelhl3ak9i’djtbs2oe 4t2havd kicctd8slol4a3b6suk,iuwjcd Birbzow4ngönzy12al’dvgbvm4e 80ak5v8 ki0vgi2ulol2yajv4uk nd56f6basnskrbdma 3nwdb1düz3ojhteenel3452aklict9uzn ma8rostuyın06g53u bua86al4lunpnlbnwdu.33kig4 Şı4ol281rnaamhetrk’tct8mr6a aljkeposkei3wtderi 4eaw3ebirdbj3e5likgh2jj2 gebd3nfuçerorbo1fkenozaw8k, T320odzNT 3wa1eave 25at8lgüb63k8cureye5grtwle d4vernhaz3r1tt6ırlkhl2vyanıer8seup ymj3c61ol 3mocutkenvantlharı5zrugwna ps6y1rtuz4rkkooaklmtof93anaatvuuvn 2bvs0u20 kyf5v1filo586tb6luk98ndfu mavadwhayınvswyoj pa5wglpztlabiwcm3dı.


Source: (StackOverflow)

Take a screenshot of an entire webpage in Opera

Is there some tool within Opera, or possibly an add-on, which will let me take a screenshot of an entire web page? I usually use Screengrab to do this with Firefox, but in this situation I want a screenshot of the page as Opera renders it (because I want to show the page as rendered with HTML5 form controls like date and time).

I am currently using Opera 10.60 x86_64 on Fedora 12, so solutions that work in browser would be preferable rather than external programs.


Source: (StackOverflow)