JavaScript is a programming language. Programming questions are off topic here; ask on Stack Overflow instead.

learn more… | top users | synonyms

1
vote
0answers
20 views

Firefox shows weird code when all tabs are closed

When I close the last tab by clicking on X on Firefox, it displays a long and weird JavaScript from http://s.ytimg.com/yts/jsbin/html5player-tr_TR-vflTXVVD8.js. Is this a bug? What does that code ...
0
votes
0answers
7 views

S5 controls and formatting seem to be messed up in org-mode 8 exported presentations

The new org-mode exporter uses ox-s5.el, which still has no documentation up at the Emacs Wiki. On the other hand, there is HELP link that appears in exported org files: Unfortunately, none of ...
-1
votes
0answers
12 views

Verify Trademarks automatically via API [on hold]

i'm totally dumb about Trademarks , my website allows users to register and verify their trademark if they have a registered trademark. What i would like is to check and verify the trademark ...
1
vote
1answer
24 views

Web browser | Disabling the download of arbitrary scripts

I use firefox. Is there an addon or setting to stop my browser from downloading all the scripts that are linked on a webpage? I would like to only follow links which are at domains in my whitelist. I ...
-1
votes
0answers
16 views

To save a website with PDF file automatically [closed]

i have to download 1000 PDF from website i use Document.ExecCommand its only save the text files but image or PDF files not save on local pl z help me to solve this here my code function saveIt(){ ...
0
votes
2answers
12 views

Does Adobe Dreamweaver support Javascript?

Thinking of subscribing to Adobe Creative Cloud. Does Adobe Dreamweaver support Javascript? Any help is greatly appreciated! Thanks
1
vote
1answer
57 views

In Google Chrome, how can I get rid of the big gray box that displays “The server refused the connection.”?

I got sick of blocking sites such as facebook.com and facebook.net per browser, and decided to add them to my /etc/hosts file so the sites would be blocked entirely: 0.0.0.0 facebook.com facebook.net ...
-1
votes
0answers
14 views

firefox change focus on new tab from URL bar

ive got a custom homepage and new tab page ive been working on, but i cant get it to focus on the searchbar in the page immidiately after opening. ive used JS to set the focus, but it doesnt seem to ...
0
votes
0answers
24 views

Why is /usr/share/gnome-shell/js missing?

I'm trying to debug a gnome-shell extension, but I don't seem the have the folder /usr/share/gnome-shell/js. I'm on fedora 20 with gnome 3.12. I couldn't find it when I had gnome 3.10 either. Were the ...
0
votes
0answers
17 views

Is it possible to debug javascript on iOS Safari using the desktop Web Inspector?

First, let me say that I know all about the iOS simulator, and have no problems using the Safari Web Inspector to debug javascript using Safari and the simulator. That works fine. My issue is that ...
1
vote
1answer
24 views

Mirroring a web site having pages that uses simple JavaScript

There are simple and great web site download tools that allow to create a local mirror of simple sites having no JavaScript infrastructure behind. However, sometimes there cases when a site looks ...
0
votes
0answers
15 views

Using nested functions in Javascript? [migrated]

My question is how can I get the parenting function. Do I need prototype for something like this? I am using Javascript functions as classes and I want to be able to destroy the class/function ...
0
votes
1answer
9 views

Remove Certain Debug Output in terminal window

I am using Putty to connect to a unix server that spits out lots of debug. What I want to do is replace the following debug for example Getting pQuality pPtrQuality=0x588b90, len *** ...
0
votes
0answers
14 views

Is it possible to view the source of a malicious pdf?

I am using osx mavericks. Avast alerted to a file that was in a hidden spotlight directory that had random-looking characters as a name with a .txt extension. It identified as a javascript trojan. I ...
-1
votes
0answers
15 views

JavaScript: Function to change images with onClick not working. [migrated]

I have 6 pictures of the lovely Serena Williams, I've been researching how to change the images every time I click on them. However the code is not working, please help me identify wether I've made a ...
0
votes
0answers
14 views

Chrome - block pages from getting info about you

I recently ran panopticlick in my Chrome and I really didn't like the result (my browser was unique between every 2 000 000 tested browsers). I saw that large part of unique bits (20.93) was made up ...
0
votes
1answer
322 views

Access-Control-Allow-Origin '*' not allowed/working with Apache2

I'm trying to connect to hood.ie via Javascript: hoodie = new Hoodie('http://xxx.com:6001'); But then get an error: A wildcard '*' cannot be used in the 'Access-Control-Allow-Origin' header when ...
1
vote
0answers
10 views

how to search JSFiddle code of interest? [migrated]

IS there a way to search among the community for JSFiddle specific code ? http://jsfiddle.net/ Fiddles that would have been tagged by categories for example.
0
votes
1answer
41 views

How to play video (mp4) fullscreen using html and javascript like youtube?

If you go to m.youtube.com from android using Chrome when you go to a video you see a preview (static image with play button overlay). As you click the image the video starts fullscreen. I wish to do ...
0
votes
1answer
18 views

Get DuckDuckGo non-Javascript version in Firefox search bar

I installed the DuckDuckGo AddOn that adds DuckDuckGo to the list of search engines in Firefox. This is the dropdown list in the upper right just to the left of the search bar that lets you pick which ...
0
votes
0answers
12 views

Javascript not working systemwide in Ubuntu 12

I am on Ubuntu 12, 32bit. Javascript seems to be enabled in all of the browsers' settings but it's not working in any browser. I checked about:config in both Chromium and Firefox. I'm not sure when ...
0
votes
0answers
43 views

how to enable inline javascript autocomplete in eclipse with aptana extension

Background I have Eclipse. I have installed the Aptana studio plugin for Eclipse. I am editing an HTML file. JavaScript auto-complete / content assist only works half of the time: Eclipse won't ...
0
votes
0answers
20 views

Invoke bat file from JavaScript file with parameters

What I need to do is to pass two parameters from HTML to a batch file. I am invoking a batch file from a JavaScript method inside HTML, and I am able to invoke the bat file, but I can't pass any ...
0
votes
0answers
16 views

How to add arXiv.org as search engine in Chrome?

I would like to be able to search the academic preprint server The arXiv from the Chrome omnibox. The actual search box I am trying to replicate can be found in the upper-right-hand corner of the ...
0
votes
1answer
41 views

Strange Javascript addition in Email address

recently I received an email from someone whose email address contained strange additions. Instead of Somebody <[email protected]>, it was Somebody ...
0
votes
0answers
8 views

Scripting Chrome from the command line to automate UI unit testing

Is it possible to do user-interface scripting with Chrome using Javascript? This will be for user interface unit testing. This is not just loading Javascript on the command line (discussed in this ...
0
votes
0answers
12 views

Interpreting Webpage (css, js) and saving it locally as HTML

I want to be able to take any complexe webpage with possibly a lot of modules and be able to save the interpreted javascript HTML file (the one we can browse with the 'Inspect Element' of any ...
0
votes
3answers
34 views

Javascript for a beginner, do I need it? [closed]

I did a short course at Uni that gave me a taste of ASP.NET and I want to develop it further, so I'm teaching myself from a book. Based on my studies; I only really know basic ASP.NET, decent-SQL, ...
2
votes
3answers
82 views

Use array to create string in DOS

This is a slightly different question from Populating Array in DOS Batch Script I'm trying to compile a JavaScript application using Google Closure Compiler. The list of JavaScript files has grown to ...
0
votes
0answers
12 views

How to re allow dialogue from a page in Chrome?

I had a page of mine that was stuck in a loop of prompts, so I had to choose the "prevent this page communicating" box to stop it (I didn't want to close the page or browser for a specific reason). ...
0
votes
0answers
31 views

Why does a script tag gets included after the <head> tag on some pages on Google Chrome?

Recently, while browsing using Google Chrome, adverts come into the page from the left side of the screen and from the bottom of the screen. I'm sure I didn't install any browser extension recently. I ...
0
votes
0answers
28 views

MAC OS X dynamic Proxy Auto Config file

I currently have a proxy auto config file setup for OS X 10.9. I can route particular subnets to different socksv5 proxies. What I am looking to be able to do is add/remove proxied subnets at will. ...
0
votes
1answer
44 views

Is there an option setting in about:config to let firefox always maximized at startup?

I want to let the firefox window always maxmized at startup,not full screen. But I don't want to use Javascript or something else to implement it. I want to know if there is a simple option setting in ...
3
votes
1answer
80 views

how can i STOP clipboard hijacking? [duplicate]

this is getting to be a real bugbear of mine, and from what i understand it's becoming more common. a few of you might have heard of tynt, a site that offers clipboard-hijacking services. with their ...
0
votes
0answers
51 views

Sublime Text 3 - Proper javascript intellisense?

I'm trying to find a plugin that will give me proper intellisense for JavaScript. My background for comparison and expectations are based on Visual Studio 2012 with Resharper. I have currently ...
1
vote
3answers
35 views

Downloading files from a site with javascript links

I sometimes find sites that post content (files) as javascript links. In cases where the links are posted with the traditional <a href="..."> construct, one can easily parse the HTML, find the ...
0
votes
1answer
9 views

Change Identical Code Strings in Multiple, Separate Files in One Command

How can I change strings of code in multiple HTML documents which are all identical to something else? If I have doc A and code , and is replicated in doc A, doc B, doc C, ..., then how can I get the ...
5
votes
1answer
220 views

Webkit browsers inconsistently load webpage images/resources

I've been having this issue for quite some time, where websites viewed through webkit-based browsers inconsistently load images. By inconsistent, I mean that on one trial run, an image, or several ...
2
votes
2answers
61 views

Using the firefox plug-in Down Them All is there a way to perform the dTa one click on a range of pages?

So I have a url: http://www.example.com/mp3?page=1. Which has a load of free mp3s to download on each page. But rather than: clicking dTa one click, then changing page to ...
0
votes
0answers
9 views

Generating ID#'s in GIS attribute table

In the attribute table within GIS, I have a certain column with ascending values, and I want to assign ID numbers (for easier readability and display) to a corresponding column. So for instance: Feet ...
1
vote
0answers
132 views

Unable to start Glass Fish 4.0 on time in Eclipse Juno [closed]

This is my Java Server Code. Just receiving message from client and echoing the message back. I am using WebSocket. package pack.exp; import javax.websocket.OnClose; import javax.websocket.OnError; ...
0
votes
1answer
149 views

How to Open/Close An HTML Select Using JavaScript in Internet Explorer, FireFox and Chrome

How to open an HTML select using the JavaScript that ... I - Have good aesthetics (preserves layout); II - Be compatible with Internet Explorer, FireFox and Chrome; III - Use the select itself; ...
2
votes
4answers
238 views

How can I copy text from a web page where it been has disabled?

I use FF27 with noscript, but solutions for Chrome are also welcome. I use online chat for customer support when available, and I'd like to keep the chat transcript in case of a dispute with the ...
1
vote
1answer
41 views

Conversion of delimited .Txt file into Excel file [duplicate]

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be ...
1
vote
1answer
28 views

Appending one file to the end of another

I know from guides like this that it's pretty easy to add a RAR archive to the end of a JPG. What I'm wanting to know is whether it's only JPG files that can handle extra data at the end, and whether ...
0
votes
2answers
1k views

Failed to load .js resource

Hello, using "Inspect the element" function on Google Crome browser, on almost every site I have the same error Failed to load resource http://content.magnipic.info/shopping/ppapp.js one of this ...
10
votes
3answers
287 views

How do I prevent “Read more: www.site.com” from being injected with non-Tynt JavaScript into copy-paste actions?

There are many sites that insert something like "Read more: www.site.com" into your clipboard when you copy text in your browser. I find this abominable. A google search reveals some methods to stop ...
0
votes
0answers
57 views

Internet Exlorer 11: javascript not working

in my Internet Explorer (11, and also 10 before i update trying to fix the problem) i can't get javasript working and also developer tools did not work either. Javascript is active in the Security ...
1
vote
0answers
24 views

How to capture from sites like github?

I'm using the below bookmarklet with org-protocol/emacsclient to journal webpages (whitespace added): javascript:location.href='org-protocol://capture://'+ ...
0
votes
0answers
24 views

hundred-tab friendly Mozilla w/ no continuous javascript

I often have hundreds of tabs open in many windows in Mozilla, and, after a while, it starts consuming significant amount of CPU for these dormant pages, and each new window and page takes a very long ...