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

learn more… | top users | synonyms

0
votes
0answers
5 views

How to capture menu click (drawer) on MDL?

I'm trying to capture the click event on the menu link (before opening left drawer). I already tryed with $('div.mdl-layout__drawer-button').on('click',function(){}); but is not working. Any ideas?
1
vote
0answers
9 views

Javascript formatting like this

I want to implement code formatting like this but don't know how to do this or how this is achieved. var inherits = require('inherits'), stream = require('stream'), Stream = ...
0
votes
0answers
6 views

JavaScript — Unity Changing Button Font Size via Script [migrated]

Hello dear forum friends ! I have been working on a game recently and It's going very good. Today I started working on the menu and I created a button, but there is one problem, I have no idea how to ...
14
votes
1answer
4k views

How to enable inline JavaScript autocomplete in Eclipse IDE with the Aptana extension

Background I have Eclipse IDE. 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

How do I use select/option with menu to change screen elements? [on hold]

I'm using Microsoft Access. I'm able to (using Dreamweaver CS5) populate a select/option properly. Once selected I want to further populate other display items: once "John Smith" is selected I want to ...
0
votes
0answers
11 views

Automatically Running a Script On a Server?

Background I have a few javascript scripts that I'd like to automatically run at a certain time on a server (e.g. I'm thinking of using Heroku). These scripts essentially add a product of my choice ...
-4
votes
0answers
17 views

How to become a Node JS(MEAN) developer [closed]

I am a UI developer(HTML,CSS,Javascript).. I want to become a Node JS developer(MEAN) and have some knowledge in Node js and Angular js. So I can convert the HTML templates into Node js ...
0
votes
1answer
20 views

How to run a js file from windows terminal?

In order to have the measurements displayed of a photocell linked to an Arduino on the terminal, Iam trying to execute a node.js server. It's from a tutorial made by Adil Moujahid I tried to follow ...
4
votes
1answer
145 views

How to prevent Fingerprinting via Font Enumeration

I don't mean using Noscript or just not installing fonts, I'm trying to find a way of outright denying Flash, Java, and JavaScript the ability to look at my fonts. I've checked the fonts folder and it ...
-1
votes
1answer
13 views

Unity 2D Top Down Shooting [closed]

Recently I had an idea to create a game for me and my friend to have fund playing multiplayer. I started making it but I can't get the shooting right. So can anyone tell me how to instantiate the ...
6
votes
4answers
13k views

Is there a way to disable a specific JS script from a specific website?

I want to disable a specific JS script from a specific website without disabling the javascript completely. Is there a way to do that ?
0
votes
0answers
8 views

Adjust container height in jQuery jsslider plugin

How to adjust the height of JSSlider container ? http://bastiaanjacobs.nl/2014/04/09/sharepoint-2013-rest-slideshow/ http://slidesjs.com play: { active: true,`auto: true,`interval: 5000,swap: true ...
0
votes
0answers
14 views

Enable JavaScript in Toshiba Printer's embedded browser

I am trying to set up my Toshiba e-Studio 287 printer to be able to upload its scans to Dropbox. The easiest way I have been able to find so far is to use the embedded browser to go to the Dropbox ...
1
vote
3answers
2k views

Is there a way to run Javascript without a browser, like a shell or batch script?

Is there a way one could run Javascript the way Python, Bash, Windows Batch or other scripting languages are run? File access and other library functions would be nice but are not required - I'm just ...
-1
votes
0answers
13 views

Why is browser support for Level 3 `attr()` so low? [closed]

I don't think anyone disagrees that it is useful and it would benefit several exceedingly popular web styles right now (e.g., Angular). We finally have calc() and attr() from 2.1 which works with ...
0
votes
1answer
6k views

How to correctly use javascript:alert(document.lastModified); to check a website last update?

I read many webpages. They said that I could use javascript:alert(document.lastModified); to find the last update of a site. I test at least 10 websites. Only the website that I made gives me the ...
4
votes
2answers
7k views

How to close large Javascript Alert windows on Chrome/ OSX

I'm using Chrome 14 and OSX 10.5.8. If a website generates a Javascript alert window with a lot of content (like debug information) the bottom of the window disappears off the screen. This places ...
1
vote
1answer
530 views

Does javascript have access to my bookmarks and history?

I'm using RefControl addon for firefox, to avoid sending the referer in the headers. But now I'm wondering if the previous page or even my full history can be viewed by websites with javascript. And ...
10
votes
4answers
6k views

Use AdBlock without being detected

Upon visiting a site today I was rewarded with Comic Sans. Behold it's glory: Source Needless to say I can finally understand why so many people loathe this font. However, this does bring up a ...
0
votes
0answers
24 views

How to install Alsa sound in android [closed]

I have Console OS running on a lenovo g-50 laptop and it works great all except there is no sound. I found out that alsa mixer is not installed and I tried the alsa app on google play but it has the ...
-1
votes
0answers
11 views

Why is this JS file being executed but not being loaded in the sources tab of the chrome inspector?

The error the arrow on the right is pointing to is causing the page to halt loading. It occurs very rarely and I've only ever seen it happen three times in hundreds of page loads. I refreshed the ...
-2
votes
0answers
28 views

Does web browser JavaScript performance matter for end-users?

Modern web browsers have emphasised their JavaScript performance for many years. However, I don't see much reason what this has to do with web browsers: For typical end-user use of Javascript, which ...
3
votes
1answer
3k 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 ...
13
votes
5answers
8k views

How to make Firefox always stop a script when it's not responding

On some pages I get the "Script not responding" error with an option to stop it and a checkbox to never ask again. Later I get the same question again, with that pointless checkbox. How do I make ...
0
votes
0answers
10 views

How do I add all my Amazon Kindle purchases to Goodreads? [migrated]

My ultimate goal is to export a list of my Kindle purchase history. It doesn't look like that is possible on Amazon's site. Amazon has an integration with Goodreads and Goodreads allows you to export ...
2
votes
1answer
5k views

Why doesn't Javascript work in Internet Explorer?

I'm trying to use Internet Explorer to test a website, but scripts don't seem to be running. This seems like it's an issue on a lot of pages - for example, I tried going to the Acid3 page, and it said ...
0
votes
0answers
14 views

Setting up Visual Studio IDE linting and indentation like it's Atom IDE

for job requirements i have to use Visual Studio Community, the problem is that i always use Atom from github as IDE. I have Atom linters plugins installed: eslint, jscslint Then after installing ...
7
votes
1answer
660 views

<noscript> is triggered for no reason in Chrome

I think I found a bug in Chrome, and I kind of have no idea where to post but it may as well be a misconfiguration on my part or something. Here is the issue. I'll include a screenshot which should ...
2
votes
2answers
4k views

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

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

How to get complete page back in Google Chrome

I was working on a js fiddle and got carried away. I did not think to save and then I hit the reload instead of run, and now I lost a bunch of work. Is there any way to get the cache back? All I need ...
0
votes
0answers
15 views

How can I call up responses from a button? HTML & Javascript

I am trying to figure out how to how to call back which button a person pressed without using my inefficient method of multiple functions. The code is below. I tested it out and this works for what ...
0
votes
1answer
1k views

What are some ways to use my browser, Chrome, as a JavaScript interpreter?

I use an online interpreter. It's just right up there on my favorite's bar. Very convenient for me.... I'd like to see the error messages my browser will give me rather than the messages the ...
0
votes
0answers
29 views

How to prevent these sudden ugly popups in Chrome? [duplicate]

How do I stop those ugly in-your-face popups in html5 from showing? (Most ask for sign up to their newsletters) I installed Pop-up Blocker which seemed to work for most sites but did not for ...
0
votes
0answers
744 views

eps ai to png adobe illustrator js script, how to make it look in sub folders?

I found this script online which allows you to batch convert .ai or .eps to png however it only works on one folder at a time, could someone help/tell me what to adjust to make it work on subfolders? ...
21
votes
4answers
3k 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
1answer
2k views

Hack for running multiple iMacros in random fashion

I have 20 iMacros (for browser) and they are specific to different URLs. I run these macros one after another, and then repeat or loop all of them 10 times. But within that loop, i need those 20 ...
0
votes
0answers
19 views

How can i download all js files from website with folders structrure

I have webapplication build in ExtJS javascript library. IN the firebug i can see all js files which the site uses with paths. I think some js files are dynamically pulled based on click. But when i ...
1
vote
4answers
7k views

Block “document.location” Javascript redirect on one page

I have a site where I want to prevent the page from reloading using a document.location in a script tag. How can I do this in Firefox?
1
vote
3answers
24 views

Why can't I identify the elements on the history page in Chrome?

The first element in the chrome history is a checkbox whose id is checkbox-0 But I can't see it from the console. I can't see any checkboxes from the console. and see this pic The elements ...
10
votes
2answers
4k views

How to prevent JavaScript alerts that fire when leaving a page?

Lots of pages have alerts when you leave them: if you close tabs, navigate away without saving, etc, there are numerous reasons why a site would alert/block you from leaving until you confirm an ...
1
vote
0answers
15 views

Disabling fancy animations for heavyweight websites

I am currently using a low end laptop with the Chrome browser and sometimes I stumble upon a heavyweight website that I want to visit. (for example: http://www.recalbox.com/). Chrome on my laptop ...
0
votes
0answers
16 views

Chrome Extension to record user events in a webpage?

Is there any Google Chrome Extensions that record the user doing events and display as a template of what are the events occurred in the page. For example , if a user goes through certain links by ...
0
votes
1answer
28 views

Multiple redirects on lighttpd

I have a request to redirect multiple individual URLs to new individual URLs. This is the situation: **Old URL --> New URL** old.domain.org/ --> ...
0
votes
0answers
29 views

View local webpage using Powerpoint's LiveWeb add-in

I realize this exact question was asked here, but I haven't had any luck viewing my particular webpage within Powerpoint with the LiveWeb add-in. I recall reading somewhere to enter the local file as ...
15
votes
4answers
6k views

How to hide Browser Plugin Details in firefox for more privacy?

I'm trying to trick the results in this page to have more privacy/anonymity: https://panopticlick.eff.org/index.php?action=log&js=yes So far the best I could do is change the user agent, with the ...
19
votes
2answers
7k views

Javascript trick? How does scribd make it difficult to even copy & paste text

Lately, I have seen that scribd makes it very difficult for users (free users) to browse through a document hosted on their site. There is no ability to search within a document, let alone being able ...
2
votes
2answers
3k views

How to get IE to open JavaScript as text

I am running IE 9. Up until last week sometime, if I would put the URL of a JavaScript file in the address bar, it would show the JavaScript as text in the browser window. Now when I do that, it wants ...
0
votes
0answers
60 views

keep on screen soft keyboard visible in chrome on surface pro 3 windows 10

I have a web app that I'm running in chrome - I want to keep the keyboard visible on screen at all times. I've selected "automatically show the touch keyboard in windowed apps when there's no keyboard ...
0
votes
0answers
96 views

CSS/Javascript Links Not Working in Chrome on Certain Websites (Vitacost, Kohls) on Windows 8.1 and Windows 10

I'm wondering if anyone can help me corroborate this issue. It's specific to Chrome (i.e. doesn't affect Internet Explorer), and transcends any particular version or recent release of Chrome stable ...
2
votes
1answer
200 views

How to search and highlight long passages in a PDF file?

I made several highlights on Kindle Touch to PDF files. Kindle saves the highlighted text in a separate file, not on the PDFs themselves. I have all the text of the passages I want highlighted, what I ...