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

learn more… | top users | synonyms

-1
votes
0answers
5 views

if server time is equal to 22/9 then it genertor pop up on each refresh [on hold]

I need code of html/php/javascript that if the server time is equal to 22/9 then it genertate a pop up on each refresh of a page, that shows any text
0
votes
0answers
6 views

Thunderbird 31.0 running embedded JavaScript in email

I wish to disable support for JavaScript embedded in HTML-formatted emails in Thunderbird. What is the recommended way of doing this? In case no one else has this issue, I've been using Thunderbird ...
0
votes
0answers
15 views

Sharing variables between 2 scripts

I'm trying to share variable between 2 different Tampermonkey scripts running in 2 separate tabs. I tried using GM_setValue in the first script then retrieving it with GM_getValue in the other one ...
4
votes
3answers
3k views

Is there a browser extension that bypasses restrictions of pasting passwords?

As one example out of many, if you go to https://appleid.apple.com and click to manage your account, you can't paste your password in the password field. There is some javascript that prevents that. ...
0
votes
0answers
30 views

How to save a web app to static HTML (updated)?

I have a webapp that I want to save the HTML of to create a static version of a page I can send to someone. Obviously 'save as' won't work. Is there a way to save the currently displayed DOM as HTML, ...
2
votes
1answer
192 views

Can an Opera mouse gesture be set to execute a user script?

I used to have that with FireGestures in Firefox, and with a simple gesture I would wipe off a DOM element. (great for deleting flash advertising) So are user scripts in opera only runnable on every ...
1
vote
1answer
2k 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
15 views

Is there an easy way or script to let me email direct from Adobe Illustrator?

I do a lot of artwork and I really wish there was a way i could email direct from Illustrator. I have to manually save as PDF then go and find the file then right click it and do send to > mail ...
1
vote
1answer
21 views

Disable the `onselectedtext()` Javascrip method in Firefox

Many websites use the onselectedtext() method to pop up messages ("Read Aloud" or "Embed Quote") when selecting text on a webpage. I habitually select text to find my place when reading, so this ...
-2
votes
0answers
23 views

Can't Open Page in New Tab Using Javascript [migrated]

I can't figure out how to open a new tab using JavaScript. I went through related questions but nothing worked for me. I want the browser to open a new tab when someone clicks on the link ...
0
votes
1answer
3k 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
1answer
48 views

Adobe Reader cParent parameter TypeError, “invalid argument type” but menu items display

I've written some custom scripts for Adobe Acrobat Pro (I work with a lot of PDFs for scientific research) and they run just fine on Mac and Windows. Linux only has Adobe Reader, but I still managed ...
0
votes
2answers
53 views

Does Adobe Dreamweaver support Javascript?

Thinking of subscribing to Adobe Creative Cloud. Does Adobe Dreamweaver support Javascript?
1
vote
1answer
2k 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
7 views

JavaScript - AddEventListener to a function in a local scope? [migrated]

I have a set of functions that need global variables, and in an effort to not pollute the global namespace, I've been trying to find a way to localize them. However, I also want to trigger them from ...
0
votes
0answers
19 views

Redirection to home page then i frame target

I am facing really technical problem for me! I am using some error variables and below iframe but when someone changes iframe the previous error keep showing on changed iframe to prevent this i have ...
0
votes
0answers
61 views

How to take Google search query and append modifers to the end of it in Greasemonkey discussion script

This is a greasemonkey question. What I'm trying to do is modify an old google discussions script. What were wanting to do is be able to take the google search query and add modifiers to the end of ...
0
votes
1answer
145 views

IE11 throws error in IEFRAME

When I try to see "properties" of JSFiddle's logo, IE11 shows script error in file res://ieframe.dll/anchbrws.js Looking at the file, I see function BodyLoad() { var arrAll = document.all; ...
0
votes
1answer
39 views

How do I scan Firefox on Ubuntu Linux for malicious JavaScripts?

I run Ubuntu Linux in a VirtualBox VM. I was browsing using Firefox, and I always use Adblock Plus with default configuration (EasyList) and NoScript. Then my VM lagged(mouse badly out of sync with ...
0
votes
0answers
17 views

How to run browser in background in Ubuntu

I am using Ubuntu 14.04, and PHP. I have 2 files: test.html - content java to test network update.php - the test file will post result to update database. I need to run and execute an URL address ...
0
votes
1answer
64 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 ...
2
votes
2answers
498 views

How do I prevent automatic browser page refreshment done by Javascript?

There are some news websites which automatically and periodically refresh their page just in order to show the user more advertisement. If you are watching a video, all the buffered stream is gone ...
1
vote
1answer
69 views

How to run Javascript code on any website?

How can I run Javascript code on a website to complete a set function or rule as per the website? For example, if I'm trying to download a file from some filehost that requires a survey... Now in ...
3
votes
1answer
64 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 ...
0
votes
0answers
37 views

How to get larger map on ISS live stream

The Gateway to Astronaut Photography of Earth streams pictures from camera's on the International Space Station. On the right hand side there is a flash window that shows trajectory and underneath it ...
0
votes
0answers
3k views

JavaScript injection script, how to remove?

today I started to notice a very strange behavior. At some intervals my web pages in Chrome browser changes its web address to some javascript code javascript:try{if(document.body.innerHTML){var ...
5
votes
2answers
2k views

How do I permanently disable javascript strict warnings in Firefox?

When I open Firefox (8 Beta and 7) and load a page with firebug open, I get a load of javascript strict warnings, so I disable javascript strict warnings so my page loads will speed up, which works ...
1
vote
1answer
27 views

Browsing image gallery websites with two windows

Imagine an arbitrary image gallery website (i.e. deviantart.com). You get an overview of thumbnails and upon clicking these, you're usually redirected to a dedicated page showing the enlarged version ...
0
votes
1answer
28 views

Can JavaScript embedded in a web page access the URL parameters of the page request?

Can JavaScript embedded in a served HTML page access the page-request URL, including its parameters?
0
votes
0answers
231 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 ...
2
votes
0answers
17 views

NiceAlert (suppresses JavaScript alert) equivalent extension for Internet Explorer [closed]

I live in South Korea which is full of cheap web programmers who don't understand accessibilty or cross-platform, etc. Many major Korean web sites are built by those kind of programmers and managers. ...
0
votes
1answer
75 views

how to print a page from web browser without print window using javascript or php

I am developing an POS application for my own shop in web. Now for that in billing section have features like select the products and print bill, this process is only two steps. However when I click ...
1
vote
3answers
412 views

How do you block javascript slideshow animations in Firefox?

Is it possible to disable javascript slideshow animations in Firefox? A lot of news sites have delayed slide shows. It really irritates me when I'm reading a headline and it disappears. Is there a ...
0
votes
0answers
35 views

Is there a way to view the hierarchical structure of javascript files while debugging (F12) in Firefox?

I'm using Firefox 29, and when I open up the debugger (F12 for web console)->Debugger Tab, I get a list of sources at the bottom left of the web console, but they're not in any particular order, and ...
1
vote
1answer
98 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 ...
0
votes
2answers
316 views

How to disable “JavaScript feeds” in Firefox?

How do you disable "JavaScript feeds" in Firefox for a certain site and not disable JavaScript totally?
1
vote
0answers
88 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: ...
5
votes
2answers
10k views

How can I disable javascript popups/alerts in Chrome?

Sorry if it's been asked. I've already found several solutions that aren't working. Not sure what I'm doing wrong. I don't want to disable all javascript, only Javascript alert boxes. The ones that ...
0
votes
0answers
44 views

CLI tools/ways for dynamically constructed DOM structure parsing HTML Javascript

I'm planning to make a tool which recognizes HTML using DOM structure in CLI. As many sites produce many DOM elements using JavaScript these days, it's becoming difficult to extract information from ...
0
votes
2answers
2k views

Shortcut for disabling JavaScript in Firefox 8

I have found this site with Firefox shortcuts. They mention a shortcut Ctrl+Shift+F9 but it doesn't work for me. I need shortcut for quick switching to without JavaScript mode during debugging of my ...
0
votes
1answer
188 views

Error: Unterminated String Literal

First off, I am NOT a web developer; I'm not building websites; I just want to surf the internet in peace. However, today I've started receiving this error over and over again on every website I go ...
0
votes
0answers
23 views

How can I track links that are being redirected during browsing?

I'm using Chrome on Windows 7. When I'm going on to a site such as youtube.com, I'm being redirected to site that tells me YouTube is blocked. Now, I'd like to find out – during a regular browsing ...
1
vote
3answers
4k 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?
0
votes
1answer
37 views

How to navigate PHP-based pagination with WGET?

I'm trying to come up with a list of possible names for our next baby boy and have been looking through the site IndiaParenting. Each name on the site has a detail page at a URL like this one ...
0
votes
0answers
26 views

Pocket extension for Chrome stopped working with JavaScript disabled per-site. Which side to blame?

I have Save to Pocket installed for Google Chrome on OS X. Recently it stopped working for sites which have JavaScript disabled (via Quick Javascript Switcher)--although it worked well before, with JS ...
7
votes
1answer
1k 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
4answers
6k views

How to get Firefox Greasemonkey script to use a local cascading stylesheet?

What's the correct syntax to link to a CSS file in the same directory as a Greasemonkey JavaScript? I've tried the following but it doesn't work: var cssNode = document.createElement('link'); ...
5
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, I get "[Text I copied] FOR MORE, GO READ AT ...
1
vote
1answer
128 views

Go to a page with an internal hyperlink to a video stream

When you go on a page and you click on something that calls up a javascript (like sections on Wikipedia that generate the '#...' in the URL) the URL changes in the address bar of your browser. On ...
1
vote
0answers
61 views

MSIE11 Developer Tools not showing requests made by EMBED element

UPDATE: I assume the cause behind this weird behavor is that some plugins (WMP, VLC, ...) in some DOCTYPEs talk to the remote server directly, therefore browser simply can not detect their requests. I ...