Nofocus script no longer works in firefox 5

Does anyone know why the "nofocus" script is no longer working in Firefox 5?
I got sick of Yahoo hijacking my cursor, so I did some looking and found a script (below), which is added to your user.js file. It worked just fine in FF4 and 4.1. When I updated to 5, however, it stopped. Any ideas?
Here's the script:
user_pref("capability.policy.policynames", "nofocus");
user_pref("capability.policy.nofocus.sites", "http://www.yahoo.com/");
user_pref("capability.policy.nofocus.HTMLInputElement.focus", "noAccess");

Looks that CAPS are no longer supported for DOM Events like that.
Maybe related to:
*[https://bugzilla.mozilla.org/show_bug.cgi?id=567755 Bug 567755] - Disabling javascript Date() function with CAPS doesn't work

Similar Messages

  • Facebook and Slacker no longer working with Firefox. Still work with Explorer. Until a week ago problem did not exist.

    I am for about one week not able to input information on Facebook. Also the Facebook page appears in a huge font. Regarding Slacker I do not see any available online radio stations. Until about a week ago everything worked fine. At present I can work with Internet Explorer, but at present can no longer work with Firefox.
    == URL of affected sites ==
    http://www.facebook.com; http //www.slacker.com
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C)

    Haven't tried facebook... But Slacker doesn't work for me either. Running 4.0b7pre on Ubuntu...
    Going to google it at some point, but slacker.com returns:
    VelocityViewServlet : Error processing the template
    Invocation of method 'init' in class com.rockit.webplayer.beans.BrowserDetect threw exception class java.lang.NumberFormatException : For input string: ""
    java.lang.NumberFormatException: For input string: ""
    at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
    at java.lang.Integer.parseInt(Integer.java:468)
    at java.lang.Integer.parseInt(Integer.java:497)
    at com.rockit.webplayer.beans.browser.DetectFirefox.detect(Unknown Source)
    at com.rockit.webplayer.beans.BrowserDetect.doInit(Unknown Source)
    at com.rockit.webplayer.beans.BrowserDetect.init(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
    at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
    at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
    at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.runtime.directive.Parse.render(Parse.java:181)
    at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
    at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
    at org.apache.velocity.Template.merge(Template.java:256)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.performMerge(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.mergeTemplate(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doRequest(Unknown Source)
    at org.apache.velocity.tools.view.servlet.VelocityViewServlet.doGet(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at com.rockit.util.servlet.StatsServletFilterAction.doFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)

  • Script no longer working under Maverick

    I just upgraded to Maverick over the weekend and I can not figure out why this script no longer works.  It has been working for the last 5 years.
    The script moves a file my server sends per e-mail to a folder on a partition on my Mac.  Here is the script.
    tell application "Microsoft Outlook"
              set selectedMsg to (current messages)
              set selectedMsg to item 1 of result
              set msgAttachment to attachments of selectedMsg
              set msgAttachment to result's item 1
              set attachmentName to name of msgAttachment
              set attachmentFile to ((path to desktop) & attachmentName) as text
      save msgAttachment in attachmentFile
    end tell
    delay 3
    set submitfolder to "OS E:Users:e:Desktop:" as alias
    set collectionfolder to "/Volumes/Data E/Consulting/Telephone Switch Record/2014" as alias
    tell application "Finder" to move (every file whose name contains ("week ") & (do shell script "date +%U")) to collectionfolder
    delay 2
    tell application "Finder" to move (every file whose name contains ("week ") & (do shell script "date +%U")) to trash
    I now get:
    If I run:
    tell application "Finder"
              open ("/Volumes/Data E/Consulting/Telephone Switch Record/2014" as POSIX file)
    end tell
    it opens the folder no problem so the path must be ok?  or? 
    Any ideas why it is broken? 

    Are you getting the error on this statement
    set collectionfolder to "/Volumes/Data E/Consulting/Telephone Switch Record/2014" as alias
    or when you do the move? And what is the error number you are getting?
    Also try this
    set filePart to "week " & (do shell script "date +%U")
    log filePart
    tell application "Finder" to move (every file whose name contains filePart) to collectionfolder
    to see what the string looks like.

  • No longer works in firefox

    why does my Adobe acrobat no longer work in firefox?

    Hi lynettec,
    When you say Acrobat doesn't work in Firefox, do you mean that you can't view PDF files in the Firefox browser? If so, please see View PDF files in Firefox without downloading them | Firefox Help
    If you're referring to the Acrobat online services, they are supported in Firefox, so I'd would need a little more information about what's happening to get to the bottom of the problem.
    Best,
    Sara

  • Flash no longer working on Firefox after update

    Moments ago I installed the Flash update after it came up on my screen asking to update, after doing so Flash is no longer working on Firefox, it works fine on other browsers. I cant view videos, look at flash objects etc. It was working perfectly fine before up untill the update. Anybody know how to resolve or fix this issue?

    Dear Chris:
    Yes, turning off Protected Mode indeed solves the problem!
    Specifically, we today (June 9, 2012) installed the new Adobe Flash v. 11.3.300.257 on several Windows 7 PC's, all running Firefox v. 14 (Beta), and none of the Firefox installations would confirm that the installation was performed successfully.  For example, the Adobe Flast test/about site, https://www.adobe.com/software/flash/about, would not work.  And, likewise, YouTube videos and other Flash-encoded videos did not work either.
    So, we tried your suggestion to disable the new Protected Mode, and it worked.  That is, every single machine on which Flash did not work in Firefox now functions perfectly.  So this conclusively demonstrates that there indeed is some kind of bug in the implementation of Protected Mode.
    Can you please let me and the other Adobe users know when this is fixed.  Thanks.
    Also, could you likewise let us know the risks of turning of Protected Mode (although we really don't have any choice, as Flash will not work on Firefox with PM turned on).
    Thank you.  Much appreciated.
    Kind regards,
    Evan Katz
    (formerly Contributing
    Editor of  Personal
    Computing Magazine)

  • Download Pull-Down Menu in Web App Olive ActivePaper Daily 4.0 No Longer "Works" in Firefox 10

    I have a paid subscription to the online edition (aka "e-edition") of the Raleigh News & Observer, http://www.newsobserver.com/. In Firefox 10, I am no longer able to download the pdf of the paper; the download pull-down menu in web app "Olive ActivePaper Daily 4.0" no longer "works" in Firefox 10 on Win XP or Win 7. This was not a problem in Firefox 9 and earlier. The pull-down menu continues to "work" in IE8. A valid username & password is required to do the download. The ''only ''change made to my Windows XP system was the upgrade from Firefox 9 to Firefox 10.

    The thread "Keynote Cancelled Shutdown: how do I troubleshoot?" has recently posted a possible solution but is there an explanation or a fix planned?

  • The visitor counter on my website no longer works on Firefox but still works in ME. How do I fix it?

    I have a free visitor counter (by easycounter.com) on my website. It has been working fine in both Firefox (3.6.16) and MS Internet Explorer.
    Yesterday, I noticed it no longer works with Firefox but still fine with MS IE.
    Earlier in the week I did download a few add-ons recommended by Firefox.
    Can anyone advise what the problem might be and how to fix it? The code for the counter is still intact on my page at www.qsl.net/ve3bdb.
    Thanks in advance.
    Incidentally, the page now takes forever to load when using MS IE, but I don't know if that's related.

    No problems here with that visited counter on your website.
    Which extensions did you install?
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]

  • Parallax no longer works in Firefox 16+

    I created a Parallax ( scrolling interactive images in layers which tells a story) about 10 months ago or so, it works in every browser and at that time it worked in firefox 10-ish. I just saw today that it no longer works in Firefox 17 or 16, it doesn't scroll at all. The Parallax is in an iframe container ( not sure if that matters ) and it looks like the iframe has been squashed in height.
    Thanks,
    Sam

    Yes it will break. Don't swap one for the other; use everything for now to cover your bases
    *-moz-transform
    *webkit-transform
    *transform
    So older Firefox will see -moz-transform, Chrome and Safari will see webkit-transform and new Firefox will see transform. When webkit changes then Chrome and Safari will see transform instead of webkit-transform. Then one day in the future you'll be able to remove the prefixed versions and just use transform.
    Make sense?

  • Java Script doesn't work on Firefox 8?

    I have noticed that (some) Java Script does not work on Firefox 8.0. Is there a correction for this?

    Yep, go back to what works, appears to be the only real solution. But then you'd hardly be able to use Firefox as nothing is going to get fixed there only get broken.
    What does not work is
    # move, and resize of main window not allowed
    # that include wiping out a lot of keyword shortcuts that do that
    # various additional collateral damage
    The solutions (work arounds) that I can best offer are clumsy but can be found in
    * http://kb.mozillazine.org/Resizing_oversize_window#JavaScript_no_longer_allowed_to_resize_windows

  • RoboForm Lite no longer works for Firefox 17 windows 7 and server 2008r2

    Greetings,
    RoboForm Lite no longer works for Firefox 17 windows 7 and server 2008r2 I tried to reinstall but none of the tabs function . Thank you for your assistance

    '''roboform_firefox:'''
    The original poster (OP) reported his/her OS as Windows 7 in the body of the question, therefore, your solution would be of no use to the OP. You can also see the OS for the system used by the OP to post the question to the right of the original question in this forum .
    Additionally, using an old version of Firefox is ill-advised as old versions contain uncorrected security vulnerabilities. Roboform has been very good lately in keeping their products updated for new Firefox releases and any problems with their products should be reported to them so that they can address any issues and release an update if needed.

  • I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error

    I woke up this morning and google and gmail no longer work in firefox. I get the endless loop error.
    I have the latest version of firefox and it is running under win 7 pro.
    it was working great since I installed it 3 weeks ago and I use it every day.
    the error reads:
    The page isn't redirecting properly
    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
    This problem can sometimes be caused by disabling or refusing to accept cookies.
    However my cookies are still enabled and and i have never changed my settings

    See also:
    *http://kb.mozillazine.org/The_page_is_not_redirecting_properly
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    If clearing cookies doesn't work then it is possible that the <i>cookies.sqlite</i> file that stores the cookies is corrupted.
    Rename (or delete) <b>cookies.sqlite</b> (cookies.sqlite.old) and delete other present cookie files like <b>cookies.sqlite-journal</b> in the Firefox Profile Folder in case the file cookies.sqlite got corrupted.
    *https://support.mozilla.org/kb/Cookies

  • Since installing Flash update today, Flash no longer works on FireFox (works fine on IE)

    As prompted, Adobe Flash update was installed today. Since installing , Flash no longer works with FireFox (works ok with IE);

    Hi guys - for me this helped.
    Close Firefox - open Internet Explorer - got to the Adobe Flash Player Site:
    http://get.adobe.com/de/flashplayer/
    In IE you can see there is the 64-bit version - (in Firefox there was just the 32-bit version) - got to: (others)
    http://get.adobe.com/de/flashplayer/otherversions/
    choose your system and version
    download it via internet explorer and install the adobe flash player
    restart firefox and it should work.
    helped me after wasting one day of my life to find a solution, alle sites work just fine now.
    hope this helps.

  • Scripts no longer working via Bridge

    For some reason, scripts no longer works in Bridge CS4.
    I've previously installed "Dr. Brown's services" scripts which is available in the "Tools" menu of Bridge. However, when I select some files, then choose this script Photoshop starts up, but nothing more happens.
    The same goes for the "Tools"-"Photoshop" menu (Batch, Image processor etc.). Photoshop CS4 starts up but nothing else happens.
    However, if I do the same thing in Photoshop itself ("File"-"Scripts") it works fine, so the scripts themselves are working, or so it seems.

    If for some reason Bridge suddenly behaviors other then before the first
    thing to try is a restart for Bridge holding down option key to refresh the
    preferences. Set Prefs again to your wishes and try again.
    For some reason, scripts no longer works in Bridge CS4.

  • After upgrade Script No Longer Works

    After I upgraded CS4 to .605 my script no longer works. I get:
    Error Number:45
    Error String: Object is Invalid
    Line 12
    Source: myParStyle.baselineshift = -1;
    Here are my first 12 lines:
    var doc = app.documents[0]
    var color = doc.colors.item("C=100 M=65 Y=0 K=0");
    var inlines = doc.stories.everyItem().textFrames.everyItem().getElements();
    for(var i=0;i<inlines.length;i++){
        if (inlines[i] instanceof Group){continue}
        if(inlines[i].fillColor != color){continue}
        if(inlines[i].contents == ""){continue}
        inlines[i].convertShape(ConvertShapeOptions.CONVERT_TO_RECTANGLE);
        myChangeCorners(inlines[i], 0, .3, "fourth point");
    var myParStyle = doc.paragraphStyles.item("Tab_HeadB_KO");
    myParStyle.baselineShift = -1;
    What do I need to change to get this to work again?
    Thanks,
    Rob

    So it's still somewhat a mystery, because that particular command didn't change from CS4 to CS5.
    Can you try the 'fix' mentioned here? CS5 issues

  • Simple script no longer works in PS3

    The following script no longer works in Photoshop 3. I now get the error message "Adobe Photoshop CS3 got an error. Can't make some data into the expected type."
    What does this mean and how can I fix it??
    Thanks.
    Peter
    set inputFolder to choose folder
    tell application "Finder"
    set filesList to (every file of inputFolder whose name ends with ".jpg")
    set outputFolder to folder (choose folder with prompt "Which folder do you want to save the new photo in?")
    end tell
    tell application "Adobe Photoshop CS3"
    set display dialogs to never
    close every document saving no
    end tell
    repeat with aFile in filesList
    set fileIndex to 0
    tell application "Finder"
    set theFile to aFile as alias
    set thefileName to name of theFile
    end tell
    tell application "Adobe Photoshop CS3"
    open theFile
    set fileName to "FCP" & name of current document
    set docRef to the current document
    set docName to name of docRef
    set docBaseName to (docName) of me
    set docRef to the current document
    set bits per channel of docRef to eight
    set docHeight to height of docRef
    set docWidth to width of docRef
    -- Convert the document to a document mode that supports saving as jpeg
    if (mode of docRef is not RGB) then
    change mode docRef to RGB
    end if
    do action "Resize JPGs" from "FCP.atn"
    set docHeight2 to height of current document
    select all of current document
    set docHeight2 to height of current document
    set docWidth2 to width of current document
    set infoRef to get info of docRef
    select all of current document
    activate "Adobe Photoshop CS3"
    copy
    close docRef saving no
    make new document with properties {width:docWidth2, height:docHeight2, resolution:300}
    paste
    set docRef to current document
    set fileIndex to fileIndex + 1
    set newFileName to (outputFolder as string) & "FCP" & docBaseName
    set myOptions to {class:JPEG save options}
    save docRef in file newFileName as JPEG with options myOptions appending lowercase extension with copying
    close current document without saving
    end tell
    end repeat

    What I'm trying to do is change the resolution of a jpg file to 300 dpi and then change the the jpg pixel dimensions to a width of 1000 pixels--constraining the proportions and letting the height dimension fall wherever. That's what the "Resize JPG's" action does. I then want to save the jpg to a new file called 'FCPoriginalfilename'.
    The script gets hung up on "save docRef in file newFileName as JPEG with options myOptions appending lowercase extension with copying". I get the error message that "Photoshop CS3 can't make some data into the expected type"
    I modified the script from a previous script that I wrote to convert raw files to TIFs which I have attached--it works fine.
    Thanks.
    Peter
    --set tempFolderName
    set inputFolder to choose folder
    tell application "Finder"
    set filesList to (every file of inputFolder whose name ends with ".CR2")
    (*if (not (exists folder ((inputFolder as string) & tempFolderName))) then
    set outputFolder to make new folder at inputFolder with properties {name:tempFolderName}
    else*)
    set outputFolder to folder (choose folder with prompt "Which folder do you want to save the new photo in?")
    --((inputFolder as string) & tempFolderName)
    --end if
    end tell
    tell application "Adobe Photoshop CS3"
    set display dialogs to never
    close every document saving no
    end tell
    repeat with aFile in filesList
    set fileIndex to 0
    tell application "Finder"
    -- The step below is important because the 'aFile' reference as returned by
    -- Finder associates the file with Finder and not Photoshop. By converting
    -- the reference below 'as alias', the reference used by 'open' will be
    -- correctly handled by Photoshop rather than Finder.
    set theFile to aFile as alias
    set thefileName to name of theFile
    end tell
    tell application "Adobe Photoshop CS3"
    --set myOptions2 to {class:raw format open options, bits per channel:16, byte order:Mac OS}
    open theFile as Camera RAW with options ¬
    {class:Camera RAW open options, bits per channel:sixteen}
    set docRef to the current document
    set docHeight to height of docRef
    set docWidth to width of docRef
    -- Convert the document to a document mode that supports saving as jpeg
    if (mode of docRef is not RGB) then
    change mode docRef to RGB
    end if
    (*if (bits per channel of docRef is sixteen) then
    set bits per channel of docRef to eight
    end if*)
    -- The copy is simply saved with additional document info added
    set infoRef to get info of docRef
    --set copyright notice of infoRef to "copyright 2004 trofanna"
    set docName to name of docRef
    set docBaseName to (docName) of me
    set fileIndex to fileIndex + 1
    set newFileName to (outputFolder as string) & docBaseName
    set newPhotoName to newFileName & ".tif"
    set myOptions to {class:TIFF save options, byte order:Mac OS}
    save docRef in file newFileName as TIFF with options myOptions appending lowercase extension with copying
    -- The original document is closed without saving so it remains as it was
    -- when opened for batch processing
    close current document without saving
    end tell
    end repeat

Maybe you are looking for