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

learn more… | top users | synonyms

3
votes
6answers
13k 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
4k 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
21 views

How can I protect specific web pages from URL sharing? Temporary URLs?

This is a technical question which is based on implementing a special feature on an website. I know HTML and CSS, I know crude JavaScript (very basic) but I have no clue about PHP or other web-based ...
1
vote
1answer
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 ...
0
votes
1answer
5k 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 ...
0
votes
0answers
23 views

How to get the URL to the current search engine in Firefox?

To get the name of the current search engine, it's enough to read browser.search.defaultenginename. However, to get the URL to the search engine (for example https://duckduckgo.com/?q=), I have no ...
6
votes
4answers
5k views

What is Best-Deals-Products and is it malware?

I have found something that I suspects to be malware/addware. Script is added in every website I visit, even once I made myself. This is added in the : http://puu.sh/dgIF0/0c452eb390.png and iFrames ...
0
votes
0answers
42 views

How to block JavaScript floater/overlay popups? [duplicate]

I am trying to block this floater/overlay from the PopupTest suite in Firefox: I have installed and enabled AdblockPlus extension but it fails to block it. As a workaround I can completely disable ...
0
votes
2answers
28 views

Click Every Word that ends with “.log.gz” in Any Language Compatible with Google Chrome

I have looked up the answer to this already and cannot do this with the programming languages I know, so I'd like the code for this and an explanation as to how it works so I can use this in future ...
1
vote
0answers
40 views

Web Browser / slow computer - “Stop running this script?”

(Not my computer, a friend's who I will call Beth for ease of reading, so will provide what I can) Computer displays this pop up on start up. Computer is very slow, sometimes unresponsive: Things ...
2
votes
1answer
2k 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 ...
21
votes
3answers
2k views

How do I prevent pages I visit from overriding selected Firefox shortcut keys?

In Firefox, how can I prevent pages from overriding Firefox built-in keyboard shortcuts through Javascript on a per-key basis? Preferably on a per-site basis, too? The most frustrating override is the ...
0
votes
2answers
3k views

Disable “Prevent this page from creating additional dialogs” for certain websites as a user

Firefox has long had a feature to protect users from over-aggressive Javascript websites that would generate repeated pop-ups to trick or annoy visitors. Is there a way to disable this protection on ...
1
vote
1answer
217 views

How to toggle JavaScript on demand (Chrome browser)

In Chrome, I know how to manage exceptions by pointing my browser to chrome://settings/content so as to disable JavaScript on just a few sites. But there's this one site which was coded badly, and a ...
0
votes
0answers
15 views

Trying to view XSLT HTML page with JavaScript transformations

I have a web site that is not showing its content. This content is in XML format and with a XSLT presentation. There's some JavaScript to convert the code from the XML to HTML presentation. According ...
0
votes
3answers
90 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
vote
1answer
25 views

Convert javascript links in websites to regular HTML links?

Some websites like to use javascript links instead of regular HTML links, making it impossible to open such links in new browser tabs, for example "javascript:OpenLink(908)", instead of ...
0
votes
0answers
52 views

PHP site with JavaScripts is not working on Raspberry Pi (server) but works on other PC

I have a problem with a site that shows calendar, time, weather and RSS I found on the internet. I made an Apache server on my Raspberry Pi, then copied necessary files to /var/www and at first, the ...
-2
votes
1answer
2k views

Modifying website source code to bypass survey

Whenever you open websites like downloadsafe.org there is a pop-up that you have to fill a survey. Till the time you don't fill that survey out it keeps sending request back to a server that gives a ...
0
votes
1answer
36 views

Notepad++ variable name syntax highlight

How to add syntax highlight color to local function scope variable, and also block scope variable when using the let keyword, so I can clearly see local from global variables. JavaScript language ...
0
votes
1answer
37 views

How to make videos play more than 2x faster

Youtube has an option for playing videos 2x faster than usual, which I find extremely helpful for learning about various topics. But sometimes even then the video is moving too slow for my liking and ...
1
vote
2answers
86 views

Why do these characters appear when JavaScript is Disabled?

Anyone know why when JavaScript is disabled in firefox these characters show up? They replace images on the page. It isn't just a WordPress thing and they turn back into buttons when JavaScript is ...
-1
votes
1answer
1k views

Javascripted malware detected, how to delete?

Google Chrome welcomed me with the detection of malicious code. I was able to track down the code in the source (firebug), but I don't know how to find the .js scripts where the codes are located. It ...
0
votes
1answer
31 views

How can I export the javascript whitelist from Google Chrome?

For security reasons I have Javascript disable in Chrome and I use a whitelist of my "trusted" sites. So If I'm surfing the web and I visit a site that is trusted to me then I add it to that list. ...
21
votes
6answers
19k views

How do I set Google Chrome to not allow javascript to hijack my right click menu

I despise web sites that hijack my right mouse button via javascript. Other browsers ( like firefox) allow me to block sites from doing this. Does chrome have such an option, or does it leave me at ...
0
votes
2answers
72 views

How to highlight PHP, HTML & JavaScript at same time with Notepad++?

The file extension and language is PHP, and need to highlight HTML and JavaScript at the same time with the main language PHP in Notepad++ Example of code to highlight: <?php $form_name = ...
2
votes
0answers
385 views

Several website functions just no longer work in Firefox for me…but maybe there's a pattern?

This is really weird, because I don't recall making any large changes or messing around with about:config in Firefox. I was on FF 30 the whole time. The problems just emerged. Here's some example: ...
7
votes
3answers
1k views

How can I stop JavaScript from modifying the clipboard?

More and more I find that when I copy text from a news site, the site adds in its own advertising/footnote link to my clipboard, so that when I paste, the copied text is appended with something like: ...
0
votes
0answers
11 views

Vimperator and Firefox JavaScript Debugger dont allow javascript code to be interpreted

While using vimperator and having JavaScript Debugger on, if split view is toggled javascript code is not interpreted on enter, it add a new line. Actually I have no idea on how it is possible to ...
0
votes
1answer
71 views

Kompozer and bootstrap

I am hoping to write my first webpage in bootstrap and, in the past, I have done this using only commandline (vim) and then seeing how it looked in a browser, but I know this is rather archaic and I ...
0
votes
0answers
51 views

Javascript development on Chromebook without installing Linux?

I am thinking of getting a Chromebook and use it partially for offline Javascript development. I know about the options of dual boot Ubuntu or Crouton. But since Javascript is built in to browsers (I ...
5
votes
0answers
213 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 but a mis-configuration on my part or something. Here is the issue. I'll include a screenshot which should ...
0
votes
0answers
31 views

JSFiddle Not Properly rendering/loading in my chrome,firefox browsers

If I open any example or new fiddle in firefox and Google chrome, It shows like this only how to overcome this issue. look out this is issue in this URL
0
votes
0answers
38 views

Firefox “not well formed” error on Gmail mobile site's search page

I use the Gmail Mobile site (not the smartphone version, but the old, lightweight, feature-phone-compatible one) on my desktop Firefox browser, via the set of URLs starting with ...
0
votes
0answers
7 views

Save webpage with js files for offline use [duplicate]

I want to measure current and future password entropy with the zxcvbn formula and so I've decided to download the page to be sure the input and calculations are all client-sided and nothing sensitive ...
3
votes
5answers
3k views

Blocking Google Analytics from loading with JavaScript

How can I block or remove the Google Analytics code so that it does not load when I visit a web page?
1
vote
0answers
25 views

When javascript is blocked on Opera browser, to allow comments in Youtube to be showed, what urls should be included in the exceptions?

When blocking javascript globally and allowing "[*.]google.com" and "[*]youtube.com" on the exceptions list, Youtube will load ok and videos play as well, but the comments on the video pages won't ...
1
vote
1answer
149 views

How to run .js file in Eclipse IDE for JavaScript Webdeveloper?

I am learning JavaScript at the moment and have just installed the Eclipse IDE for JavaScript Web Developers. I have created a new project and created a new file with an extension of .js. I have ...
0
votes
0answers
26 views

How do malicious/scam websites match your obscure search entries on Google?

I was just checking out a piece of Python code when I searched for "from turtle import right, left, forward, speed, exitonclick, hideturtle" on Google Without looking further I just clicked on the ...
-3
votes
1answer
28 views

I can't manage to link a javascript to a button [closed]

I'm trying to create a extension with a lot of data processing involved but somehow I can't seem to link a basic button to do something. Also If you know any resources that will be helpful for me in ...
2
votes
1answer
187 views

Chrome stops Javascript when console is opened

I'm not sure if this is a new update, or a browser setting I changed when I was drunk, but basically when I open the Chrome Developer Console, Javascript becomes blocked on that page (And the ...
1
vote
1answer
78 views

Pathogen - only some of vim plugins work

So recently I installed Pathogen along with a few plugins like NerdTree, and Solarized and they both work really well. Today I tried to install Ruby indentation plugin ...
2
votes
2answers
235 views

JavaScript error on embedded Internet Explorer

I have a wallboard setup to display statistics in the office, however the widget that uses embedded Internet Explorer keeps coming up with a JavaScript error. The error can be closed without ...
4
votes
1answer
269 views

Disable Javascript for certain page in Chrome

:D I have one question about Google Chrome. I know there is an option under Settings to disable javascript, even I can manage on which sites I don't want it. But my problem is here :) I'd like to ...
-3
votes
1answer
70 views

What is Javascript? [closed]

Javascript - an object-oriented computer programming language commonly used to create interactive effects within web browsers. interactive - allowing a two-way flow of information between a computer ...
1
vote
1answer
160 views

Is there any way to block javascript pop-overs in Firefox or Chrome? [duplicate]

Like the kind pointed to in this image Many sites have these, and I find them highly annoying. Often you'll be reading an article and suddenly the pop-over blanks out the page and asks "WOULDN'T YOU ...
1
vote
1answer
73 views

javascript not working in ie 10 (win7 - 64)

I have tried so many time to enable active scripting, but I cannot seem to get ie 10 (or 11 - i backed down to 10 as a wild stab at solution) to do anything with javascript. Firefox and Chrome both ...
8
votes
2answers
2k views

How to open stubborn javascript links in a new tab or new window?

Some websites use "creative" (javascript?) hyperlinks which break browser functionality, such as the ability to ctrl+click or middle click links to open them in a new tab. A common example, taleo HR ...
2
votes
2answers
617 views

How can I add Delicious bookmarks in IE 10 desktop?

It is clear from the Delicious tools page that there is no add-on for internet explorer and it provides a bookmarklet. I managed to get this into the favourites list by editing an existing Favourite ...
0
votes
0answers
17 views

Chrome specific footer issues

Currently uploaded a site template at locustheband.com.au Upon tinkering I noticed that chrome does not display any footers, but mozilla, safari and internet explorer render it properly Any ideas on ...