browser

Pinning jQuery Draggable Offset Position On Browser Resize & Zoom

I am working with jquery on dragging icons around on a webpage from threedubmedia.com's drag js script. This works by assigning the class="drag" to the images. The jquery looks like this: jQuery(function($){ $('.drag').drag(function( ev, dd ){ $( this ).css({ top: dd.offsetY, left: dd.offsetX }); }); The css l...

Communicating Browser Extension and external application

I'm trying to connect a browser extension (Firefox, Chrome, IE...) with an external application. Using a non-polling system to notify the messages between the components. I've already seen several approaches, but I'm not sure which ones are possible and which ones are the best. One solution could be trying to use a IPC (Os-dependant) s...

Send request to diff host from client browser

HI! for example i have site1.com Is it possible to send request from site1.com page witch loads in client browser, to other sites site2.com etc (i have no access to them) and parse result data? Is it possible to do it via javascript and how? ...

Blackberry browser back click

I am trying to go back back to the previous page after loading a browser but it takes three back clicks to do so. I tried overriding the back button click but it still takes three clicks. I used following code to load the browser: BrowserSession browserSession; browserSession = Browser.getDefaultSession(); try{ browserSession.displa...

C# Post to browser fails, any ideas?

This is a quick and dirty app that only needs to work for a short period. I'm not a developer so please don't hammer me. The following code in asp works fine (secret info replaced with example.com and abc 123). I know the below is very bad practice, but this is just for demonstration purpose: <form method="post" action="https://examp...

Performance implications for overriding CSS styles

I'm setting up an image cluster for a webpage (similar to sprite-map) for performance reasons. I have a utility that generates the master image, and css to reference the image map. For simplicity sake, I'd rather include the new css after the regular css file, instead of writing a script to search and replace all the classes in the orig...

Prefix of my domain is messing things up... How do I resolve this?

I am writing a Facebook app and for it to work properly, I need to set the Site URL inside the Application settings. The problem is that if I set my Site URL to be domain.com it works on my system and a bunch of systems that I tested it on. Some of my friends complain that it is not working on their system. When I looked at what the er...

How to debug Flash/Flex in two browsers?

Hi Flash experts! I have a Flex 4 application which connects to ASP.NET webservice based on FluorineFx. It is authenticated by cookies via RemoteObject.setCreadentials() Both applications connect to FMS server and talks to each other via RTMFP direct connection (P2P). I want to debug both instances of this application in Firefox and I...

website written in HTML using iWeb doesn't show up correctly in different browsers

I have a question regarding how to make the same website appear consistently in different browsers on different platforms. The following is a website that I made for my professor: http://youlab.wustl.edu/Home.html. The site itself was made using iWeb while the drop down menu was manually inserted using an external HTML code provider (So...

Getting URL from a child iframe

Is it 100% impossible to get the browser URL from the iframe html of an iframe that is loaded onto a separate domain? I tried javascript and it did not work. What language could I do this in? Thanks! UPDATE Thanks for the help! PHP does work. <?php if(isset($_SERVER['HTTP_REFERER'])) { echo $_SERVER['HTTP_REFERER']; }?> ...

A good "loading" function in combination with a picture upload utility (PHP + JS)

I have a classifieds website, and when posting a new ad, users may chose to upload pictures. Currently, the form on the page submits to itself whenever a file is chosen, and then PHP uploads the actual file, which is then lastly displayed to the user. I use javascript to set some hidden-inputs on the page, and then submit the form to i...

JavaScript: How can I check whether a file is cached?

My site loads a pretty large js file the first time a user visits, and I want to write something like "Loading .. for the first time" it the file isn't from cache. Is this possible in javascript? ...

Read html from temporary folder

Hello, After typing any URL in the browser, the HTML source code of that page is downloaded on our local machine's temporary folder. Browser is displayed that page from temporary folder. Is any way to access those URL from temporary folder while internet is disconnected? ...

Generate rsa keypair client-side (on the browser)

Hi! I need to know how to generate a rsa keypair on the cliente-side. My system has to send encrypted data through the server and I have to ensure that the server cannot decrypt the data. So the Private/Public keypair cannot be generated on the server-side. Any knowledge regarding this? Thank you! ...

How to access the Android browser settings via code

Is there a way to access and alter the settings of the standard Android browser programmatically? ...

The biggest misunderstanding of how css works?

I have been working with css for years and continually found everybody has a different opinion of how to use it to layout components, often people give up and resort to html tables (not that this is a good thing). So I pose the question; what is the biggest misunderstanding with how CSS works? ...

Possible to detect if a user has multiple tabs of your site open?

I'm just thinking about the whole site registration process. A user goes to your site, signs up, and then you tell him you've sent him an email and he needs to verify his email address. So he hits Ctrl+T, pops open a new tab, hits his Gmail fav button, doesn't read a word of your lengthy welcome email, but clicks the first link he sees...

JQuery will not exist in future?

Hello I was checking out HTML5 new javascript commands and there is something similar to: var els = document.querySelectorAll("ul li:nth-child(odd)"); This allows you to find all elements by css syntax. But I sure Jquery also has something a little similar to this. The question is, as browsers are getting better javascript APIs... ...

Under What Circumstances Would Javascript Performance be Worse in IE8 than IE7?

I work for a company that built interactive seating charts using Javascript. Here's an example: http://seatgeek.com/event/show/457624/miami-dolphins-at-new-york-jets-2010-12-12/. In many ways they mimic the functionality of Google Maps. We're dealing with an odd problem--performance for the maps is fine in all browsers except IE8. I'...

What are the information sent to the server in the http request

When a request is sent to the server from the browser for a web page what are the information sent to the server in the http request? Can we check those information?If yes how to do that? ...