The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
269 views

How do I block a specific JS file on Safari?

I have tried adding the full URL to the JS file on Adblock Filter, but it still loads. Is there anyway that I can block specific JS files? (Or any files, really). I know how to block hosts, but not ...
0
votes
1answer
49 views

Is there a shortcut or way to use code, to do anything at all with the item currently highlighted by Command+F?

Title pretty much says it all. Also if anyone knows how to drag and drop something into a browser using any language or command(s), please share. To be clear i'm talking about something like this: ...
0
votes
1answer
368 views

Click on a button (that is not a button ?) with Applescript or Javascript

Okay, relative newbie here, but I have searched all the answers and tried most of the suggestions and cannot find a way to automate using Applescript or Javascript within Applescript to click a button ...
0
votes
1answer
147 views

JavaScript problem while installing NetBeans and JDK in OS X 10.5.8 - Leopard

I downloaded the newest version of NetBeans and JDK and wanted to install it on my MacBook that runs on OS X 10.5.8 but I couldn't. This is the screenshot I made : Maybe since the this OS X version ...
2
votes
0answers
622 views

How do I jump to a line number in Safari 6 Web Inspector?

So I'm working on some javascript and I want to set a breakpoint on the line that I'm working on. It seems reasonable that I should be able to go into the Javascript debugger and jump to that line ...
1
vote
0answers
15 views

Can I create a Range in numbers

I am using Javascript for Automation (JXA) with Numbers.app and I am wondering if I can instantiate a Range object, i.e. define which rows are concerned by the Range so that I can apply a function ...
1
vote
0answers
130 views

I need to batch move files from one location to another, and put them in pre-existing folders with the same first 7 characters

I am looking to automate moving large amounts of files. Basically I have one location on our network full of .zip files. They are all named like "12-3456.zip" etc. I need to move each of these .zip ...
1
vote
0answers
115 views

How do I assign / unassign tags to Evernote notes using Javascript for Automation?

I'm creating a Script for turning Evernote Notes into Omnifocus-Items, using Javascript for Automation. Currently, the script searches for items with a certain tag, which works great. Now, I want to ...
1
vote
0answers
181 views

How to execute javascript from an applescript (Yosemite)?

Since Yosemite, the Script Editor allows using javascript. What is the best way to execute javascript from an applescript? My use case is an existing applescript which needs to send some parameters ...
1
vote
0answers
868 views

Why does OS X Mavericks freeze while typing comments on StackExchange Pages in Safari?

For a couple of days i am using OS X Mavericks and Safari for browsing. Sometimes while writing questions or comments on StackExchange pages, the computer freezes, and on the screen appear suddenly ...
1
vote
0answers
198 views

Does the javascript debugger in Safari have the ability to de-minify javascript like chrome does?

In the Chrome debugger under the "Sources" tab, there is a little "{}" button at the bottom that will de-minify minified code and make it human readable, as well as allow the developer to set ...
0
votes
0answers
13 views

allow extensions to access files with Disable Local File Restrictions checked

I found this nifty feature, that I think will allow my self made extension to access files on my filesystem. From apple docs https://support.apple.com/kb/PH21491?viewlocale=en_AE&locale=en_AE: ...
0
votes
0answers
128 views

Safari 9.0.3: Stalled with JavaScript enabled. Works fine with JavaScript disabled.

On one of my Macs (OS X 10.11.3), Safari 9.0.3 is unusable if JavaScript is activated: Google Search results are not clickable, and Safari presents you a virtually forever spinning beachball no matter ...
0
votes
0answers
40 views

Editing site specific cookies in Safari extension

What I am trying to do is have an extension that can modify a cookies value for specific sites. I've gone through the Safari Developer page and library but I cannot find aside from blocking a cookie. ...
0
votes
0answers
17 views

Iphone keyboard emulator moves entire screen

I am making a website: https://synodins.com/maps/?&lang=1 When I run it on the Iphone, it works fine except that when i click 'offer ride', and then draw a line and when the ride info appears, ...
0
votes
0answers
30 views

Create a Mac Service to send an item to Pocket Read later service

I am trying to create a right-click Service on Mac (using Automator) that will take a URL and add it to Pocket. I am using the official Pocket Bookmarklet javascript code as a starting point ...
0
votes
0answers
155 views

Strange behaviour of window.location in safari (in Tampermonkey script)

I recently did a clean install of El Captian & added Tampermonkey into my safari. Youtube had evolved a lot since its inception and, personally, I found the homepage had become quite shitty so I ...
0
votes
0answers
244 views

Selecting text in textarea form

I am running on an iPad Air 2 with iOS 8.3. I do some JavaScript coding on it from time to time, and one of the things that I do with it is when ready to release, I pack it several times so no one can ...
0
votes
0answers
31 views

Can I get rid of these timestamps in terminal?

I'm getting Javascript output in my terminal and it currently looks like this: Is there a way to get rid of the timestamps at the beginning of each line? I'm not sure if this is something I somehow ...