Sign in to follow this  
Followers 0
Arclite86

[SOLVED] put text in box sometimes failes..

4 posts in this topic

#1 ·  Posted (edited)

this message box

<textarea id="id_content" name="content" cols="40" rows="10"></textarea>

it has a max of 140 characters when i try to put a text of 130 it fails but and it only works  when paste a text of 80 characters

code that only works with 80 characters

_FFXPath("//form//textarea [@id='id_content']")

_FFCmd("FFau3.xpath.value='" & $message2 & "'")

has somebody an idea to past 130 characters in this box,

I did thought of  pasting a text of 65 and past the other part of 65 characters but i dont know how to do this 

i have tried to do this:

_FFXPath("//form//textarea [@id='id_content']")

_FFCmd("FFau3.xpath.value='" & $message2 & "'")  ;~ first part of the text


sleep(300)

_FFXPath("//form//textarea [@id='id_content']")

_FFCmd("FFau3.xpath.value='" & $message3 & "'")   ;~ second part of the text

can somebody hepl me please

 page source:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Schedule your Tweets - futuretweets.com</title>
<link href="http://media.futuretweets.com/css/min.v1374768088.css" rel="stylesheet" type="text/css" media="screen" />
<link href="http://media.futuretweets.com/css/cal.css" rel="stylesheet" type="text/css" media="screen" />
<!--[if IE 7]>
<link rel="stylesheet" href="http://media.futuretweets.com//css/iesux.css" type="text/css" media="screen" />
<![endif]-->

<meta name ="keywords" content ="schedule tweets, schedule twitter, twitter, twitter planner" />
<meta name ="description" content ="FutureTweets is a basic Twitter application that allows users to schedule their updates. You can also schedule reccuring updates daily, weekly, monthly or yearly" />
<link rel="shortcut icon" href="/favicon.ico" />
<!-- FutureTweets.com is a project by solidflux.nl -->
</head>
<body id="home">
    <script type="text/javascript"> 
    var __ptec = __ptec || []; 
    __ptec.push(["_promo_spots", "2"]); 
    __ptec.push(["_rest_spots", "1"]); 
    __ptec.push(["_app_id", "1"]); 
    __ptec.push(["_width", "155"]); 
    __ptec.push(["_height", "100"]); 
    __ptec.push(["_border_width", "1"]); 
    __ptec.push(["_border_style", "solid"]); 
    __ptec.push(["_border_color", "#cccccc"]); 
    __ptec.push(["_bg_color", "#E5EFEB"]); 
      
    (function() { 
    function async_load(){ 
        var s = document.createElement("script"); 
        s.type = "text/javascript"; 
        s.async = true; 
        s.src = "http://static.beta.promotweeps.com/js/pt3.js"; 
        s.id = "_ptec"; 
        var x = document.getElementsByTagName("script")[0]; 
        x.parentNode.insertBefore(s, x); 
    } 
    if (window.attachEvent) 
        window.attachEvent("onload", async_load); 
    else 
        window.addEventListener("load", async_load, false); 
    })(); 
    </script>

    <div id="wrapper"><div id="logo_temp"><a href="/" title="FutureTweets Home"><img alt="FutureTweets" src="http://media.futuretweets.com/img/ft_logo.png" /></a></div>
    <div id="sidebar"><script type="text/javascript">
Vertical1239506 = false;
ShowAdHereBanner1239506 = true;
RepeatAll1239506 = false;
NoFollowAll1239506 = false;
BannerStyles1239506 = new Array(
    "a{display:block;font-size:11px;color:#888;font-family:verdana,sans-serif; width: 135px; height: 135px; text-decoration:none;overflow:hidden;}",
    "a img{margin: 5px;}",
    "a:hover img{margin: 0;}",
    "img{border:0;clear:right;}",
    "a.adhere{color:#666;font-weight:bold;font-size:12px;border: 0px; margin:5px; solid #E5EFEB;background:#e7e7e7;text-align:center;width: 120px;}",
    "a.adhere:hover{border: 5px solid #48B0B1;background:#ddd;color:#333; width: 115px; height: 113px;}"
);
document.write(unescape("%3Cscript src='"+document.location.protocol+"//s3.buysellads.com/1239506/1239506.js?v="+Date.parse(new Date())+"' type='text/javascript'%3E%3C/script%3E"));
</script>
<a id="fbpromo" href="http://followbro.com" target="_blank" title="Check who unfriends you on Facebook and who unfollows you on Twitter"><img src="http://media.futuretweets.com//img/FB-125x125-v2.gif" height="125" width="125" /></a>
<!-- PromoTweeps.com Zone Code -->
<div id="ptec_1" class="ptec"></div>
<!-- End PromoTweeps.com Zone Code -->

<!--<a href="http://laterbro.com/" id="lb-ad" style=""><img src="http://media.futuretweets.com/img/laterbro-ad.gif" alt="LaterBro.com"/></a>-->
</div>
    <div id="menu">
        <ul>
            <li><a class="bgblue selected" href="/twitter/schedule/">Schedule</a></li>
            <li><a class="bglblue" href="/settings/">Settings</a></li>
            <li><a class="bggreen" href="/logout/">Logout</a></li>
        </ul>
    </div>
    
    <div id="headercontent">
    <h1>Hi @newold93, schedule a Tweet</h1>
        <p class="notification"></p>
        
        <form id="twitter-schedule-form" method="post" action="/twitter/schedule/">
        <div class="fieldWrapper" id="content-holder">
                <label for="id_content">Tweet content:</label><span id="char-count">140</span>
        <textarea id="id_content" rows="10" cols="40" name="content"></textarea>
    </div>
    <div class="fieldWrapper" id="reoc-holder">
        <input type="hidden" name="reoccurance" value="0" />

        <br />Send some <a href="#" id="nonasciilove"></a>
        <br /><span id="flipDaTweet">Flip the Tweet</span> <input type="checkbox" id="flipCheck"/>
        <div id="nalovekeys">
                 <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#"></a> <a href="#">©</a> <a href="#">®</a> <a href="#"></a> <a href="#"></a> <a href="#">£</a> <a href="#">ƒ</a> <a href="#">$</a> <a href="#">«</a> <a href="#">»</a> <a href="#">π</a> <a href="#">ß</a> <a href="#"></a> <a href="#">%</a><a href=""></a>
                </div>
    </div>
    <div class="fieldWrapper" id="pub-holder">
        <label for="id_publish">Publish date:</label>
        <input type="text" name="publish" value="2014-04-30 12:53:40" id="id_publish" />
        <div id="cal-holder"><input id="date" name="date" type="text" /></div>  
        <input type="text" name="time2" id="time2" /> <a href="#" id="time2_toggler">.</a>
                <div id="time2_picker" class="time_picker_div"></div>
    </div>
    <div class="fieldWrapper" id="show-holder">
        
        
    </div>
        <input type="submit" value="schedule" id="submit-btn"> 
        </form>
        
    </div>

    <div id="content">
    
<div id="home_content">
    <h2>Scheduled tweets</h2>
    
        No futuretweets yet... Why don't you add one??!?
        
</div>
<a href="/twitter/garbage/"><img src="http://media.futuretweets.com/img/trashcan_empty.png" alt="Open garbage bin" align="right" /></a>
    
    </div>
    <div id="footer">
        Powered by <a href="http://www.djangoproject.com">Django</a> | &copy;2010 <a title="Django development, communities, webdevelopment, webdesign, Amsterdam" href="http://www.solidflux.nl"> <img alt="SolidFlux WebWorks" src="http://www.solidflux.nl/images/balletje.png"/> </a>
    </div>
</div>

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1134130-27";
urchinTracker();
</script>


<script type="text/javascript" src="http://media.futuretweets.com/js/mootools.v1.11.js"></script>
<script type="text/javascript" src="http://media.futuretweets.com/js/nogray_time_picker_min.js"></script>
<script type="text/javascript" src="http://media.futuretweets.com/js/calendar.js"></script>

<script type="text/javascript" src="http://media.futuretweets.com/js/min.sched.v1275060572.js" charset="utf-8"></script>



<script type="text/javascript" charset="utf-8">
  var is_ssl = ("https:" == document.location.protocol);
  var asset_host = is_ssl ? "https://s3.amazonaws.com/getsatisfaction.com/" : "http://s3.amazonaws.com/getsatisfaction.com/";
  document.write(unescape("%3Cscript src='" + asset_host + "javascripts/feedback-v2.js' type='text/javascript'%3E%3C/script%3E"));
</script>

<script type="text/javascript" charset="utf-8">
  var feedback_widget_options = {};

  feedback_widget_options.display = "overlay";  
  feedback_widget_options.company = "futuretweetscom";
  feedback_widget_options.placement = "right";
  feedback_widget_options.color = "#48B0B1";
  feedback_widget_options.style = "idea";
  
  var feedback_widget = new GSFN.feedback_widget(feedback_widget_options);
</script>
</body>
</html>

error that i get

__FFSend: try{FFau3.xpath.value='textlalalalalalalalalalallalalalalkadlallalalalala..............................................'}catch(e){'_FFCmd_Err';};
__FFSend: ;
__FFRecv: 

__FFWaitForRepl ==> Error return value: MozRepl ....>
Edited by Arclite86

Share this post


Link to post
Share on other sites



I already solved it

Share this post


Link to post
Share on other sites

What was your solution? Post it here so that others may benefit. :thumbsup:

Share this post


Link to post
Share on other sites

What was your solution? Post it here so that others may benefit. :thumbsup:

the sollution was very simple I placed an " '  " character in my text and that was not allowed when i removed the ' sign it worked :D  :P

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0