Skip to content

Commit

Permalink
Update example script
Browse files Browse the repository at this point in the history
  • Loading branch information
scripthunter7 authored Feb 18, 2023
1 parent a3d6a7c commit 661e0bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ const { inspect } = require('util');

// Some inputs to test
const inputs = [
'div:-abp-has(> .some-class > a[href^="https://example.com"])',
"body:style(padding-top: 0 !important;):matches-media((min-width: 500px) and (max-width: 1000px))",
"section:upward(2):contains(aaa'bbb):xpath(//div[@class='some-class'])",
`div:-abp-has(> .some-class > a[href^="https://example.com"])`,
`body:style(padding-top: 0 !important;):matches-media((min-width: 500px) and (max-width: 1000px))`,
`section:upward(2):contains(aaa'bbb):xpath(//*[contains(text(),"()(cc")])`,
];

for (const input of inputs) {
Expand Down

0 comments on commit 661e0bf

Please sign in to comment.