Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

an application for retrieving information on the web.

0
votes
0answers
102 views

Why don't browsers protect against memory leaks from web pages scripts? [closed]

I just found & reported a memory leak issue on a website. When i tried to load the page, my system's RAM filled up entirely in about 5 seconds, after which the swap space began to fill up at a ...
-2
votes
2answers
96 views

The best way method to write an app that takes you to a web page that depends on the time in a browser app?

I'm not a software developer at all, but wondering if this would be a relatively simple project for creating an android shortcut. My parents like doing the guardian quick crossword: https://www....
0
votes
1answer
46 views

How do browser extensions interact with web apps?

I want to build a browser extension that can read/write from the database that is behind my web app. However, I don't really understand how that would work conceptually and what the best practices ...
-1
votes
1answer
48 views

How to secure my browser application against malicious requests?

I'm working on an application which can be added to third party websites. This means that this app runs in the browsers of the users of a third party and I don't have control over what runs in their ...
-1
votes
1answer
98 views

My browser extension modifies the DOM. How do I stop this from interfering with page scripts?

I'm writing a WebExtensions browser plugin that will modify the DOM of the current page when the user presses a button in the toolbar. More specifically, I need to insert HTML tags into the DOM. Even ...
0
votes
1answer
67 views

Using browsers to monitor changes in e-commerce pages

I've been looking at ways to monitor for changes in things like price and availability on e-commerce sites via visiting browsers, with three constraints: the sites often don't have much ongoing ...
1
vote
2answers
510 views

Microservices, browsers and HTTP requests

In the old days we used to create a single .gif file for the entire application to avoid too many trips from the browser to the server. Similarly, we used to combine different types of information in ...
6
votes
2answers
255 views

How to create a safe namespace for my application in JavaScript

I'm working on an application in the browser and I would like to make sure that my code does not conflict with code from other libraries or with possible calls added by browser manufacturers in the ...
0
votes
1answer
71 views

Extensible web application where users can upload client-side code

I have a simple web application built with Angular which fetches some state from a web server and shows it to the user. Additionally I want to implement a feature where users are able to customize the ...
-1
votes
1answer
1k views

Make browser allow secure cookie over http

Normally, browsers should not send cookies that have Secure option if connection is unsecured (i.e. http instead of https). Is there a configuration option or a plugin that would allow to change this ...
2
votes
1answer
226 views

How to write tests for browser automation script

I have a couple of scripts (two in Python, one in Java) that use Selenium to drive a browser and download files from a website. I need to do some major refactoring before I do a major expansion, so I ...
1
vote
3answers
110 views

How to debug javascript in browsers that don't have a console interface? [closed]

It's unbelievable but my company is still building web app on IE 6. Although the online dashboard for IE 6 is limited in functionality, I've found extremely difficult to debug anything on it. It's ...
0
votes
1answer
73 views

Protection against XSS using a tiny virtual-machine in browser

I'm working on a web framework that makes surveys. It has an expression manager which lets admin users run code on the client as Javascript. There could be a potential XSS problem when there's more ...
0
votes
1answer
105 views

How do browsers do CSS caching and why only .alert or .danger but not .alert.danger? [closed]

I read about BEM & OBCSS here and somewhere the author mentioned this: Decoupling selector will not only increase maintainability and scalability: it will speed up the rendering. Most web ...
3
votes
2answers
1k views

Is there anything wrong with putting comments in an HTML closing tag?

I often write comments like this <div id="wrapper"> ... </div> <!-- id="wrapper" --> But what if I wrote them like this? <div id="wrapper"> ... </div id="wrapper"> ...
-3
votes
1answer
1k views

How to customize Chromium browser from source code [closed]

Customizing Chromium includes fixing homepage, removing address bar, .etc. Is it possible to modify the source code or using some compiling options to achieve these goals?
0
votes
2answers
851 views

Dealing with date fields across browsers

I'm building a web application with multiple forms which all require date fields, and these fields need to be supported across IE, Chrome, and the like. Our application currently packages the output ...
1
vote
1answer
419 views

How does a browser remember the scroll state? [closed]

For example you are visiting a page and scrolled down half way through and then you refresh the page the browser remembers your scroll state and loads the page at exactly the same spot where you were ...
5
votes
3answers
26k views

How to open a desktop application through browser without a Java applet?

We run a cloud-based medical software, and a very important part of the program is bridging to an imaging software straight from our website, passing information through command line arguments. We ...
0
votes
1answer
760 views

Calling RESTful service from browser and handling 4xx class responses

I have a resource called Logins, and I invoke a GET via AJAX from the browser. The current behavior is to return a 404 when the specific login cannot be found. I'm using this to check whether a ...
1
vote
1answer
572 views

Browser game played in an iframe - security concerns

I'm not sure if this counts as an Information Security or Webmasters question rather than Programmers, however I'll see how we go. I've been prototyping a help website for a particular browser game, ...
3
votes
1answer
1k views

Why do browsers clamp timeouts and intervals?

I've been working on some abstractions of setTimeout and setInterval in order to process large sets of data without blocking the event loop in the browser. Upon this, I have discovered that browsers "...
0
votes
1answer
2k views

Could we drop support for Android native browser on our web site? [closed]

I work with an interactive web portal that has a few single-page apps and complex html structure. The aim is to support all browsers that our customers use. We have implemented responsive web design ...
0
votes
1answer
151 views

How does contenteditable work?

I recently came across an article where if you enter data:text/html,%20<html contenteditable> into the address bar of a browser that supports HTML5, you can type in the window. I managed to ...
6
votes
1answer
1k views

How do browsers paint a render tree to the screen?

I'm interested in building a browser-like rendering engine. I understand a bit about how OpenGL and GUI toolkits work. But how do browsers actually put pixels on the screen? Are they like software ...
3
votes
1answer
8k views

Better support for controlling printing options like headers and footers from Javascript [closed]

Why is it that browsers do not provide a mecanism to set the printing defaults regarding headers and footers from within the app? Web apps are fully fledged apps nowadays, and modern browsers are ...
58
votes
8answers
14k views

Client-side coding: How to prevent malicious use?

Over the last few years, the trend for client-side (browser) applications has really taken off. For my latest project, I have decided to try and move with the times and write a client-side ...
1
vote
2answers
249 views

How do I find the JavaScript that is invoked when I click on a button or a link in a web-page (part of a data mining project)?

I tried to use the 'inspect element' of the firebug addon for Firefox but it doesn't give me any link to the javascript. For example I got this from the firebug add-on: <a href="javascript:"> ...
1
vote
1answer
406 views

Why HTML select is not searchable by default?

I was wondering why the default select tag of HTML, for example: <select name="company_name"> <option value=""></option> <option value="1">Company 1</option> ...
1
vote
3answers
327 views

Is there a difference in resource allocation & efficiency between a web app and a compiled one? [closed]

I'm a web developer. I feel like I develop less resource-intensive functionality often times, because I have this feeling that if I ask too much of the web app (animation, calculation, connections, ...
0
votes
1answer
284 views

Browser security and payments

I've been finding a lot of blog posts claiming JS encryption is unsafe, here's a couple of detailed ones: http://www.matasano.com/articles/javascript-cryptography/ http://rdist.root.org/2010/11/29/...
2
votes
2answers
5k views

What kind of webservice can be called with just a browser url?

Can a webservice be written in such a way that it can be called via just a browser url? For eg. if the webservice is called GetStockQuote, then it should be callable by the following url on the ...
1
vote
1answer
156 views

How does user confirmation box work?

How does the client know to send request to server only when the confirmation box result is ok and stay on page if cancelled? Also, is this mechanism any different in ASP.Net and ASP.Net MVC? I want ...
1
vote
3answers
4k views

Are (mostly) client-side JavaScript web apps slower or less efficient?

I am in the midst of writing a web application for work. Everything is from scratch. I have been a PHP programmer for about 13 years, Node.js programmer for the past 2 years, and have no shortage of ...
2
votes
1answer
668 views

Automating tests in a browser not supported by selenium

I work on a company that have a payment system that runs under a executable kiosk instance of internet explorer 7. when the application is running the process name is not similar with iexplore.exe or ...
7
votes
3answers
23k views

Browser-based GUI for a python application [closed]

I want to create a web/browser-based GUI for a command-line python application. The goal is to make use of HTML/JS technologies to create this GUI. As the application itself, it needs to run on Linux ...
2
votes
1answer
563 views

How to gracefully handle unsupported browsers?

Recently I have started experimenting with some of the newer W3C specifications such as WebGL and the Web Audio API that are not yet widely supported in browsers. As I want my page to look ...
6
votes
1answer
9k views

When opening pdf's in browser, why is “inspect element” available and “view source” not?

When opening pdf's in Chrome and Firefox, the "view source" button is greyed out. "Inspect elemet," however, reveals HTML. Are the browsers simply downloading the file and generating html to display ...
6
votes
2answers
264 views

Why are different components of the “web platform” not modularized?

The web platform is hip these days. But the web platform consists of many parts that are conceptually separable, developed at different times and paces, and (most important to me) could be useful on ...
5
votes
3answers
7k views

Browser as a rich client platform [closed]

In Java there is a notion of "rich client platform" - it's a framework for building desktop applications, provides common features like help browser, window layout management, etc. Prominent ...
1
vote
1answer
1k views

Handling a request to override browser behaviors (Back and Refresh)

I'm a new guy in this company and I've been tasked to research on possible workarounds with the browser behaviors to cater to the demands of our client. A little background; what they want is to ...
-1
votes
1answer
3k views

What does IE mean by saying “'console' is undefined”? [closed]

I like IE's persnicketiness (the debugging tools that take you right to your code is even more user-friendly than what I've found in F12 Chrome Dev Tools), but why does it say, "'console' is undefined"...
0
votes
2answers
13k views

Does IE have more strict Javascript parsing than Chrome?

This is not meant to start a religio-technical browser war - I still prefer Chrome, at least for now, but: Because of a perhaps Chrome-related problem with my web page (see https://code.google.com/p/...
1
vote
1answer
94 views

Un selectable content using CSS

I have found a website where the text is select protected. How can i make this without JavaScript. I think it is possible by using CSS. A set of paragraph is protected with non selectable contents. ...
3
votes
2answers
252 views

Building Websites: Fast Debugging Without a Browser

Is there a methodology to debug websites without a browser? Normally I use a web browser to view a results page. The slow debugging process confuses me a little. To correct an error I need to switch ...
3
votes
2answers
166 views

Can >8bit per channel colours be seen as intended in the browser?

For, say, a subtle background gradient to a web page, what are the advantages and disadvantages of saving it as a 16bit/channel png? Are the colours represented by >8bits displayed in the intended ...
6
votes
1answer
2k views

Implementing Digitally signed data in a Web Application

I understand PKI well from a conceptual point of view - i.e. private keys/public keys - the math behind them, use of hash & encryption to sign a certificate, Digital Signing of Transactions or ...
36
votes
5answers
21k views

How easy is it to hack JavaScript (in a browser)?

My question has to do with JavaScript security. Imagine an authentication system where you're using a JavaScript framework like Backbone or AngularJS, and you need secure endpoints. That's not a ...
4
votes
3answers
1k views

Javascript behavior depends only on browser or browser + OS?

Generally for a javascript application, compatibility is mentioned in terms of browser types and browser versions it supports. Frameworks/Libraries like ExtJs also mention about the browser versions ...
2
votes
2answers
1k views

Multi-Threaded JavaScript? [closed]

I know, I know -- it isn't possible presently but my question is this: Would it be possible to write a browser plug in for the major browsers that enables true, multi-threaded JavaScript? It just ...