The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
28 views

How to print result of some javascript execution in ScriptEditor?

I want to test a piece of a very simple javascript and print out the result. The Script Editor however only prints out undefined in the Result pane. What is the easiest way to print out the result? ...
1
vote
1answer
112 views

OS X Yosemite suspends inactive windows

I have some user script that runs every about 10 minutes on specific page at opened tab in Safari 8. The surprise is that safari somehow suspend javascript execution when tab is not active by user ...
5
votes
1answer
116 views

Can I use Javascript to write a custom function for Numbers?

It's always annoyed me that I can't write a custom function for Numbers. It would make the spreadsheet so much more useful to me. In Google Apps spreadsheets you can do it, using Javascript. In ...
0
votes
1answer
219 views

How to trigger Notification Centre notification from JavaScript? [closed]

The other question asks the same but using AppleScript. Apple introduced JavaScript as a new language for Automation in OS X 10.10.
0
votes
0answers
22 views

What is required to make a bookmark that creates calendar events from values on a web page?

So I have a page that has days and times on it, and I want to know how to make a script or bookmarked script that will find these values and put them into my calendar. Any idea?
1
vote
1answer
76 views

Is there a way to make have Safari run some javascript load after each loaded page?

I want to configure Safari to run a piece of javascript after each page I visit. The same peace of js should be run after any web page I visit is loaded. How can I configure Safari for this?
2
votes
1answer
74 views

Disable App Nap via Javascript/HTML

Is there a message that could be sent in a way that at least Safari, if not other browsers, understands that tells Mavericks not to engage App Nap? I have an HTML5 pseudo-MIDI rendering app (i.e., ...
1
vote
2answers
3k views

Using Javascript | Applescript to click button in Safari

I realize there are several threads about this and they are all very specific to certain website . My background is in Python, not Javascript or Applescript, and I'm confused on exactly how to achieve ...
0
votes
0answers
86 views

scrollable div in epub book doesn't work in iBooks

I have an epub file opened in iBooks for Mac OS X Mavericks. This book contains a scrollable div. That is, a bigger div inside another div that has the stlye 'overflow: hidden;'. It is a scrollable ...
3
votes
1answer
132 views

Capturing text with a bookmarklet in IOS7

Is it possible to capture text from Safari using a bookmarklet on an iPod Touch/iPhone when running iOS7? In iOS6 I could select text, and then open a bookmarklet (like this one for example) which ...
1
vote
0answers
795 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 ...
0
votes
1answer
89 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 ...
0
votes
1answer
671 views

Examples of 3D Javascript of CSS3 animations in-browser on iOS?

Are there any examples of 3D animations rendering in mobile Safari? To date, nearly all of the 3D animations I've seen working on a PC don't seem to render correctly on iOS. (Why is that?) I was ...
14
votes
1answer
202 views

Can I ensure keyboard commands don't get trapped by browser scripts?

Is it possible to tweak Safari to ensure command key combinations like ⌘H or ⌘L go to Safari as opposed to Safari's window contents? This comes up for me most often on this site because the editor ...
1
vote
0answers
139 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 ...
2
votes
1answer
1k views

Automatically forward “Starred in Gmail” messages to OmniFocus

Summary: I would like to create some sort of an automated process where any messages that I 'star' in Gmail (aka 'flag' when using Gmail via IMAP) will automatically be added to OmniFocus, and then ...
1
vote
1answer
196 views

Is there an app to convert a video to HTML / JS / JSON?

Apple's site does some neat tricks on their pages to display videos encoded as a JPG file and then decoded and rendered in a canvas element (see ...
0
votes
1answer
618 views

Apple Discussions website not responding to clicks?

This is ironic, Apple's Discussions website is not working properly in the latest version of Safari (6.0.3) or Chrome (25). Any link or button that I click on the page does not work. Is this ...
0
votes
1answer
446 views

Retina dsiplay support on Intellj Idea for Java /JavaScript development

I have seen this question on retina display issues while working with Eclipse on Macbook . I have a latest personal Intellij Idea License and would like to know your views of retina display support ...
1
vote
2answers
209 views

Are my frequent Safari beach balls caused by my extensions?

Every 2-10 minutes Safari pauses with a spinning beach ball for roughly 10-90 seconds, sometimes asking if I want to reload everything, making Safari almost unusable. I've installed several safari ...
1
vote
2answers
1k views

How can I automatically run an AppleScript on shutdown or logout?

I am more used to the Javascript style event handlers, but is there a similar thing in applescript that listens to system events like logout or shutdown to execute code or is there a way to have an ...
0
votes
1answer
259 views

Safari extension for adding arbitrary Javascript to a page?

Is there a way to do this? I know I can use Stylish for adding arbitrary CSS to pages on a per-domain basis. Looking for something similar to add Javascript. For example, let's say I wanted to turn ...
0
votes
2answers
1k views

Is JavaScript secure? [closed]

I have a couple of websites I have to use that require Java so I am leaving it on in Java Preferences.app, disabling it on all browsers bar one that will only be used for those sites. Am I safe to ...
9
votes
2answers
482 views

Possible to disable custom Javascript keybindings in Safari?

I have a couple of decades experience using Emacs, so the Emacs-like keybindings for text editing on Mac OS X are very nice. Unfortunately, some websites (ahem) choose to override these with ...
0
votes
2answers
439 views

How to get the path of the selected Image in Adobe Bridge via Applescript?

I am trying to get the parent file path of a selected image thumbnail in Adobe Bridge CS5.1 to pass it on to a shell script. An Applescript wraps a tiny javascript command in command like this: set ...
2
votes
0answers
299 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 ...
3
votes
2answers
37k views

How do I open the javascript console in Safari 6?

I just got a new Mac and it comes with Safari 6 installed. I've opened up the Safari 6 web inspector tools and now I can't find some of the tools I used before in Safari 5. In Safari 5 you can press ...
1
vote
2answers
1k views

how to convert an html page to pdf using javascript? [closed]

I have an html page, I want to convert it into pdf format to make it printer friedly. I was restricted to use either javascript or js libraries to complete this task. Could any one please help me..!!! ...
0
votes
1answer
2k views

Safari: “JavaScript error detected! Error: TypeError: 'null' is not an object”

Whenever I connect to a WiFi at Starbucks, I'm prompted with this warning: After clicking OK everything is fine and I can login as usual. What's causing this error? How do I troubleshoot?
2
votes
1answer
1k views

Mobile Safari requires external Javascript from another domain which is blocked or failed to load

When using Mobile Safari on my iPhone (4, iOS 5.0.1) to view this site, I am not able to log in using the top right drop down arrow that is seen on the mobile view. Nor am I able to enter the full ...
5
votes
1answer
3k views

Is there something similar to the Greasemonkey script system for a browser in iOS?

Greasemonkey is explained in this Wikipedia entry. I would like to add my own stylesheet to a particularly non-mobile-friendly website. Is there any way to accomplish this? Are there any browser apps ...