Questions tagged [javascript]
JavaScript (not to be confused with Java) is a dynamic, weakly-typed language used for client-side as well as server-side scripting. Use this tag for questions regarding ECMAScript and its various dialects/implementations (excluding ActionScript and Google-Apps-Script). Unless another tag for a framework/library is also included, a pure JavaScript answer is expected.
192
questions
1
vote
1
answer
640
views
Recommendation using Client side performance monitoring (boomerang/jiffy/episodes)
There are a few Client-side JavaScript libraries that check web-site performance on the client side:
Jiffy (http://code.google.com/p/jiffy-web/)
Episodes (http://stevesouders.com/episodes/) by Steve ...
-1
votes
2
answers
540
views
Does anyone know a good free SHA1 hash generator? [closed]
Does anyone know a good free SHA1 hash generator? I am trying to has some info on the client side before post it back. I need a free SHA1 hash generator.
Thanks
5
votes
4
answers
9k
views
Is it secure to encrypt my POST variables to md5 before sending them?
I have a simple login form where a user enters their username and password. When php receives the vars via POST, it encrypts the password to md5, then compares it with the database records.
My ...
0
votes
2
answers
146
views
Lots of DNS lookup
Our internal application website that is hosted on a LAMP is very slow to load.
With firebug, we get this :
Most of those files are .js and everything is on the same domain. We can't find why there ...
0
votes
2
answers
4k
views
Getting Classic ASP to work in .js files under IIS 7
I am moving a clients classic asp webapp to a new IIS7 based server. The site contains some .js files which have javascript but also classic asp in <% %> tags which contains a bunch of conditional ...
0
votes
1
answer
360
views
RingoJS, Threading, Blocking, Load
What are the best practices regarding hosting a web application on RingoJS/Rhino? Seeing as it's single threaded, blocking calls such as long-running queries/file-uploads/web-services will mean that ...
0
votes
1
answer
955
views
Send commands between two computers over the internet
I wish to control my computer (and usb devices attached to the computer) at home with any computer that is connected to the internet. The computer at home must have a program installed that receives ...
0
votes
2
answers
109
views
WordPress 2.7: Creating Links on Posts Fail And Are Replaced by Javascript BS
Trying to get a blog in order. I am currently running WordPress 2.7. I would like to upgrade to 3.0.1 but am having a problem. For some reason, if I add links in the post using the link button, the ...
0
votes
1
answer
721
views
how to convert EXPECT file to executable file
I am trying to convert EXPECT script that is located in an ubuntu client to a .exe script so that I can execute the EXPECT file from web browser using javascript.
Can anyone guide me on how to ...
13
votes
3
answers
20k
views
Criteria for choosing a server to run Node.js
What criteria would I use to choose a server to run Node.js?
It seems like shared-hosting is a nonstarter since it's so new. Given how it works, what would I be looking at in terms of a production ...
1
vote
5
answers
2k
views
Hide javascript folder on server
I've noticed on some sites, when I go to eg. www.example.com/js where there javascript is stored, it is forbidden.
On my website currently, if users browse to www.mysite.com/js they will see all of ...
1
vote
1
answer
1k
views
Cross domain javascript form filling, reverse proxy
I need a javascript form filler that can bypass the 'same origin policy' most modern browsers implement.
I made a script that opens the desired website/form in a new browser. With the handler, ...
3
votes
3
answers
20k
views
IE8 script error 800704a6?
We have a user who suddenly started getting the following error when trying to open some web apps using window.open from within an embedded web browser in our software
The script uses javascript's ...
2
votes
3
answers
11k
views
JavaScript and CSS fail to load in some browsers over SSL
I have a website on which we have recently enabled SSL. In most browsers, this works fine: our scripts and stylesheets are imported using HTTPS and most browsers load pages successfully. However, in ...
0
votes
1
answer
171
views
IE 8 scripts stopped working all of a sudden
We use a .NET based web application for our daily transactions.
This web application uses java scripts and vb scripts extensively. We are able to connect to the site and authenticate. However the ...
0
votes
2
answers
96
views
IIS behaviour with JS files, transfer paused
This is a tough one, in all my years I've never seen it. The setup is windows 2003 r2, running IIS, MVC 1, asp.net 3.5. I have a website, which is viewable on the server itself and renders correctly. ...
1
vote
5
answers
273
views
how is it possible that a hacker could have inserted a piece of javascript code at the bottom of several of my pages
Somehow some javascript code got appended to the bottom of several of my index pages on my site. I know it's a trojan or iframe attack. However, I am wondering how is it even possible that someone ...
0
votes
1
answer
204
views
Ajaxterm with multiple users
With Ajaxterm (http://antony.lesuisse.org/software/ajaxterm/), is it safe to allow multiple users to access the same "instance" of it? The program that Ajaxterm would run would do its own ...
1
vote
2
answers
197
views
Load and performance testing for webapps with JavaScript support
Years ago I used OpenSTA to perform load and performance tests for web applications. I remember that it offered great recording possibilities which enabled us to quickly create new test scripts. ...
3
votes
4
answers
413
views
Has my site been attacked?
This is about an online store based on Drupal 5.
All of a sudden it didn't work anymore. Upon accessing the site, this error came up:
Parse error: syntax error, unexpected '<' in /home/...
0
votes
2
answers
976
views
JS Worm : how to find the entry point
my site is tagged as dangerous by Google / StopBadware.org, and I found this in severals js/html files :
<script type="text/javascript" src="http://oployau.fancountblogger.com:8080/Gigahertz.js"&...
2
votes
2
answers
1k
views
What technologies allow bidirectional streaming of video? [closed]
Wikipedia says that Flash allows "bidirectional streaming of audio and video". Is it possible to do that with other technologies (for example with JavaScript)?
In other words, I want to transfer ...
2
votes
1
answer
799
views
node.js ./configure warnings
I'm trying to install node.js and I get this list of warnings when I run ./configer. I don't know which libraries/packages I miss on my Debian installation (Linux 2.6.32.6 ppc GNU/Linux on a Bubba2 ...
0
votes
1
answer
266
views
JavaScript user tracking without sending data away
To be able to do detailed user tracking (JS interaction, not just link logs) while preserving privacy, I'm looking for something like Google Analytics that stores all the data locally.
2
votes
6
answers
323
views
What's the common cause for trojan downloaders on linux servers?
On several of the webservers i'm responsible for there's a javascript virus, a trojan downloader according to the antivirus i'm using. It's a minified javascript that's on the bottom of every page ...
3
votes
3
answers
5k
views
Apache: How can I serve JavaScript via PHP?
I want to serve my JavaScript files via a PHP script.
An example would be:
If I were to request a JavaScript file called dir/my_file.js
The server should redirect the request to a handler script ...
1
vote
2
answers
1k
views
Windows XP and IE8 javascript won't work even though Enable Active Scripting is enabled
I have a Windows XP machine on our LAN, origianlly running IE7 and now IE8, javascript won't work even though Enable Active Scripting is enabled. I've disabled the Anti-Virus with no luck. Other PCs ...
1
vote
3
answers
3k
views
Getting live traffic/visitor analytics when using a reverse proxy
I'm in process of implementing Varnish as a reverse proxy for a Ruby on Rails app and I'm using Google Analytics (JS/client side script to record visitor data) but it's several hours delayed so its ...
0
votes
1
answer
181
views
How do I remove a site from IIS7 using JavaScript?
I've been searching the Internet for a way to remove a site from IIS7 using JavaScript. I've found, and used, a lot of examples on how to create a site and applications using JavaScript but not a ...
0
votes
1
answer
210
views
IIS6 won't respond to a request for a JS file after accessing through subdomain
I have a site running of www.mysite.com for example.
There is a JS file I'm accessing: www.mysite.com/packages.js
The first and subsequent times that I acccess that packages.js file causes no ...
0
votes
2
answers
517
views
modrewrite for css / jss minified
I have a web site hosted in a CentOS 5-Plesk-Apache server. I have recently added a second site to the server for serve dynamic content. I have established rewrite rules for images (static content) ...
1
vote
4
answers
179
views
Did i install this Google analytics code correctly?
All,
I'm not sure what I'm doing wrong. I installed the code at the bottom of each page before the body tag but after 3 or 4 days the GA webpage is giving me no response ( just the yellow triangle)
...
0
votes
2
answers
1k
views
Gzip and Javascript Minification
I have a Rails app using the Rails javascript helpers to concat all the javascript together into a single file.
In addition my web server is serving this javascript file to the end users as gzip ...
1
vote
3
answers
6k
views
proxy script does not work when two networking cards are connected. How to fix this?
I have deployed a wpad.dat. Works like a charm except for some users that are connected to two networks at the same time (ethernet and another networkadapter that emulates an analog modem for fax). I ...
2
votes
4
answers
1k
views
How to avoid external Javascript problem hanging server?
I've been having a strange problem with externally linked Javascript libraries hanging my load balancer server running HAProxy. I recently integrated the Quantcast monitoring script, and it worked ...
1
vote
5
answers
2k
views
Javascript website monitor / test [closed]
I need to test order process on one of the websites. Problem is, website used JavaScript to make selections and few services I tried (site24x7.com being the best) don't seem to give me the results.
...
0
votes
3
answers
2k
views
Squid slow on pages with heavy javascript
We have just started using more javascript in the web interface of an internal application(php if it matters). Now that the changes are in place it is becoming very obvious that the more javascript on ...
6
votes
6
answers
17k
views
Javascript Errors only on Production Server?
I am in the process of releasing a couple of asp.net websites from development to production. Everything seems to be working fine in development, but upon the release to production we get a number of ...
3
votes
2
answers
11k
views
HTTP gzip compression not working for css or javascript in tomcat 6
Connector settings:
<Connector ...
compression="2048"
noCompressionUserAgents="gozilla, traviata"
compressionMimeType="text/html,text/xml,text/plain,text/css,text/javascript"/>
This seems to ...
0
votes
1
answer
94
views
Clientside Javascript --> Serverside Java --> user is served a .doc
I am helping someone out with a javascript-based web app (even though I know next to nothing about web development) and we are unsure about the best way to implement a feature we'd like to have.
...
2
votes
2
answers
3k
views
Is there a workaround for using the Virtual Server 2005 Administration Website with Internet Explorer 8?
Since upgrading to Internet Explorer 8 I've been getting JavaScript errors when performing certain functions (like "Turn On") on the Virtual Server 2005 Enterprise R2 SP1 Administration Website:
...
0
votes
1
answer
233
views
SP3 installed, vs. SP3 slipstreamed, difference in default security settings?
A Lotus Notes installation, Domino 7x, which ends up trying to start a IBM SameTime 7.5.1 chat client, fails on some machines.
Specifically, it fails on Windows XP machines that have SP3 slipstreamed,...