Questions tagged [javascript]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
95 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
0 answers
142 views

Strange browser time behavior in Chrome on a MacBook Pro running macOS High Sierra

Since time and time zones can be a little confusing, to begin with, I have stumbled onto something truly bizarre in regards to JavaScript and macOS High Sierra time. While trying to figure out ...
0 votes
0 answers
385 views

jS how to resize a text field? dynamics CRM 2011 [duplicate]

I'm wondering about how to resize a text feild automatically in crm 2011. Is it possible there? For example, I've got a simple text field that has 3 lines by default. And I'm looking for a method, ...
1 vote
1 answer
389 views

Windows Setting inhibiting More than 2 tabs to open from script file

I have a number of sites that I have to monitor as part of my job. I created a .vbs (though in troubleshooting this issue, I also created and had the same problem with .js and .bat files). This file ...
0 votes
1 answer
79 views

Javascript, Coding help requested [closed]

To start I am a noob, so explanation of whats happening or what needs to be done to complete the code would be extremely helpful. I had an issue come up at work, and I found an helpful stack ...
1 vote
1 answer
1k views

How to POST HTTP data into a 'disabled' input field in HTTP form?

I need to post data into a box that is showed to me but I am unable to click on it. After inspecting the element in Firefox, I noticed that the input field says 'disabled'=disabled in the tags and ...
0 votes
2 answers
210 views

Is there a way to show JavaScript array brackets and the content of an object when using a browser's Developer's Tools?

When I display an array in the F12 Dev Tools to try to figure out what is going on in a JavaScript program, I don't get the brackets. Normally, this wouldn't be a problem. But, I am currently working ...
1 vote
0 answers
387 views

Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format

When I try fetch v8 or gclient sync I get this error: Error: Command 'download_from_google_storage --no_resume --platform=linux* --no_auth --bucket chromium-clang-format -s v8/buildtools/linux64/...
2 votes
0 answers
1k views

Call java-script function, hit button and download file using powershell

I am having below code which navigates to page but not invoking JavaScript function. What I want is: 1. Open web page 2. Call javascript function 3. Hit "OK" button 4. And download csv file which has ...
18 votes
3 answers
12k views

Safari Web Developer Tools?

Where do you enable web developer tools in Safari on windows? I can't find it anywhere. A quick web search found some really complicated instructions that felt more like a hack then turning on a ...
0 votes
1 answer
2k views

Adobe Acrobat: create a sequential number field with format "000001"

From this page, I've inserted an automatically incremental "serial" field in a PDF, by using JavaScript: var f = this.getField("Serial"); f.value = Number(f.value)+1; f.defaultValue = f.value; This ...
0 votes
1 answer
2k views

opening .js file in CMD runs windows script host

I am installing ffmpeg for node.js. When i run ffmpeg by the following command in CMD; ffmpeg -codecs It opens a .js file with windows script host instead of CMD. This is because i accidentally ...
0 votes
1 answer
551 views

I got myself an irritating Javascript virus [duplicate]

so I got a javascipt virus in my Laptop: effects: *can't open regedit.exe and resource monitor, they just show for maybe 0.5 seconds and exit(they just blink), the same thing happens when I try ...
0 votes
1 answer
6k views

How to run this javascript offline?

I'd like to have offline the functionality of this javascript: jspretty. I know that I can get the same online, but I want it offline. How can I run the js above?
0 votes
0 answers
535 views

Large scripts in IE 11 on Windows 7 PCs only work with Script Debugging Enabled

I am having an issue with IE 11 on Windows 7 that has been brutally hard to pinpoint. This has been occurring for roughly a month. We have a few websites that when certain large scripts are loading (...
0 votes
1 answer
60 views

is it possible to use a webpage to enter information into a terminal with php

I was wondering if it is possible to enter information into a php exec using something like a text bar on a webpage, so when they enter a word and hit "continue" php takes that word and uses it in a ...
1 vote
0 answers
867 views

Adobe Acrobat: Advanced drop down / list

A client of mine needs a PDF made which has a list of store locations, there are a lot of store locations however. Each store is split into several parts, Store code: BB01 Store Name: Bob's ...
28 votes
8 answers
50k views

How do I disable Javascript in Chrome?

How do I disable Javascript in Chrome?
1 vote
0 answers
361 views

How to set location access for local html file in chrome

So i've built my own startpage and I'm using a weather API to display the local weather. Needless to say I don't want to give chrome explicit access to my location everytime i open a tab since I coded ...
0 votes
1 answer
532 views

MySQL X Protocol Plugin not listening (All routers failed)

I am trying to set up and test the MySQL X Protocol (related keywords: MySQLX, X Plugin, XDevAPI, Connector/Node.js) and it somehow doesn't run as expected. I am running Windows 7 64 Bit with a MySQL ...
1 vote
0 answers
182 views

How to spoof javascript window.name property in chrome based browsers?

I was trying everything to alter the tab name property but it doesnt seem to be working with browsers using chrome API. As far as firefox is concerned, there are no problems whatsoever with ...
1 vote
0 answers
1k views

How to open JavaScript "onclick" links in new browser tab [duplicate]

Some websites, for reasons I'll never understand, implement links using JavaScript in the onclick event, like this: <div onclick="document.location='/target_url';"> This doesn't allow me to ...
-1 votes
1 answer
127 views

JavaScript and security/anonymity

From what I've read, JavaScript is a security risk. However, many sites don't work without it. If I deactivate JavaScript, but also define exceptions for sites that I regularly use, would it be safe?
1 vote
1 answer
2k views

Prevent browser from sending POST requests

I'm trying to block facebook from sending the "message has been seen- message" the POST request url i'm trying to block is: "https://www.messenger.com/ajax/mercury/delivery_receipts.php?dpr=2" Does ...
6 votes
1 answer
2k views

Opening a new tab with Firefox (middle click)- make it work with Javascript links?

I have this problem continuously. I read MSNBC news (and other pages). I click the middle mouse button to open links in a new tab, to read later. I go to the tabs later, at it was a javascript link....
1 vote
2 answers
2k views

Browser extension to replace website JS with own JS

Is there a browser extension that can run a local JS file instead of the linked file from the website?
1 vote
1 answer
160 views

Can I use a Firefox bookmark keyword for this search?

I use http://redirectdetective.com/ a lot, and I love keyword searches. I'd love to combine the two, but it doesn't seem to work; the bookmark destination shows as this: javascript:xmlhttpPost("/...
1 vote
1 answer
570 views

Extract Checkbox Titles within Multiple Divs (Javascript)

I am attempting to write a Greasemonkey script that puts together a refined list of all items that have a check in their checkbox. The list of check boxes can vary from week to week and contains ...
0 votes
1 answer
3k views

Sublime Text 3 Automatically adds Javascript to Ignored Packages

I'm running Sublime Text 3 with the following Packages: "CSSLint", "HTML-CSS-JS Prettify", "Javascript Beautify", "JavaScript Completions", "JavaScript Ultimate", "JSLint", "Package Control", "Theme -...
0 votes
2 answers
2k views

Javascript timer annoyance workarounds

Everyone knows this website experience: Download starts in... XX seconds. How to find the identify and modify the correct countdown variable before e.g. 30s have passed? My current (too slow) way: ...
0 votes
1 answer
61 views

Super User requires external JavaScript from another domain.... Why?

I use NoScript which is a selective ad-blocker. Very recently Superuser and other stack exchange sites started claiming that it requires external Javascript to work (at the top) - but the only non-...
1 vote
0 answers
432 views

Monaco editor - how to open search panel programmatically?

When you do cmd+f in the Monaco Editor, you get the find/search box appear. Is there a way to have this open when the editor loads, with pre-populated text?
0 votes
1 answer
1k views

Stop JavaScript/HTML5 music player from showing media location URL

Is there any way to stop this a HTML5/JavaScript based music player from displaying the location URL of the song it is set up to play from my website server? I have searched for a solution myself, to ...
1 vote
0 answers
1k views

Windows 10 Upgrade Assistant blank

I am trying to do the Windows 10 Creators Update. I downloaded Windows10Upgrade28085.exe from here, ran it and got a perfectly blank screen, spare a Microsoft logo. I could however right-click on the ...
7 votes
1 answer
5k views

How to track down causes of ≥100% CPU usage in Firefox (on desktop)?

Certain websites cause Firefox to continuously use 100% CPU. Some of them I can just block and never visit, of course, but some others I unfortunately need to use sometimes. I want to combat that, and ...
1 vote
0 answers
554 views

Files are getting corrupted after upload

I am using Filezilla to send files to my webserver. But I have some issues. When I send the file to my webserver the file gets corrupted. Here is the file that I upload: After upload the file looks ...
0 votes
0 answers
38 views

unable to find Javascript option in Tools menu in pdf

I want to add javascript in PDF but I don't find Javascript option in Tools menu in pdf. I have enabled all options from Edit -> Preferences -> Javascript
13 votes
2 answers
4k 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
1 answer
2k views

How to create a bookmarklet in Firefox with javascript disabled?

I've this bookmarklet in Firefox: javascript:void(location.href='https://example.com/url='+document.location.href) It works when I've enabled javascript for the actual webpage (the url which I want ...
1 vote
2 answers
2k views

What's the option to view changes in the DOM inspector in Chrome?

I think I saw that Chrome has done this before or maybe I set the settings off. In Firefox with Firebug installed, the DOM inspector will make me see what the changes happened in scripts manipulating ...
0 votes
1 answer
968 views

SecureCRT and Nice PHP/JS Syntax Highlighting: How To Configure?

I'm running SecureCRT using Windows 7. After googling a bit the VanDyke results came up, but I want to get it so instead of just a black background with all green text (sure it's better than the ...
0 votes
1 answer
358 views

Atom text editor can't run JavaScript in Ubuntu 16.04

I'm using Atom text editor in my Ubuntu 16.04, however I can't run any JavaScript code in it. Even from terminal I get the following error: Unable to run node. Did you start Atom from the command ...
0 votes
3 answers
10k views

Should I be worry after opening suspicious Email attachment?

Yesterday, I have received this following suspicious email Normally, I would not click on any of the email attachments if I am not sure about the origin of it. But yesterday, I accidentally opened it....
12 votes
1 answer
4k views

Is it possible to disable Javascript without reloading the page in modern Firefox?

I seem to remember that, in the past, when one disabled Javascript in Firefox, it would immediately stop all previous-loaded scripts and event handlers from running. However, I am now running ...
3 votes
0 answers
43 views

How to temporarily prevent a web page in Chrome to intercept a paste operation? [duplicate]

I am using a password manager to generate safe, long, unique passwords. Because those passwords tend to be 20-characters long they are a pain to type, but they are not even intended to be typed, ...
0 votes
1 answer
1k views

net::ERR_INSECURE_RESPONSE Chrome

I am having a very strange issue with Chrome. When I try to access Google+ javascript doesn't work. So most things on the website dont works like changing settings and commenting. If I click f12 I see ...
1 vote
2 answers
753 views

Unable to access Outlook mail on Google Chrome

Immediately after logging in to Outlook mail, I get a tool-tip about "Focused and Other inboxes". After clicking on the 'Got It' button, I am unable to open anything. Everything on the page is ...
0 votes
2 answers
10k views

Find stream url of Flash or html radio stream

can someone help me find the stream url of this radio station I checked the page source but i could not figure it out can someone help. radio station
1 vote
2 answers
7k 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 ...
6 votes
1 answer
3k views

Middle clicking a link on chrome sometimes also switches the current tab to the new one

In chrome, most of the time, when i middle click on a link (text or image), it opens a new tab and the current tab does not change. This is the expected behaviour. However, some websites have links (...

1
7 8
9
10 11
18