Cross-frame scripting is not working in Safari 3.0.4. Minimal example code.

Hello,
I've found that cross-frame scripting is not working in Safari 3.0.4, as it worked
ok on Safari 3.0.1, and in other browsers I tried: Firefox, Mozilla, IE.
document.domain property is set to "ds2ps.net", correctly to the best of my knowledge
in the frameset and in both frames. Both frames and frameset are loaded
from subdomains of the same domain "ds2ps.net"
Please have a look at this mimimal example:
http://frameset.ds2ps.net/frames-test/frameset.html
Press buttons to get alert with value of a variable defined in the frameset
and in the first frame.
This gives "undefined" in Safari 3.0.4, and give following message in Safari
JavaScript console:
Unsafe JavaScript attempt to access frame with URL http://frameset.ds2ps.net/frames-test/frameset.html from frame with URL http://frame2.ds2ps.net/frames-test/frame2.html. Domains, protocols and ports must match.
Works ok in all other browsers and in earlier versions of Safari.
Apperently, I'm doing something incorrectly.
I would appreciate if Apple Safari developers have a look at this problem and suggest solution.
My company is developing web application which depends on cross-frame scripting,
and we would like to continue supporting Safari browser.
Thank you,
John

Thank you, iBod,
We've submitted this bug at http://bugs.webkit.org
Bug 16444: Cross-frame scripting not working in Safari 3.0.4 despite proper document.domain set in all frames
Thank you for your suggestion!

Similar Messages

  • Ajax script is not working in Safari 3-4

    Hi,
    I'm using Ajax script in a form to select the correct number of days depending on chosen year and month. Here is the script I'm using:
    <script language="JavaScript" type="text/javascript">
    var daysInMonth = new Array();
    function createXMLHttpRequest() {
    var obj = null;
    if(window.XMLHttpRequest){
    obj = new XMLHttpRequest();
    } else if(window.ActiveXObject){
    obj = new ActiveXObject("Microsoft.XMLHTTP");
    } else {
    alert('Problem creating the XMLHttpRequest object');
    return obj;
    var req = createXMLHttpRequest();
    function setYear(year) {
    var url = "sidor/setdate.php";
    req.open('POST', url);
    req.onreadystatechange = setDaysInMonth;
    req.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
    req.send("year="+year);
    function setMonth(month) {
    if (month == 0) {
    var x = document.getElementById('month');
    month = x.options[x.selectedIndex].value;
    var day = document.getElementById('day');
    day.options.length = parseInt(daysInMonth[month-1]);
    for(var i=1; i <= daysInMonth[month-1]; i++) {
    day.options[i-1].value = i;
    day.options[i-1].text = i;
    function setDaysInMonth() {
    if (req.readyState == 4) {
    if (req.status == 200) {
    daysInMonth = req.responseText.split(";");
    setMonth(0);
    } else {
    alert("Error!\nError code: " + req.status);
    setYear(<?=$year?>);
    </script>
    The above script is working fine in IE7, Opera 9.64 and FF 3.0.8 but not in Safari. When I chose year and month (other month then april) the number of days is not changed. If I reload page and the chose directly february month, number of days is then 28 + 2 rows in selectbox with 29 and 30 but these cant be chosed. The way it should be showned is just 1-28. Please help me if the script needs to be adjust!
    Regards(Per

    I dont have the debugging tools, where can I find that?
    Site where you can find the form: http://www.sodermanskajakuthyrning.se/index.php?show=6&go=sidor/boka.php&page_id =31&lang=eng

  • YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads.

    YouTube will not work on safari for me on the ipad. Is there anyway to fix this? I can go anywhere else on the internet fine and it works on google chrome, but on safari it shows a blank screen with the bar on top after it loads, if it's even loading at all.
    I do not know if it's relevant or not, but I got a message on my ipad while on safari saying that my iPhone has a virus. I looked it up and it seems it might have just been an ad from the website I was on, but it happened around the same time YouTube stopped working.

    You will find that using the YouTube app will provide a better viewing experience for YouTube videos.

  • Email Notification Script is Not Working in Windows Server 2012..

    Dears
    I have Server 2012 and I wants to make new task seclude for email notification, while any user is login to the
    server the server will send notification email about user name and IP address for the user, I have script it is working fine in windows 2008 and it is xml file, but the script is not working in 2012 because in task schedule in windows 2008 there is an option
    called send email but in windows 2012 this option is deprecated, I’m using start program to run the script in PowerShell instead of send email and I configured as an
     end-MailMessage
    -From [email protected]
    -Subject "Email Notification"
    -To [email protected]
    -SmtpServer mail.domainName.com
    But when I use this PowerShell I only receive email notification without any name and IP address, kindly I need
    your support and help, I’m using below script.
    <?xml version="1.0" encoding="UTF-16"?>
    < Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2013-11-27T11:16:32.3962177</Date>
        <Author>Company Name\User Name</Author>
        <Description>RDP Login V1</Description>
      </RegistrationInfo>
      <Triggers>
        <EventTrigger>
          <Enabled>true</Enabled>
          <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Security"&gt;&lt;Select Path="Security"&gt;*[System[(EventID=4624)]] and *[EventData[Data[@Name='LogonType'] and (Data=10)]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
          <ValueQueries>
            <Value name="IpAddress">Event/EventData/Data[@Name="IpAddress"]</Value>
            <Value name="TargetUserName">Event/EventData/Data[@Name="TargetUserName"]</Value>
          </ValueQueries>
        </EventTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>Company Name\User Name</UserId>
          <LogonType>Password</LogonType>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <SendEmail>
          <Server>Name of the Server.com</Server>
          <Subject>RDP Login V1</Subject>
          <To>Sender Name</To>
          <From>Any Email.com</From>
          <Body>Login Alert on ServerName IP : $(IpAddress)  User: $(TargetUserName). Please take necessary action</Body>
          <HeaderFields />
        </SendEmail>
      </Actions>
    < /Task>

    Dears
    I have Server 2012 and I wants to make new task seclude for email notification, while any user is login to the
    server the server will send notification email about user name and IP address for the user, I have script it is working fine in windows 2008 and it is xml file, but the script is not working in 2012 because in task schedule in windows 2008 there is an option
    called send email but in windows 2012 this option is deprecated, I’m using start program to run the script in PowerShell instead of send email and I configured as an
     end-MailMessage
    -From [email protected]
    -Subject "Email Notification"
    -To [email protected]
    -SmtpServer mail.domainName.com
    But when I use this PowerShell I only receive email notification without any name and IP address, kindly I need
    your support and help, I’m using below script.
    <?xml version="1.0" encoding="UTF-16"?>
    < Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
      <RegistrationInfo>
        <Date>2013-11-27T11:16:32.3962177</Date>
        <Author>Company Name\User Name</Author>
        <Description>RDP Login V1</Description>
      </RegistrationInfo>
      <Triggers>
        <EventTrigger>
          <Enabled>true</Enabled>
          <Subscription>&lt;QueryList&gt;&lt;Query Id="0" Path="Security"&gt;&lt;Select Path="Security"&gt;*[System[(EventID=4624)]] and *[EventData[Data[@Name='LogonType'] and (Data=10)]]&lt;/Select&gt;&lt;/Query&gt;&lt;/QueryList&gt;</Subscription>
          <ValueQueries>
            <Value name="IpAddress">Event/EventData/Data[@Name="IpAddress"]</Value>
            <Value name="TargetUserName">Event/EventData/Data[@Name="TargetUserName"]</Value>
          </ValueQueries>
        </EventTrigger>
      </Triggers>
      <Principals>
        <Principal id="Author">
          <UserId>Company Name\User Name</UserId>
          <LogonType>Password</LogonType>
          <RunLevel>HighestAvailable</RunLevel>
        </Principal>
      </Principals>
      <Settings>
        <MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
        <DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
        <StopIfGoingOnBatteries>true</StopIfGoingOnBatteries>
        <AllowHardTerminate>true</AllowHardTerminate>
        <StartWhenAvailable>false</StartWhenAvailable>
        <RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
        <IdleSettings>
          <StopOnIdleEnd>true</StopOnIdleEnd>
          <RestartOnIdle>false</RestartOnIdle>
        </IdleSettings>
        <AllowStartOnDemand>true</AllowStartOnDemand>
        <Enabled>true</Enabled>
        <Hidden>false</Hidden>
        <RunOnlyIfIdle>false</RunOnlyIfIdle>
        <WakeToRun>false</WakeToRun>
        <ExecutionTimeLimit>P3D</ExecutionTimeLimit>
        <Priority>7</Priority>
      </Settings>
      <Actions Context="Author">
        <SendEmail>
          <Server>Name of the Server.com</Server>
          <Subject>RDP Login V1</Subject>
          <To>Sender Name</To>
          <From>Any Email.com</From>
          <Body>Login Alert on ServerName IP : $(IpAddress)  User: $(TargetUserName). Please take necessary action</Body>
          <HeaderFields />
        </SendEmail>
      </Actions>
    < /Task>

  • Script does not work anymore after updating to FM 12.0.3

    Hi,
    With TCS5, Robohelp would crash when importing FrameMaker books to RH, because the FM files had embedded graphics. So, I found a script to externalize the graphics before doing the import (the script is: ExtendScript of the week: Externalizing Graphics « TechComm Central by Adobe). However, this script is not working since I updated from 12.0.2 to 12.0.3. And without this script, we can't create HTML5 output!
    Although I wrote a few simple scripts, this one is quite complex and would be difficult to debug. Anyone here knows what could have changed to make the script useless after such a small update? Or can update this script to make it work?
    Thanks!

    Hi again,
    For those who would like to know... I made this script work with 12.0.3. I simply removed the instructions that  added an item in the File menu and stuff about a report, which I don't think ever worked. So, I still don't know exactly why it didn't work anymore (don't have time or knowledge to investigate), but I'm still interested to know.

  • Flash not working in Safari 5

    Flash has been buggy for me in Safari 5, ever since I updated the Flash player last week to "10.1 r53". Either Flash files don't play at all, or just the audio plays without video.
    Per the instructions on these boards, I have:
    1. reset Safari
    2. uninstalled flash player
    3. installed the flash player
    4. repaired permissions
    5. restarted
    The issue is still there. Firefox plays Flash files, YouTube, etc. just fine. Safari does not.
    I'm running SL 10.6.4, latest Software Updates.
    Any suggestions?
    Thanks!

    I created a new account. Flash works in the new account. That's cool, but I really don't want to re-locate all my prefs, etc., just for a buggy plugin.
    So, I next...
    1. grabbed the Safari plist from the new account
    2. logged out of the new account
    3. logged into the old account (where Flash does not work)
    4. moved the old account's com.apple.safari plist file out of the Preferences folder
    5. moved the clean Safari plist file (from the new account) into the Preferences folder
    6. reset and restarted Safari
    7. Flash worked...for about two minutes. I tested on YouTube, Vimeo and Google Analytics. Back to Flash not working in Safari.
    I then tried repeating the earlier steps.
    1. reset Safari
    2. uninstall flash player
    3. install flash player
    4. repaired permissions
    5. restarted
    Still doesn't work.
    Just one other thing to note: whenever I pull up a web page with Flash, I get a "file not found" error in Safari's activity monitor (link is below)...could this be an error with Adobe's website rather than a Safari-permission thing?
    http://fpdownload2.macromedia.com/get/flashplayer/update/current/install/version .xml10.1.53.64~os=Mac&osVer=10.6.4&playerType=pl&cpuWordLength=32&cpuArchitectur e=i386&lang=en

  • NYT videos not working in Safari 5

    NYT videos not working in Safari 5

    Work fine for me - they are just normal Flash videos.
    Make sure your Flash Player is up to date.
    The latest version of Adobe FlashPlayer can be obtained from here:
    http://www.adobe.com/shockwave/download/download.cgi?P1ProdVersion=ShockwaveFlash
    (You can check here: http://www.adobe.com/products/flash/about/ to see which version you should install for your Mac and OS.
    You should first uninstall any previous version of Flash Player, using the uninstaller from here (make sure you use the correct one!):
    http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14157
    and also that you follow the instructions closely, such as closing ALL applications first before installing. You must also carry out a permission repair after installing anything from Adobe.

  • My youtube does not work on safari only when i try to play a video it says "This video is not available on mobile add to playlist" But i am using a mac air 11 inch it is not a mobile. Please Help. i have to use the youtube on firefox or chrome

    my youtube does not work on safari only when i try to play a video it says "This video is not available on mobile add to playlist" But i am using a mac air 11 inch it is not a mobile. Please Help. i have to use the youtube on firefox or chrome. At times it also say QuickTime Player can't open "video.3gp". and
    The file may be damaged or may not be a movie file that is compatible with QuickTime Player. when i try to open a video on youtube on safari

    I too am having the same issue as the OP.
    Your USER AGENT information is Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/600.3.18 (KHTML, like Gecko) Version/8.0.3 Safari/600.3.18
    Every webserver that receives a request from your browser is able to determine the HTTP USER AGENT information unless it has been removed by some software (e.g. firewall) before the request was trasmitted.

  • Google Voice Widget Not Working in Safari 5.1 which is Adobe flash wmode transparent based

    Google Voice Widget Not Working in Safari 5.1 which is Adobe flash with wmode transparent set. For that matter all flash text fields in Safari 5.1 are not working accross the web when wmode is set to transparent. This is a Safari bug! Other browsers work fine.
    Well after much research Adobe flash text field with wmode transparent set is not working in Safari 5.1 when any flash object has the wmode set to "transparent", or "opaque". The problem is many site must layer flash objects with html so the wmode transparent must be used.
    Affecting sites like BEST BUY, WALMART, CVS, STAPLES, Chechout their flash based weekly ads and find one that you need to update the quantity in the flash pop-up and the text field with keyboard strokes will not work. Flash text fields were all working fine until several month ago when Safari rolled out 5.1 working for Google Voice Flash based widget which uses the wmode transparent. HELP!
    John Hooper
    Techno Online Problem Solver
    http://www.johnrhooper.com

    All 3 examples seem to render just fine in IE and FF.
    See comparison photo:
    http://www.cidigitalmedia.com/web_devel/background.jpg
    If not working for you, try clearing your cache to remove any old, non working versions.
    Test on some other machine besides yours.
    Code looks fine and seems to work.
    Best wishes,
    Adninjastrator

  • Af:panelTabbed not working in safari 4 & 5

    Hi,
    af:panelTabbed is not working in safari 4 and 5 .
    On click of each tab it calls a javascript method.
    the javascript method do the functionality of watermark.
    The code i use for watermark is
    function adf$noValueText$intialize(event) {
    var component = event.getSource();
    component.visitChildren(adf$noValueText$replaceEmptyWithText, null, false);
    function adf$noValueText$onFocus(event) {
    adf$noValueText$replaceTextWithEmpty(event.getSource());
    function adf$noValueText$onBlur(event) {
    adf$noValueText$replaceEmptyWithText(event.getSource());
    function adf$noValueText$replaceTextWithEmpty(component) {
    var noValueText = component.getProperty("noValueText");
    if (typeof noValueText != 'undefined') {
    var domNode = document.getElementById(component.getClientId() + "::content");
    if (domNode.value == component.getProperty("noValueText")) {
    domNode.value = "";
    function adf$noValueText$replaceEmptyWithText(component) {
    var noValueText = component.getProperty("noValueText");
    if (typeof noValueText != 'undefined') {
    var domNode = document.getElementById(component.getClientId() + "::content");
    if (domNode.value == "") {
    domNode.value = component.getProperty("noValueText");
    function refresh() {
    location.reload();
    Can somebody tell me whether this javascript is correct and the reason why af:paneltabbed not working in safari 4 & 5 browser.
    Pls reply asap.
    Thanks in advance

    <af:panelTabbed id="pt2" >
    <af:showDetailItem text="Team Members"
    id="sdi2" immediate="true">
    <af:clientListener method="refresh" type="disclosure"/>
    <af:outputFormatted value="TEAM MEMBERS" id="of49" />
    <af:subform id="s2">
    <af:panelLabelAndMessage label="FIRST_AND_LAST" id="plam1"/>
    <af:inputText id="it1FnLastValid" value="#{ForgotUsernameBean.initials}" required="true"
    maximumLength="2" autoSubmit="true" requiredMessageDetail="ENTER_FIRST_AND_LAST">
    <af:clientAttribute name="noValueText" value="Ex.AA"/>
    <af:clientListener method="adf$noValueText$onFocus" type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur" type="blur"/>
    </af:inputText>
    <af:panelLabelAndMessage styleClass="label-msg" label="BIRTH_DATE(DD/YY)" id="plam2"/>
    <af:inputText value="#{ForgotUsernameBean.dateOfBirth}"
    requiredMessageDetail="ENTER_BIRTH_DATE"
    required="true"
    maximumLength="5"
    autoSubmit="true" id="it1">
    <af:clientAttribute name="noValueText"
    value="DD/YY"/>
    <af:clientListener method="adf$noValueText$onFocus"
    type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur"
    type="blur"/>
    </af:inputText>
    <af:panelLabelAndMessage styleClass="label-msg"
    label="RESTAURANT_NUMBER"
    id="RTM3"/>
    <af:inputText label="" id="it3ValidnRestNo"
    styleClass="errorTextForgotUN"
    value="#{ForgotUsernameBean.restaurantNumber}"
    required="true"
    maximumLength="4"
    autoSubmit="true"
    requiredMessageDetail="RESTAURANT_NUMBER'">
    <af:clientAttribute name="noValueText" value="****"/>
    <af:clientListener method="adf$noValueText$onFocus" type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur" type="blur"/>
    </af:inputText>
    <af:panelLabelAndMessage styleClass="label-msg" label="POS_ID" id="plam3"/>
    <af:inputText label="" id="it4InpPosIdValidn"
    value="#{ForgotUsernameBean.posId}"
    required="true"
    maximumLength="4"
    autoSubmit="true"
    requiredMessageDetail="POS ID">
    <af:validateLength minimum="3" maximum="4"
    messageDetailNotInRange="POSID NOTINRANGE"/>
    <af:validateRegExp pattern="[0-9]*"
    messageDetailNoMatch="POSID INVALID"/>
    <af:clientAttribute name="noValueText"
    value="****"/>
    <af:clientListener method="adf$noValueText$onFocus"
    type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur"
    type="blur"/>
    </af:inputText>
    <af:commandButton styleClass="pollsVote backBt"
    text="#{resources['COMMON.ENTER']}"
    action="#{ForgotUsernameBean.validateUserDetailsTM}"
    partialTriggers="it4InpPosIdValidn it3ValidnRestNo it1FnLastValid it1"
    disabled="#{ForgotUsernameBean.posId==null||ForgotUsernameBean.restaurantNumber==null||ForgotUsernameBean.dateOfBirth==null||ForgotUsernameBean.initials==null}"
    id="teambutton1"/>
    </af:subform>
    </af:showDetailItem>
    <af:showDetailItem text="RESTAURANT MANAGERS" id="sdi3" immediate="true">
    <af:outputFormatted value="RESTAURANT MANAGERS" id="magH"/>
    <af:subform id="s1">
    <af:panelLabelAndMessage styleClass="label-msg" label="RESTAURANT NUMBER"id="m3"/>
    <af:inputText label="" id="it5"
    styleClass="errorTextForgotUN"
    value="#{ForgotUsernameBean.rmRestaurantNumber}"
    required="true"
    maximumLength="4"
    autoSubmit="true"
    requiredMessageDetail="RESTAURANT NUMBER">
    <af:clientAttribute name="noValueText"
    value="****"/>
    <af:clientListener method="adf$noValueText$onFocus"
    type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur"
    type="blur"/>
    </af:inputText>
    <af:panelLabelAndMessage styleClass="label-msg" label="BIRTH DATE(MM/DD/YYYY)" id="m9"/>
    <af:inputText value="#{ForgotUsernameBean.rmdateOfBirth}"
    required="true"
    autoSubmit="true"
    requiredMessageDetail="BIRTH DATE" id="it6" maximumLength="10">
    <af:clientAttribute name="noValueText"
    value="MM/DD/YYYY"/>
    <af:clientListener method="adf$noValueText$onFocus"
    type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur"
    type="blur"/>
    </af:inputText>
    <af:panelLabelAndMessage styleClass="label-msg"
    label="EMPLOYEE_ID"
    id="m26"/>
    <af:inputText label="" id="it7"
    value="#{ForgotUsernameBean.last4DigitEmpId}"
    required="true"
    autoSubmit="true"
    maximumLength="4"
    requiredMessageDetail="EMPLOYEE_ID">
    <af:clientAttribute name="noValueText"
    value="****"/>
    <af:clientListener method="adf$noValueText$onFocus"
    type="focus"/>
    <af:clientListener method="adf$noValueText$onBlur"
    type="blur"/>
    </af:inputText>
    <af:commandButton styleClass="pgrl_loginbutton login_button floatL"
    text="#{resources['COMMON.ENTER']}"
    partialTriggers="it5 it6 it7"
    disabled="#{ForgotUsernameBean.rmdateOfBirth==null||ForgotUsernameBean.last4DigitEmpId==null||ForgotUsernameBean.rmRestaurantNumber==null}"
    action="#{ForgotUsernameBean.validateUserDetailsRM}"
    id="m40"/>
    </af:subform>
    </af:showDetailItem>
    </af:panelTabbed>
    this is the code i used for paneltabbed.
    refresh method is called after each showdetailitem <af:clientListener method="refresh" type="disclosure"/>
    when i remove this clientlistener which calls refresh method,panel tab is working fine in safari.
    But the problem is watermark functionality works only if a refresh is given
    So now im stuck up.. :(
    Can somebody pls provide me a soln for this issue.... ??

  • Uploading files to website not working with Safari in Windows 7

    Safari version: 5.1.7
    OS: Windows 7
    Hi,
    I am a website owner, and I have a feature on my site where users can upload large (up to 50MB) music files to my server. The feature works in Firefox on OSX & Windows platforms and it also works in Safari on OSX. The uploading feature is not working with Safari for Windows. Do you have any idea why and how to fix this? It can't be an issue with my server as it works in other browsers fine and works fine in Safari for OS X.
    If you have any information on how to solve this or things for me to try to rectify this for use with Windows operating system it would be much appreciated.
    Thanks.

    GREAT NEWS!!!!
    I have solved this issue myself with some help from my a user on Microsoft Forums. The issue stems from the mime type of each Browser Chrome, IE, & Safari for Windows defaults as audio/wav. When the mime type is changed to audio/x-wav everything works. Firefox defaults to audio/x-wav and when changed to audio/wav it DOES NOT work.
    Once I input some code in my .php upload page to change the mimetype if audio/wav is detected everything works GREAT!!!
    So Here is what you need to do: Find your upload page and input this code:
    echo "<p>MIME Type: ".$_FILES["file"]["type"]."</p>";   
    right before your "If/then" statement of file type. For me it was near line 30 in my upload.php page, but I'm sure this is different for everyone.
    This will detect and DISPLAY the default mime type of your browser on the error page when your upload doesn't work. Once you know what mime type works for your file type then you can change your "if/then" statement for mime type upload to change your mime type to the correct one.
    I don't want to give the code here, because I'm sure it's specific to your file types and your site construction, but this should lead you on the right track.
    ***This is the solution if you ARE NOT ABLE to upload any certain file in a certain Browser. It has to do with mime type construction***
    I hope this helps others like it helped me!!!!!

  • Text entry boxes in CP6 - Enter key to validate input does not work in Safari?

    I'm using Captivate 6 to create a step by step walkthrough of some different processes that are commonly completed in my workplace. Some of the example processes have portions where text is entered to simulate a process the end user might need.  I have text entry boxes in these slides that require validation of the input to move along, with Enter used as a shortcut key. This works great in Firefox, Chrome and IE all the way down to 8....but if the course is run in Safari, the enter key does nothing.  Is this a known issue?
    Additional info: For many of these text entry boxes, the point is that it is a search field that has a little binoculars icon next to it that executes the search in the actual software we are simulating. For these slides I actually have the submit button associated with the text box made invisible (no fill, no stroke) and placed on top of the binoculars icon. This is an acceptable method of doing the task we're demonstrating, and just so happens to be a workaround for the enter key not working in Safari. However, a few places we have text entry that doesn't have the search/binocular icon next to it because there is a different goal on that section of the software we're visualizing. In those cases, there is no place for me to put an invisible submit button, and I can't make the submit button visible because that's not how the software we're demonstrating would work (thus defeating the purpose of the training).

    Sorry, this is a known bug with no fix available yet, but the makers of SwiftKey are aware of it and we will work with them to fix it: https://bugzilla.mozilla.org/show_bug.cgi?id=617298
    For now, the only solution is to use a different keyboard when using Firefox.

  • Skype click to call is not working in Safari 6 wit...

    My Skype click-to call is not working on Safari 6 with OS X 10.7.4.  The number highlights, but when I click on the number, nothing happens. I do have Skype installed on the computer and it works fine. I am running Skype for the mac 5.8.0.1027 and skype extension for safari 2.1.0.10405. I have two other macs which are running OS X 10.6.8 and Safari 5.1.7 and the click to call (2.1.0.10405) works great on both of those. I can not get it to work on the mac running Lion. Any help? Thanks

    I reverted back to Safari 5.1.7 from Safari 6 and now Click To Call works.
    For anyone wondering how I did this, you can view instructions here:
    http://apple.stackexchange.com/posts/59342/revisions
    I am new to using Macs and was able to follow these simple instructions. Takes a while for Pacifist to install 5.1.7, but it's worth it to have Click To Call working now.
    You will not be able to do this if you have Mountain Lion as Mountain Lion requires Safari 6.
    Lastly, the next time you update your Mac and it asks if you want to upgrade to Safari 6, say NO. At least not until you see that a fix has been posted here in these forums by either Skype or Apple.
    P.S. I posted this reply using OSX 10.7.4 and Safari 5.1.7

  • I am trying to reinstall Flash CS4 professional as the action script is not working but now I am getting an error: 2 message when I use the original CD to try and reinstall

    I can't get the original disk to work on a reinstall.  I get the message
    AdobeColorCommonSetRGB
    Error:
    Error 2.
    I teach a class using this program on Macintosh computers running 10.9.5 and the action script is not working.  It will work on any program designed using the 10.8 but if you design any animation on 10.9.5 the action script will not work for the buttons

    You would have to manually delete the color profiles in question... Run the cleaner tool and see if it gets you started.
    http://www.adobe.com/support/contact/cscleanertool.html
    Mylenium

  • XML create script is not working in Photoshop.

    Hi All
    Below i have mentioned script is not working. Kindly check and advice. Please do this needful
    #target photoshop;
    var createDefaultXML, createPresetChild, defaultXML, initDDL, presetFile, presetNamesArray, readXML, resPath, win, windowResource, writeXML, xmlData,
      __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };
    windowResource = "dialog {  \
        orientation: 'column', \
        alignChildren: ['fill', 'top'],  \
        size:[410, 210], \
        text: 'DropDownList Demo - www.davidebarranca.com',  \
        margins:15, \
        controlsPanel: Panel { \
            orientation: 'column', \
            alignChildren:'right', \
            margins:15, \
            text: 'Controls', \
            controlsGroup: Group {  \
                orientation: 'row', \
                alignChildren:'center', \
                st: StaticText { text: 'Amount:' }, \
                mySlider: Slider { minvalue:0, maxvalue:500, value:300, size:[220,20] }, \
                myText: EditText { text:'300', characters:5, justify:'left'} \
        presetsPanel: Panel { \
            orientation: 'row', \
            alignChildren: 'center', \
            text: 'Presets', \
            margins: 14, \
            presetList: DropDownList {preferredSize: [163,20] }, \
            saveNewPreset: Button { text: 'New', preferredSize: [44,24]}, \
            deletePreset: Button { text: 'Remove', preferredSize: [60,24]}, \
            resetPresets: Button { text: 'Reset', preferredSize: [50,24]} \
        buttonsGroup: Group{\
            alignChildren: 'bottom',\
            cancelButton: Button { text: 'Cancel', properties:{name:'cancel'},size: [60,24], alignment:['right', 'center'] }, \
            applyButton: Button { text: 'Apply', properties:{name:'apply'}, size: [100,24], alignment:['right', 'center'] }, \
    win = new Window(windowResource);
    xmlData = null;
    presetNamesArray = [];
    resPath = File($.fileName).parent;
    presetFile = new File("" + resPath + "/presets.xml");
    defaultXML = <presets>
            <preset default="true">
                <name>select...</name>
                <value></value>
            </preset>
            <preset default="true">
                <name>Default value</name>
                <value>100</value>
            </preset>
            <preset default="true">
                <name>Low value</name>
                <value>10</value>
            </preset>
            <preset default="true">
                <name>High value</name>
                <value>400</value>
            </preset>
        </presets>;
    writeXML = function(xml, file) {
      if (file == null) {
        file = presetFile;
      try {
        file.open("w");
        file.write(xml);
        file.close();
      } catch (e) {
        alert("" + e.message + "\nThere are problems writing the XML file!");
      return true;
    readXML = function(file) {
      var content;
      if (file == null) {
        file = presetFile;
      try {
        file.open('r');
        content = file.read();
        file.close();
        return new XML(content);
      } catch (e) {
        alert("" + e.message + "\nThere are problems reading the XML file!");
      return true;
    createDefaultXML = function() {
      if (!presetFile.exists) {
        writeXML(defaultXML);
        void 0;
      } else {
        presetFile.remove();
        createDefaultXML();
      return true;
    createPresetChild = function(name, value) {
      var child;
      return child = <preset default="false">
                    <name>{name}</name>
                    <value>{value}</value>
                </preset>;
    initDDL = function() {
      var i, nameListLength;
      if (!presetFile.exists) {
        createDefaultXML();
        initDDL();
      xmlData = readXML();
      if (win.presetsPanel.presetList.items.length !== 0) {
        win.presetsPanel.presetList.removeAll();
      nameListLength = xmlData.preset.name.length();
      presetNamesArray.length = 0;
      i = 0;
      while (i < nameListLength) {
        presetNamesArray.push(xmlData.preset.name[i].toString());
        win.presetsPanel.presetList.add("item", xmlData.preset.name[i]);
        i++;
      win.presetsPanel.presetList.selection = win.presetsPanel.presetList.items[0];
      return true;
    win.controlsPanel.controlsGroup.myText.onChange = function() {
      return this.parent.mySlider.value = Number(this.text);
    win.controlsPanel.controlsGroup.mySlider.onChange = function() {
      return this.parent.myText.text = Math.ceil(this.value);
    win.presetsPanel.presetList.onChange = function() {
      if (this.selection !== null && this.selection.index !== 0) {
        win.controlsPanel.controlsGroup.myText.text = xmlData.preset[this.selection.index].value;
        win.controlsPanel.controlsGroup.mySlider.value = Number(xmlData.preset[this.selection.index].value);
      return true;
    win.presetsPanel.resetPresets.onClick = function() {
      if (confirm("Warning\nAre you sure you want to reset the Preset list?", true)) {
        createDefaultXML();
        return initDDL();
    win.presetsPanel.saveNewPreset.onClick = function() {
      var child, presetName;
      presetName = prompt("Give your preset a name!\nYou'll find it in the preset list.", "User Preset", "Save new Preset");
      if (presetName == null) {
        return;
      if (__indexOf.call(presetNamesArray, presetName) >= 0) {
        alert("Duplicate name!\nPlease find another one.");
        win.presetsPanel.saveNewPreset.onClick.call();
      child = createPresetChild(presetName, win.controlsPanel.controlsGroup.myText.text);
      xmlData.appendChild(child);
      writeXML(xmlData);
      initDDL();
      return win.presetsPanel.presetList.selection = win.presetsPanel.presetList.items[win.presetsPanel.presetList.items.length - 1];
    win.presetsPanel.deletePreset.onClick = function() {
      if (xmlData.preset[win.presetsPanel.presetList.selection.index][email protected]() === "true") {
        alert("Can't delete \"" + xmlData.preset[win.presetsPanel.presetList.selection.index].name + "\"\nIt's part of the default set of Presets");
        return;
      if (confirm("Are you sure you want to delete \"" + xmlData.preset[win.presetsPanel.presetList.selection.index].name + "\" preset?\nYou can't undo this.")) {
        delete xmlData.preset[win.presetsPanel.presetList.selection.index];
      writeXML(xmlData);
      return initDDL();
    initDDL();
    win.show();

    You should use the scripting forum. I only hack at Photoshop scripting when I need to.  What I put together is usually made from code I find on the web and modify to do what I want to do. When it come down to it I really don't know javascript.  Your javascript knowledge is way beyond mine.  To tell the truth I don'e even understand the syntax of you first statment after target Photoshop.
    I have a programming background but most of mine was was in design, debugging, and developing programming development tools.  I retired back in 2002.   I never got into Object orientated programming though it was in full swing as was C programming along with java.  Microsoft had given up on its object orientate desktop OS2 system sidetracking IBM with it.
    I did not look closely at your code.  That something you should do. You know more then I do.....
    In the scripting forum you will get better help then I can give you.   Many of the better scriptwriter seem to have left there becase of  frustration with Adobe support. However there are some that still visit there regularly.
    You may want to look into Xtools there open source and the author still visits the forum from time to time. I have use some of his scripts but have never gotten into his library I'm retired I only play a little to keep some brain function. ps-scripts - Browse /xtools at SourceForge.net

Maybe you are looking for

  • Portability between Designer 9i r2 and Designer 10g r2, and deployment?

    I have some questions to ask... I have been given the job of adding Oracle to the reportoire of databases available to be used for a commercial Delphi application. The idea is to create a database in 10g that this application can talk to. I wish to d

  • How do you tell what RAM chips your RAM has without seeing the actual chips?

    I was wondering about the possibility of actually having Winbond chips in Corsair RAM as I have the Corsair TwinX 1024 DDR3200LL RAM and my system has been completely stable for a month and a half with no BSODs.  Granted, I have not yet overclocked,

  • How do I turn off MAIL application as DEFAULT ?

    Can anyone suggest how I can TURN OFF the MAIL application from opening as an automatic default whenever I click on "contact us" on a web page, so that MAIL does NOT automatically open ? I prefer nothing to open automatically ! If anything I'd like a

  • Online project progress and status implementation.

    Hi friends, What are the different methods availalbe in SAP for integrating project Sites with Project office for online progress and status implementation. Thank you, Prashant

  • Syntax Check Pls - MySQL

    $query_rs_tracks = "SELECT * FROM s404_tracks WHERE track_releaseid =$_POST[release_id]"; Can someone tell me where the error is on this line pls.