1,273
edits
Dandonkulous (talk | contribs) |
Dandonkulous (talk | contribs) |
||
Line 117: | Line 117: | ||
#type - (<i>string</i>) The type of modifier being added. Can be 'matches', 'includes', 'styles', or 'script'. NOTE: If the only argument is an object, Page Mods assumes multiple modifiers will be passed in. | #type - (<i>string</i>) The type of modifier being added. Can be 'matches', 'includes', 'styles', or 'script'. NOTE: If the only argument is an object, Page Mods assumes multiple modifiers will be passed in. | ||
#data - | #data - | ||
#* matches: | #* matches: (<i>array</i>) an array of URL domain strings | ||
#* includes: | #* includes: (<i>array</i>) an array of URL asset strings | ||
#* styles: (<i>object</i>) expects object nodes | #* styles: (<i>object</i>) expects object nodes keyed with CSS selector strings, whose values are arrays of the CSS property strings you would like to remove. | ||
#* script: (<i>function reference</i>) removes the script associated | #* script: (<i>function reference</i>) removes the script associated with the function reference | ||
edits