webpage

how to determine if webpage has been modified

hello, I have snapshots of multiple webpages taken at 2 times. What is a reliable method to determine which webpages have been modified? I can't rely on something like an RSS feed, and I need to ignore minor noise like date text. Ideally I am looking for a Python solution, but an intuitive algorithm would also be great. Thanks! ...

C# - Pass string to textbox in web page using the webbrowser control

Is there a way to take the value of a string and pass that to a textbox within a web page while using the webbrowser control? ...

Tool for Webpage UI design

Which is the best recommended tool for webpage UI design including Javascript/jQuery? ...

What happens when we refresh a web page?

I was hoping if anyone can answer a fundamental question that I have regarding refreshing of a web page. I have a dotnet webform where a user fills in some details and clicks submit. The code behind of the webpage has about 20 functions to perform. Now assuming, when the user clicks the submit button the web page is executing the 5th ...

JavaScript at bottom/top of web page?

I was just using the plugin "Yslow" for Mozilla Firefox and it told me that I should put JavaScript at the bottom. I have heard this before but haven't really thought about it too much. Is there really an advantage in putting JavaScript at the bottom of a web page compared to the top? ...

Extract a web document using c#

Hi I am trying to get data from a web page using c# So far this is my code: WebBrowser wb = new WebBrowser(); wb.Url = new Uri("http://www.microsoft.com"); HtmlDocument doc = wb.Document; MessageBox.Show(doc.ToString()); Unfortunately wb remains null and the Url property never gets set. Can anyone help me please? Thanks ...

Javascript Postback Event

I have a user control that is supposed to write a value to a hidden field every time the consuming page posts back. Is there any way to trap the postback event at the page level? Perhaps I can wire up an event so that I can run a function every time the page posts back. Thanks. ...

C# - Uncheck a checkbox in webpage through WebBrowser control

Is there a way to uncheck/check a checkbox within a webpage that is loaded within a webbrowser control? Thank you. Update: (This is what I originally tried with no luck) HtmlDocument rememberme = this.webBrowser1.Document; rememberme.GetElementById("remBox").SetAttribute("checked", "false"); ...

How to get the webpage source code using C#

ok. I know about the WebRequest and the WebResponse objects. The problem is that i do not really want to get the source code of the webpage, i only want to check to see if the link exists or not. The thing is, if i use the GetResponse method, it goes an pull the entire soource code of the site. i am creating a broken link checker wit...

iphone uiwebview download complete page with CSS and Images

Hello, in my app there's a uiwebview that loads a url.. i use the following line to save the HTML of the page loaded locally to be able to view it offline. NSString* html=[webView stringByEvaluatingJavaScriptFromString:@"document.getElementsByTagName('html')[0].innerHTML"] the problem is only the HTML of the document that gets saved, ...

a c# service that login any web page....

hi friends; I just want to do a service that automaticly login a web page in start up because our internet provider has a page and we enter our password to access the internet. it is frequently loged out (I couldn't understand why) I'm bored to rewrite pass many times in a day how can I do? thanks for answers... not: I know windows fo...

hyperlink in ruby on rails

This is something probably trivial but i can't quite find my way round it: How do i add a hyperlink from one ruby-file.html.erb to another please? ...

How to get the app store icon glass effect on a webpage?

Is there any simple way to display the icon for my iphone apps on my webpage the same way they look in the appstore (i.e. with the glass effect and preferably with reflection)? I have very little experience in web coding so some sample code that I could just copy and paste would be great if this is possible. Thanks for any help. ...

Changing the homepage from default.aspx to abc.aspx

i have designed my homepage of my webpage as abc.aspx not default.aspx . How can set the abc.aspx as homepage? ...

How can I print to a label printer from a web page

Hi I have an e-commerce web application and I'd some how like to make that print to a label printer for the back end stuff I have two questions 1) I can't print from a normal webpage straight to the printer (A zedbra LP2844 i think) it just throws out junk 2) I want to be able to print labels to the label printer, but all other print...

Pulling HTML from a Webpage in Java

I want to pull the entire HTML source code file from a website in Java (or Python or PHP if it is easier in those languages to display). I wish only to view the HTML and scan through it with a few methods- not edit or manipulate it in any way, and I really wish that I do not write it to a new file unless there is no other way. Are there ...

Is there a way to obtain the HTML of a web page using the .NET compact framework?

As the WebBrowser control does not expose a get accessor for the DocumentText property you cannot use it to obtain the HTML that was loaded into this control. Does anyone know a way to obtain the HTML as a string? I am using .NET CF3.5. ...

Web page installer - database deployment

I have the website written in PHP (Kohana) and MySQL. I want to create the installer which would run all the environment tests and, what is the most important (and the most misterious) for me, will deploy the database. What is more, I would like to choose the prefix of the tables in the database and specify the username and password for ...

Fetch webpage, get different results?

I'm trying to fetch this page (it's in Chinese, sorry for that): amazon(dot)cn/s?rh=n:663227051 using the following code: import java.io.BufferedReader; import java.io.FileWriter; import java.io.IOException; import java.io.InputStreamReader; import java.net.URL; import java.net.URLConnection; public class Application { public sta...

How to control screen-orientation for iPhone in web app

I have a very basic web page that uses flot to create a canvas based graph (similar to what SO uses for reputation graph). In the case of a PC display, it should simply output normally, with a the width (x-axis) being 1.6 times the height. But for iPhones, I would like it if, rather than having it overflow in "canvas" orientation, the ...