browser

Using JavaScript or jQuery to track views of an actual HTML element (vs. just page loads)

My current project requires (if possible) tracking actual views of a JavaScript widget, so that we can compare/control this data against the total number of pageviews reported by our Analytics software (Clicky and/or Google Analytics). Basically, we're selling this widget to a client and want to be able to provide solid metrics to demon...

is it possible to parse text like XML in GWT ?

I know that browsers do support XML with DOM approach I have an application that uses GWT and it uploads file at the server, when the uploading completes, i need the server to respond back to the client with a Bean since this is a file upload, the response is handled by a servlet. I am able to read a string at the client by reading the...

Open Explorer window from Website

Hey guys, My company has a shared network folder for projects. This folder contains a sub-folder for each of our clients. Each sub-folder contains all the information for the projects done for those clients. Makes sense, yea? OK. I have been given a task: When in our company's MS CRM and viewing a client account, allow the user to cli...

Is there a way to force browsers to refresh/download images?

I have a problem where users are reporting that their images aren't being uploaded and the old ones are still there. On closer inspection the new images are there, they just have the same name as the old one. What I do on the upload is that I rename the images for SEO purposes. When they delete an image the old index becomes available an...

Is there a nice XSL stylesheet for client-side DocBook rendering?

I want the DocBook documents in my SVN repository to look nice if someone looks at them in a web browser. I've started to write a CSS stylesheet, but I think that it will have significant limitations -- particularly ones regarding hyperlinks. There is a large body of DocBook XSL stylesheets at the DocBook site , but they don't seem to ...

rails and jquery: script displayed instead of execution

Hello there, I'm having a little trouble using jQuery in Rails. I'd like to call the destroy method for a specific list item and then remove it from the list via ajax. My code is pretty simple: # _web_profile.html.erb - The partial containing the link to destroy: <%= link_to 'Remove', web_profile, :method => :delete, :class => 'remove...

JavaScript libraries to detect browser capabilities/plug-ins

I'm trying to find a (preferably open source) JS library to determine as much information as possible about the user's Web browser environment. I know it's possible to get such data as: Screen resolution, User-Agent, Accept-Language and other preferences usually sent in HTTP headers, Installed plug-ins (through navigator.plugins), Whet...

Local HTTP redirects in the browser

I want to hack my browser to redirect from one website to another when I type in a URL. For example: When I type "facebook.com" into my Firefox address bar, I want it to redirect to "lite.facebook.com" Are there configuration files in Firefox that allow me to do this? Almost like a local mod_rewrite? ...

Detect XHR error is really due to browser stop or click to new page

While my page is loading content via XHR, if the user clicks the stop button or clicks to go to another page, the XHR error() function is called. This wouldn't normally be a big deal except for the user shock of seeing lots of (red) error messages on the page. The messages are valid - there was indeed an error retrieving the content - b...

how to retrieve text from website text boxes

how can i retrieve text from a web sites text boxes in delphi for example suppose i type ''tiger'' in google's search box how do i retrieve text from that search box would wm_gettext or getwindowtext work? i am using delphi 7 ...

Text based browser game

I wanted to create a text based browser game, so how should I go about? I can do programming in asp or jsp or php that is not a barrier, but I am unaware of what steps that one needs to follow while attempting to make such games. So please guide me. please also recommend me a programming language for making the same. ...

DLLHook - GZip decompression of a string

I am injecting a dll into firefox (browser) and hooking WSARecv. The problem is, that the data-buffer is Gzip-compressed. I already tried hooking the send() function and removing the "Accept-Encoding: gzip,deflate", but many webservers won't understand this. So I tried to stick with decompressing the buffer, changing some stuff and comp...

HTTP Bad Request - Browser Hook

Hello, I am hooking firefox's send and WSARecv. Send should remove the gzip header (=> Accept-Encoding: none) and WSARecv hook shall edit the data. At the moment the WSARecv function doesn't change any data, but only prints it out for the debug log. Many sites work, but sometimes images do not get loaded or the page doesn't. I could f...

Embed browser in Java based desktop application

How can I embed a browser in a Java based desktop application? Can I communicate with the embedded browser directly (not via localhost)... such as loading html text, capturing onclick events, getting form values? Thanks ...

Detecting MouseMove events from a Browser control in SWT

I have a dialog with a SWT Browser in it. I want to be able to track the mouse coordinates as the mouse moves over the browser control, but it doesn't seem to work like other controls. Adding a mouse listener to the browser control has no effect and using Display.addFilter() detects mouse movements everywhere but over the browser contr...

How long until you adopt a new specification (like HTML 5, for example)?

When a new specification comes out (like HTML 5) it can be tempting to begin using its enhancements; however, how do you deal with the fact that not all browsers will be up to snuff with the latest and greatest specs? Surely, it's no fun having to code the same thing twice. While we can take advantage of things that degrade gracefully,...

Identifying the same user across multiple browsers/ISP connections

I run a film festival website which accepts ratings on films and I'm concerned with stopping people cheating the system (i.e. submitting multiple ratings to fix the top ten list). I've used techniques like IP address and browser stamp checking but I'm aware some people are trying to cheat the system by changing ISP connection or browse...

snapshot from browser with flash or javascript

Hi All, I saw a thread here suggesting using a HPA to take a browser screenshot, but I was wondering if you could help me. I would like to be able to select a part of a piece of a web page and render it as an image. I know flex can take images of its own canvas, but is it possible to take a picture of the rest of the page? I would like...

Browser Plugin Detection

Anyone know how to determine if a particular plugin is installed on a user's browser? The plugin in question is AlternaTIFF. ...

Scrolling & zooming SVG Viewer on Windows?

We need to view some very large (7200+ pixels) SVGs. Every SVG viewer I've found, including modern web browsers, does not allow us to view the entire image. There aren't any scrollbars, and we do not have the option to zoom. Is an open source / free application available that could help with viewing the entire SVG image? Thanks! ...