SyntaxError: can not parse macro line 1

Discussions and Tech Support related to the iMacros Google Chrome extension.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

SyntaxError: can not parse macro line 1

by qAlex26 on Sat Feb 18, 2017 1: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.
qAlex26
 
Posts: 1
Joined: Sat Feb 18, 2017 1:25 am

Return to iMacros for Chrome

Who is online

Users browsing this forum: Google [Bot] and 2 guests

Website Monitoring