I have a Javascript file that detects key codes, but it is set to react to Windows keyboard keys. How would I adapt it to work with a Mac keyboard? Code: // Hotkeys document.addEventListener('keydown', function(e){ if(e.shiftKey && !e.ctrlKey && e.altKey){ switch(e.keyCode){ // Edit styles with Alt+Shift+E case 69: editStyles(); break; // Unblock elements with Alt+Shift+U case 85: unblockEle(); break; // Block element with Alt+Shift+B case 66: blockEle(); break; // Unblock latest element with Alt+Shift+L case 76: unblockEle(true); break; // Block elements (don't use nth-child) with Alt+Shift+W case 87: blockEle(true); break; } } }, false); The Alt key is the problem. I guess the Alt/Option key on a Mac keyboard is not the same as the Alt key for Windows. What name would I give to have that key recognized?
So I rebooted my Mac after installing some software updates. I then go to YouTube... but there is a problem, it looks funny. I can't watch any videos because it says "Hello, either you have JavaScript shut off or you don't have the latest version of Flash Player Installed"
1. I tried installing Flash again, nothing 2. Checked Javascript, same thing happened. Firefox works well I guess.
I purchased a Mac Pro two years ago and had additional ram installed at COMP USA (had an APPLE dealer in the store) The ram upgrade gave me a total of 9 gig. When I check (About This Mac) it confirms the 9 gig of ram. I was setting my preferences in Adobe CS 4 and when allocating the percent of ram to be dedicated to CS4 my choice was centered around 3 gig. Same as my Mac Book Pro. I elected 70% of 3 gig of ram.
I'm new to macs and I am pulling a prank on a friend. I am trying to run a javascript function everything he submits a forum. I have written my javascript already but I have no idea where to start.
I've been trying to get on youtube for days on both firefox and safari and it seems as though my javascript is turned off or something. When I go to check the settings in my browsers it says its on but youtubes site won't even load for me not just the videos but the whole site. And then when I go to other sites with videos that would pop up they don't show up?
Firefox has been my main browser b/c Safari 4 was slower for me and also no Noscript. Safari 5 though is noticable faster for me and I'd like to go back. Malicious javascript is still a concern, even if remote. I use clicktoflash, but that only blocks flash. Is there a plugin or extension that will block javascript on a page unless I allow it or whitelist it?
Recently, I was abroad with my MacBook Pro running Lion. I noticed I was no longer able to do a LOT of the website reddit. I noticed many other sites seemed to be "broken" and buttons not working, messages poping up, etc. I realized it seemed Javascript was off... but it wasn't. I checked firefox settings and it was indeed on. I tried Google Chrome and Safari to find, they too, did not work with javascript anymore.Javascript is an in-browser thing. I have NO idea how this problem occured.
Well I got home and turned on my iMac. Everything worked fine. Did some software updates and then Adobe Flash wanted to update, so I let it. I had updated Flash while I was abroad too. Today I've noticed that my iMac, is also, not working with Javascript anymore.
This has made things extremely inconvienant for me. I have no idea how to fix this, and I'm forced to use my Windows computer to login to sites, post things, and even use some favorite sites like reddit fully. I have tried Googling this problem and I find nothing recent that seems useful. I would imagine if this has infected two of my computers it must have happened to more people. Strangely... I don't find anything.
Every time I try to open a specific website, it pulls up an error saying "This site requires the use of JavaScript. Please check your Internet settings.". Javascript is enabled on Safari, but still won't work. I've tried opening it in Firefox and Google Chrome... same thing! I tried to uninstall and reinstall, no luck.
I think what I'm talking about are javascript links...when you go to, for example, [URL] I'm talking about the links in the box on the right labeled "Most Watched Video." None of the links IN THAT BOX work for me. By "work" of course I mean go anywhere or do anything. It's as if I'm clicking in an area of a page without links.
This happens for me in other sites with similar links. What gives?!
I've checked Firefox and am running the latest version of javascript. I'm also running the latest version of Firefox 3.6.8. I'm on a Mac OSX 10.4.11 - old system software, I realize, but I simply haven't been able to afford moving beyond this (plus my Mac is a Macbook, 2GB RAM, 80GB HD - old unit).
I was trying to watch a show on Slice.ca and it kept telling me that my JavaScript wasn't enabled and I was unable to watch the video. a few days before I was able to use the site perfectly, but after downloading the new Java update it wont work. When I go into my preferences on safari, it says that java-scrip is in fact enabled, so I'm not sure why the website isn't recognizing that it is enabled.
I recently spilled coffee on my mid 2010 2.4ghz macbook pro. After drying out, the computer worked fine, although the battery was not recognized. Since apple does not cover water damage i bought a replacement battery and installed it today. After starting up the problem is not solved. there is still an X through the battery indicator and if i unplug the laptop it shuts down instantly. When i turn it on, the status LED on the front blinks 6 times before the laptop actually boots up. I have reset the SMC, NVRAM and PRAM. Any help or input would be greatly appreciated.
I try to 'calibrate' it and have repeated the stupid lines time after time, clearly and slowly in a quiet environment, but they never flash or indicate that it is calibrated.
How many of you use the Speech Recognition built into the iMac? And of those who do use it, do you use the built in mic or do you use a 3rd party microphone?
What is it with Apple and still not having implemented automatic recognition of external display when hooking up to the MBP. Seriously? Do we really need to close/ open the lid in order to shut off the MBP screen. Why does it work in Windows (via Bootcamp) and not in OS-X? I was hoping this would be fixed in SL but still no.
I have recorded a voice interview and is wondering if there is a quick way to type these recording out? maybe something that analyse the recording file or something that type when you speak?
i just ordered the macbook air 11 inch. but i was just looking around and seen that sony also has a great 11 inch laptop. the vaio x. it has 10 HOUR BATTERY for an 11 inch laptop and weighs in at 1.6 pounds. Now dont get me wrong i would not get it because i dont like windows, but it seems like this laptop doesn't get the recognition it deserves.
I thought perhaps the face recognition algorithm might work if I named my cats in a few pictures, but so far it has not. Would be cool if they updated it to work on cats and dogs.
I know it wouldn't be 100% secure given the iSight resolution and all, as well as other factors such as lighting, etc.Just thought it'd be a nice novelty to keep unwanted users off my Mac when I'm not around.
I may need to have surgery to remove a cyst (too much typing) below the index finger on my strong hand and I am thinking of trying Voice Recognition Software for the weeks I am recovering. But alas no microphone jack. I never ever use a microphone for anything, so I don't know Is there such thing as a USB mic.