1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

[Get] Normal Text to iMacros Text Converter [HTML+JavaScript]

Discussion in 'Black Hat SEO Tools' started by Web Echo, Sep 21, 2013.

Tags:
  1. Web Echo

    Web Echo Regular Member

    Joined:
    Apr 5, 2012
    Messages:
    352
    Likes Received:
    135
    Location:
    Online
    I am not sure if I am posting this in correct forum. I am sorry if posting in wrong forum.

    I devoped this simple tool to convert advertising text copy to imacros text form. It will replace space with <SP> tag and new line with <BR> tag. That's it.

    Code:
    <html>
    <head>
    </head>
    <body>
    
    <script>
    function c2MT () {
    
    var mytext = '';
    
    lines=document.getElementById("myta").value.split('\n') 
    
    for (var i=0; i < lines.length; i++) {
    
    mytext = mytext + lines[i].replace(/ /g, '<SP>') + '<BR>';
    mytext = mytext.replace(/\r/,'');
    }
    
    document.getElementById("myta").value = mytext;
    
    }
    </script>
    
    <textarea id=myta cols=80 rows=20>
    </textarea>
    
    <button onClick="c2MT ();">Convert 2 iMacros Text Format</button>
    
    </body>
    </html>
    
    Store the above code in a .html file and run the .html file. Enter text in textarea and click converter button. It will display converted text in the textarea. Enjoy!
     
    • Thanks Thanks x 1
  2. Web Echo

    Web Echo Regular Member

    Joined:
    Apr 5, 2012
    Messages:
    352
    Likes Received:
    135
    Location:
    Online
    No one find it helpful? Am I the only one who like to keep testing different text with imacros script??
     
  3. bibinbabyp

    bibinbabyp Newbie

    Joined:
    May 20, 2014
    Messages:
    1
    Likes Received:
    0
    That was really helpful dear friend!
    Thanks a lot!
     
  4. paku8

    paku8 Newbie

    Joined:
    Aug 16, 2014
    Messages:
    1
    Likes Received:
    0
    really useful post. huge share.