Advertisement
Guest User

Untitled

a guest
Oct 10th, 2019
777
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 8.34 KB | None | 0 0
  1. <libraryContent>
  2.   <libraryObject>
  3.     <name>Yandex: Remove Button</name>
  4.     <version>8.1.5-29704</version>
  5.     <description></description>
  6.   </libraryObject>
  7.   <configurations>
  8.     <configuration version="1.3.1" mwg-version="8.1.5-29704" id="com.scur.engine.htmlopener.842" defaultRights="2" templateId="com.scur.template.engine.htmlopener" name="HTML Opener: Yandex" targetId="com.scur.engine.htmlopener">
  9.       <acElements/>
  10.       <configurationProperties>
  11.         <configurationProperty key="NodeNameInlineList" type="com.scur.type.inlineList" listType="com.scur.type.complex.nodestoopen" encrypted="false" value="&lt;list version=&quot;1.0.3.41&quot; mwg-version=&quot;7.3.2.3.0-16052&quot; classifier=&quot;Other&quot; systemList=&quot;false&quot; structuralList=&quot;false&quot; defaultRights=&quot;2&quot;>&#xa;  &lt;description>&lt;/description>&#xa;  &lt;content>&#xa;    &lt;listEntry>&#xa;      &lt;complexEntry defaultRights=&quot;2&quot;>&#xa;        &lt;configurationProperties>&#xa;          &lt;configurationProperty key=&quot;nodeName&quot; type=&quot;com.scur.type.string&quot; value=&quot;div&quot;/>&#xa;          &lt;configurationProperty key=&quot;onlyOpenStartTags&quot; type=&quot;com.scur.type.boolean&quot; value=&quot;false&quot;/>&#xa;        &lt;/configurationProperties>&#xa;      &lt;/complexEntry>&#xa;      &lt;description>&lt;/description>&#xa;    &lt;/listEntry>&#xa;  &lt;/content>&#xa;&lt;/list>"/>
  12.         <configurationProperty key="OnlyOpenExternalLinks" type="com.scur.type.boolean" encrypted="false" value="false"/>
  13.       </configurationProperties>
  14.       <description></description>
  15.     </configuration>
  16.   </configurations>
  17.   <ruleGroup id="833" defaultRights="2" name="Yandex: Remove Button" enabled="true" cycleRequest="true" cycleResponse="false" cycleEmbeddedObject="true" cloudSynced="true">
  18.     <acElements/>
  19.     <condition always="false">
  20.       <expressions>
  21.         <conditionExpression openingBracketCount="0" closingBracketCount="0" operatorId="com.scur.operator.matches">
  22.           <propertyInstance useMostRecentConfiguration="false" propertyId="com.scur.engine.system.url.host"/>
  23.           <parameter valueTyp="3" typeId="com.scur.type.regex">
  24.             <value>
  25.               <stringValue value="*ya*.ru" stringModifier="false" typeId="com.scur.type.regex"/>
  26.             </value>
  27.           </parameter>
  28.         </conditionExpression>
  29.       </expressions>
  30.     </condition>
  31.     <description></description>
  32.     <rules>
  33.       <rule id="836" enabled="true" name="HTML Opener: Yandex">
  34.         <description></description>
  35.         <immediateActionContainers>
  36.           <enableEngineActionContainer configurationId="com.scur.engine.htmlopener.842" engineId="com.scur.engine.htmlopener"/>
  37.         </immediateActionContainers>
  38.         <actionContainer actionId="com.scur.mainaction.continue"/>
  39.         <condition always="false">
  40.           <expressions>
  41.             <conditionExpression openingBracketCount="0" closingBracketCount="0" operatorId="com.scur.operator.equals">
  42.               <propertyInstance useMostRecentConfiguration="false" propertyId="com.scur.engine.system.cycle.name"/>
  43.               <parameter valueTyp="3" typeId="com.scur.type.string">
  44.                 <value>
  45.                   <stringValue value="Request" stringModifier="true" typeId="com.scur.type.string"/>
  46.                 </value>
  47.               </parameter>
  48.             </conditionExpression>
  49.           </expressions>
  50.         </condition>
  51.       </rule>
  52.       <rule id="843" enabled="true" name="Content-Length: Remove Header">
  53.         <description>The HTML rules will modify the content length. So we delete this header so that user agents will not complain about getting not that much data as promised.</description>
  54.         <immediateActionContainers>
  55.           <executeActionContainer>
  56.             <procedureValue procedureId="com.scur.engine.headerfilter.removeheaders">
  57.               <parameters>
  58.                 <entry>
  59.                   <string>com.scur.engine.headerfilter.removeheaders.headername</string>
  60.                   <parameter valueTyp="3">
  61.                     <value>
  62.                       <stringValue value="Content-Length" stringModifier="true" typeId="com.scur.type.string"/>
  63.                     </value>
  64.                   </parameter>
  65.                 </entry>
  66.               </parameters>
  67.             </procedureValue>
  68.           </executeActionContainer>
  69.         </immediateActionContainers>
  70.         <actionContainer actionId="com.scur.mainaction.continue"/>
  71.         <condition always="false">
  72.           <expressions>
  73.             <conditionExpression openingBracketCount="0" closingBracketCount="0" operatorId="com.scur.operator.equals">
  74.               <propertyInstance useMostRecentConfiguration="false" propertyId="com.scur.engine.headerfilter.response.headers.hasheader">
  75.                 <parameters>
  76.                   <entry>
  77.                     <string>com.scur.engine.headerfilter.response.headers.hasheader.headername</string>
  78.                     <parameter valueTyp="3">
  79.                       <value>
  80.                         <stringValue value="Content-Length" stringModifier="true" typeId="com.scur.type.string"/>
  81.                       </value>
  82.                     </parameter>
  83.                   </entry>
  84.                 </parameters>
  85.               </propertyInstance>
  86.               <parameter valueTyp="3" valueId="com.scur.type.boolean.true" typeId="com.scur.type.boolean"/>
  87.             </conditionExpression>
  88.           </expressions>
  89.         </condition>
  90.       </rule>
  91.       <rule id="2203" enabled="true" name="Yandex: Remove button">
  92.         <description></description>
  93.         <immediateActionContainers/>
  94.         <actionContainer actionId="com.scur.mainaction.remove"/>
  95.         <condition always="false">
  96.           <expressions>
  97.             <conditionExpression openingBracketCount="0" closingBracketCount="0" operatorId="com.scur.operator.equals">
  98.               <propertyInstance useMostRecentConfiguration="false" propertyId="com.scur.engine.htmlelementfilter.elementname"/>
  99.               <parameter valueTyp="3" typeId="com.scur.type.string">
  100.                 <value>
  101.                   <stringValue value="div" stringModifier="true" typeId="com.scur.type.string"/>
  102.                 </value>
  103.               </parameter>
  104.             </conditionExpression>
  105.             <conditionExpression prefix="AND" openingBracketCount="0" closingBracketCount="0" operatorId="com.scur.operator.equals">
  106.               <propertyInstance useMostRecentConfiguration="false" propertyId="com.scur.engine.htmlelementfilter.elementhasattribute">
  107.                 <parameters>
  108.                   <entry>
  109.                     <string>com.scur.engine.htmlelementfilter.elementhasattribute.attributename</string>
  110.                     <parameter valueTyp="3">
  111.                       <value>
  112.                         <stringValue value="class" stringModifier="true" typeId="com.scur.type.string"/>
  113.                       </value>
  114.                     </parameter>
  115.                   </entry>
  116.                 </parameters>
  117.               </propertyInstance>
  118.               <parameter valueTyp="3" valueId="com.scur.type.boolean.true" typeId="com.scur.type.boolean"/>
  119.             </conditionExpression>
  120.             <conditionExpression prefix="AND" openingBracketCount="0" closingBracketCount="0" operatorId="com.scur.operator.equals">
  121.               <propertyInstance useMostRecentConfiguration="false" propertyId="com.scur.engine.htmlelementfilter.elementattribute">
  122.                 <parameters>
  123.                   <entry>
  124.                     <string>com.scur.engine.htmlelementfilter.elementattribute.attributename</string>
  125.                     <parameter valueTyp="3">
  126.                       <value>
  127.                         <stringValue value="class" stringModifier="true" typeId="com.scur.type.string"/>
  128.                       </value>
  129.                     </parameter>
  130.                   </entry>
  131.                 </parameters>
  132.               </propertyInstance>
  133.               <parameter valueTyp="3" typeId="com.scur.type.string">
  134.                 <value>
  135.                   <stringValue value="search2__button" stringModifier="true" typeId="com.scur.type.string"/>
  136.                 </value>
  137.               </parameter>
  138.             </conditionExpression>
  139.           </expressions>
  140.         </condition>
  141.       </rule>
  142.     </rules>
  143.     <ruleGroups/>
  144.   </ruleGroup>
  145. </libraryContent>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement