SyntaxError: can not parse macro line 1

Discussions and Tech Support related to the iMacros Google Chrome extension.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
qAlex26
Posts: 1
Joined: Sat Feb 18, 2017 8:25 am

SyntaxError: can not parse macro line 1

Post by qAlex26 » Sat Feb 18, 2017 8:29 am

Hey I'm not really good with this and it gives me this error:
SyntaxError: can not parse macro line 1: <form id="block_form" method=post action=partner_upload_geo_restriction_edit>

this code its for blocking youtube videos countrys in bulk.

the code its:

Code: Select all

<form id="block_form" method=post action=partner_upload_geo_restriction_edit>
    <input name="video_id" type="hidden" value=>
    <label>
      <input type="radio" class="radio" id="block_choice" onchange='toggle_block_outside_by_ownership(1);' name="block_outside_by_ownship_True" value=1>
Block video outside my ownership.
    </label>
    <br/>
    <label>
      <input type="radio" class="radio" id="block_choice" onchange='toggle_block_outside_by_ownership(0);' name="block_outside_by_ownship_False" value=0>
Block or allow video in select countries
    </label>
    <br/><br/>
    <div id="div_action_auto">
      <input type=submit name="action_auto" id="save_auto_block"  value=Save>
    </div>

    <div id="block_by_country_select">
      <div id="view-status-box">
        <div id="block-buttons">
          <br/>
          <span>
            <input type=submit name="action_allow" id="allow" value=Allow>
            <input type=submit name="action_deny" id="deny" value=Block>
            <input type=submit name="action_remove" id="remove" value=Reset>
          </span>
          <span>
            <em id="tip_allow">this video to be viewed only in the countries selected.</em>
            <em id="tip_deny">this video from being viewed in the countries selected.</em>
            <em id="tip_remove">all restrictions (video can be viewed in all countries).</em>
          </span>
          <br/>
          <p id="quick-select"><strong id="selectAll">Select All</strong> | <strong id="deselectAll">Deselect All</strong></p>
        </div>
      </div>

        <div id="country-block">
  <div id="country-list">
    <ul>
        <li class="country-wrap">
          <input id="country_code_AF" type="checkbox" value="AF" name="iso_country_code"  />
          <label for="country_code_AF" >Afghanistan</label>
        </li>
        <li class="country-wrap">
          <input id="country_code_AL" type="checkbox" value="AL" name="iso_country_code"  />
          <label for="country_code_AL" >Albania</label>
        </li>
        <li class="country-wrap">
          <input id="country_code_DZ" type="checkbox" value="DZ" name="iso_country_code"  />
          <label for="country_code_DZ" >Algeria</label>
        </li>
    </ul>
  </div>
  </div>
  <script>initCountrySelect('country-list');</script>


    </div>
    <script>toggle_block_outside_by_ownership(false);</script>
  </form>
Any help please ?
Thank you.
Post Reply