0
votes
0answers
5 views

Cookie value edited by Firebug or Edit This Cookie is trimmed when there is special charectors

For testing purpose, I edit cookie value with Firebug or Edit This Cookie manually. Currently I find out if the new value is within special characters, the string after that character will be trimmed. ...
0
votes
2answers
19 views

How to select a browser tab from another tab?

I want to select a browser tab from another tab. For example one of my web app is opened in a browser and I opened a link in another tab. Now I want to select my first tab using a shortcut key like ...
2
votes
1answer
39 views

Detecting a cancel in navigation with Javascript or jQuery

I was curious if there was a way to detect the user pressing the "stop navigation" button in the browser using javascript (or, even better, jQuery.) For example, if you click a link for a webpage that ...
0
votes
2answers
57 views

Is it possible to disable tooltips for links?

I don't have any title or alt tags set on my links so IE10 uses the href content for tooltips when I hover or click and hold a link. I've been looking around but I can't find any solutions for ...
0
votes
1answer
19 views

JavaScript is enabled in client browser in django or in python?

I am trying to find a solution to detect if clients brower has javascript enabled or not. Is there a way to check whether JavaScript is enabled in the client browser, in django if possible or in ...
1
vote
0answers
16 views

Navigating to Blacklisted URL's and Canceling Them

I need to write a Firefox extension that creates a blacklist and whitelist of URL's, and checks to make sure the user wants to navigate to them whenever the user attempts to do so. I'm doing this ...
0
votes
1answer
14 views

Is Javascript only NAT punch through possible?

I wanted to know if it was possible to implement a Javascript only NAT punch through app. It should be able to run in the browser. I am looking for a solution that would allow P2P connections with ...
0
votes
1answer
26 views

Javascript files getting corrupted automatically

A strange thing happening to my system, My JavaScript files are getting corrupted automatically. like this: ������������������������������������� I have never touched the file which are getting ...
0
votes
2answers
24 views

jQuery - JS - submit form in iframe and hide page animation loading

Ok my code is as follow: <body> <iframe> <script> $(function( { $('form).submit(); }); </script> <form> <input type="file" name="myfile"/> </form> ...
2
votes
1answer
68 views

How to close current browser tab? (vaadin)

JavaScript.getCurrent().execute("window.close();"); or UI.getCurrent().removeWindow(window); or window.close(); This code isn't working.
1
vote
3answers
34 views

Retrieve CSS from page without reloading it

I made a very big mistake today, and accidentally deleted the entire CSS page for my website. I think I may be sick. I do have one page that uses the CSS open from before I deleted it. Is there I way ...
4
votes
1answer
58 views

Trace the execution of ALL Javascript in a web app

Here is the situation: A complex web app is not working, and it is possible to produce undesired behavior consistently. The cause of the problem is not known. Proposal: Trace the execution paths of ...
0
votes
2answers
54 views

Javascript window.location.href - Refreshes page instead of redirecting

I'm using window.location.href to redirect my browser and I am not sure why one works and one doesn't. When I use a relative link, it refreshes the current page. When I use the full url it ...
0
votes
1answer
25 views

Can javascript get the SSID of the current WiFi connection?

I need to get the SSID of the currently connected WiFi Network (if it is wifi). Is this possible? I saw something on it here (http://www.w3.org/TR/system-info-api/#network), but I can't seem to get ...
2
votes
0answers
29 views

Save an image to a mobile phone gallery from a browser

So this seems unlikely purely from a security point of view, but I need to cover my bases. Has anyone come across a method for saving an image in a browser to the user's gallery? In this case, I'm ...
0
votes
2answers
84 views

Can we delete saved password programatically from firefox?

I want to delete saved Username/Password for a domain from the firefox. So is there anyway we can do it using JavaScript or ColdFusion.
0
votes
1answer
51 views

Run javascript function only for one time (first page load)

I'd like to run this javascript function only for one time (first page load). Is it possible? Thank you <div id="pag"> <script type="text/javascript"> var framekiller = true; ...
1
vote
1answer
21 views

Detect if user has enabled location services on domain

Is there a way to know if a user has already enabled location services for a domain in a web page script. This is for purpose of NOT showing a button "detect location" if the user has already pressed ...
1
vote
1answer
21 views

Using navigator.platform to detect os in browser

I'm trying to detect browser version on the client side using navigator.platform. I can't find a list of all the platform identifiers. I've looked at w3C, the MDN documentation, and googled it. (I ...
-4
votes
0answers
21 views

How to open more than two accounts in single browser [on hold]

can i open more than two accounts(e.g facebook) in a single browser? I know about the private browing in chrome but it allows only two accounts at a time. what if i wanted to open ten accounts at a ...
-1
votes
1answer
55 views

How to disable or hide the popup Exit fullscreen(F11) in chrome?

Every time the cursor touches the top a pop up appears in chrome "You have gone fullscreen Exit Fullscreen (F11)". Is there any way to disable it or just do something so that it wont show on the top?
0
votes
0answers
18 views

Are funny chars in hash keys browser safe?

As far as I can tell all chars that are legal in strings can be used in hash keys too, but does anyone know if this is the case in javascript in all major browsers too? I'm using the danish chars ...
0
votes
1answer
23 views

How to access performance object of every resource in a web page?

I can see, in Chrome Developer tools, loading time, time it took to get a particular resource from server and other info, for all of the resources in a webpage. I want to capture these stats using ...
1
vote
4answers
52 views

disable a javascript only in IE7

I got a scenario where I need a JavaScript to load in all browsers except IE7. Any help is greatly appreciated. I've tried the below code: <!--[if gt IE 7]> <script ...
0
votes
4answers
51 views

Android Webview Javascript click event not fireing as it should

Ive got a webpage with alot of diffrent setups of the DOM where click events are binded. But at some cases, the click events doesnt triggers. ive written all my events the same way: ...
0
votes
0answers
31 views

IE9 shows a second scroll bar inside the window frame

In my web application ,IE9 shows a second scroll bar inside the window frame, that is never used. Second scroll bar is coming only for the browser type IE9 with compatibility view. How should i fix ...
-3
votes
0answers
29 views

JS code works in IE but not in Firefox, Chrome or Safari

function GetMap() { //Geocode address entered in txtQuery box. var BingGeocodedAddress = document.getElementById('labelResults').innerText; var ...
0
votes
2answers
59 views

Best syntax for inline JavaScript [duplicate]

Is there any difference between <a href="javascript:void(0)">Link</a> <asp:Button ID="btn" runat="server" OnClientClick="return Function()" OnClick="btn_Click" Text="Button" /> ...
4
votes
5answers
116 views

Where to place $(document).ready(function()? [duplicate]

We often read here and there, that we must place our js code either on the page head section or before (sorry) the end body tag. Discussions about this aside, I'm just looking to know what are the ...
1
vote
3answers
53 views

Why no UDP connection via browser even with HTML5?

why we can not have udp connection between a browser and a server? Wht tcp connection is possible (web socket) but not udp?
0
votes
0answers
32 views

Javascript solution for notifying user that their browser is unsupported [closed]

We have a bespoke web application for which we only support (from a business perspective) a pre-defined list of browsers. Although the application, may function correctly, I need to provide users ...
2
votes
5answers
94 views

How can i hide the image path on hover using javascript or jquery

Any one who know the answer please give me the suggestion to do this. I am using mozilla firefox browser, When i hover the image i get the url path of where it is located(left bottom of the mozilla) ...
0
votes
1answer
42 views

Handling huge ajax response with javascript

I'm building a site that uses jQuery File Tree. Sometimes the AJAX response from the server is huge: 900 KB, 70000 'files' (I'm not really displaying files). Of course displaying this puts a lot of ...
1
vote
1answer
23 views

Searching and clearing LocalStorage

I know, localStorage supports up to 5MB only. In our application we are planning use localStorage (sessionStorage doesn't fits for our need, since we support multiple tabs). Currently there is only ...
0
votes
1answer
15 views

How do HTTP proxies deal with external JS files called from HTML markup?

With a HTTP proxy server, I understand that the request goes to the proxy, the proxy makes a new request to the target site, then copies the response and creates HTML markup to display to user ...
0
votes
1answer
41 views

What could be stopping AJAX from returning?

I'm trying to troubleshoot a problem on a client's machine for our website. We're using an ajax call to get information on a page to select additional parameters. Our callback function has a block ...
1
vote
1answer
27 views

Unusual behaviour when drawing lots of images onto a large canvas

In this javascript code, I download a bunch of links of images, and then draw them to a canvas in a grid theme. I get the number of links there are, and then set the width and height of the canvas ...
0
votes
0answers
22 views

Why does the Same Origin Policy apply to bookmarklets? [closed]

The same origin policy prevents Javascript in a given page from accessing DOM elements from another domain and making requests to another domain. While it makes sense as a security feature on web ...
-2
votes
1answer
25 views

How can I access Android libraries from a Web Application (browser)?

My issue is simple, I want to access a library from my browser, being in this case SensorManager. I've found that getting alpha, beta and gamma from deviceorientation event in the browser is not ...
0
votes
2answers
44 views

How to use jquery to attach an onchange (text change) event for a text box for IE?

I am looking for a way to bind a function to a text box that executes when the text of the text box changed. I want to avoid the use of keyup or keypress, and other similar things. I don't want it to ...
0
votes
2answers
30 views

Request system information on a web page

I need to get system information (OS system name, logged on user name etc.) about the machine where web browser is running. Is it possible using JavaScript or Flash? Silverligth, Java?
0
votes
0answers
38 views

Stop browsers from opening and viewing hyperlinked files [duplicate]

I'm writing a file uploading website and one quirk that I have run into is that browsers such as firefox and chrome open some hyperlinked files and view them (such as .doc, .jpg, .txt, etc) when they ...
-5
votes
6answers
37 views

Uncaught SyntaxError: Unexpected token ; [closed]

Uncaught SyntaxError: Unexpected token ; line 90 This would be line 90: $('area').on('click', function() ; Content type is set to charset=UTF-8. <script> ...
0
votes
2answers
99 views

Differences between fetching JS and PHP

First of all: I'm not talking about where each is executed, but what the differences in browser protocols is for fetching the script from the server (or so, I really have no clue). I'm seeing a very ...
1
vote
2answers
49 views

Print popup in JavaScript missing images

I want to open a new window/tab, put some HTML in the document, then bring up the browser print dialog to print that new window. I am using the following to accomplish this: var w = window.open(); ...
0
votes
1answer
57 views

Automatic scroll by browsers

Here is my code: jsFiddle var curSlot = 9; var numOfSlot = 10; function newDivs() { $("body").append("<div class = 'imgBox'></div>"); } for (var i = 0; i < numOfSlot; i++) { ...
0
votes
4answers
53 views

Is Javascript's Date object dependent on the user's browser?

I just realized that using Javascript's Date object to get the date may return different results depending on the user's browser/computer. Is this the case or does Javascript somehow always returns ...
2
votes
2answers
57 views

Why does PhantomJS not return the correct source?

I did a very small test: var page = require('webpage').create() , fs = require('fs'); page.open("http://www.google.it/search?q=web+design", function(status){ if (status === 'success') { ...
2
votes
1answer
48 views

Is there a way to replace the default image-not-loaded-yet browser icon? [duplicate]

(Note this does not refer broken images as therefore not a duplicate of previously asked questions). I'd like to find or build a IMG wrapper that first shows a default background image from the local ...
1
vote
2answers
85 views

How to automatically inject JavaScript into web pages such that its variables can be accessed from the developer console

I have a library of JavaScript functions that I want to be able to access from the developer console of a web browser. I want to be able to run my functions side-by-side with the functions and ...

1 2 3 4 5 50
15 30 50 per page