Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//*
- [self::input[not(translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'radio' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'checkbox' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'file')] | self::textarea][not(translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'submit' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'image' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'button' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'reset' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'hidden')][((./@id = 'Name' or ./@name = 'Name') or ./@id = //label[contains(normalize-space(string(.)), 'Name')]/@for or ./@placeholder = 'Name')] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//label[contains(normalize-space(string(.)), 'Name')]//.//*[self::input[not(translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'radio' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'checkbox' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'file')] | self::textarea][not(translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'submit' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'image' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'button' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'reset' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'hidden')] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//*
- [self::input[translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'radio' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'checkbox' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'file'] | self::select][not(translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'submit' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'image' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'button' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'reset' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'hidden')][((./@id = 'Name' or ./@name = 'Name') or ./@id = //label[contains(normalize-space(string(.)), 'Name')]/@for)] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//label[contains(normalize-space(string(.)), 'Name')]//.//*[self::input[translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'radio' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'checkbox' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'file'] | self::select][not(translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'submit' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'image' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'button' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'reset' or translate(./@type, 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'abcdefghijklmnopqrstuvwxyz') = 'hidden')] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//*[@data-fieldtype = 'filemanager' or @data-fieldtype = 'filepicker']
- /descendant::input[@id = substring-before(//p[contains(normalize-space(string(.)), 'Name')]/@id, '_label')] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//*[@data-passwordunmask='wrapper']
- /descendant::input[@id = 'Name' or @id = //label[contains(normalize-space(string(.)), 'Name')]/@for] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//descendant::span[@data-inplaceeditable][descendant::a[contains(./@title, 'Name')]] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
- not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
- normalize-space(descendant::div[
- contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
- ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
- normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
- and
- normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
- ] | //html/.//div[
- contains(concat(' ', normalize-space(@class), ' '), ' modal ')
- and
- normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
- ])[1])/.//fieldset[(./@id = 'Name' or ./legend[normalize-space(text())='Name']) and (@data-fieldtype='date' or @data-fieldtype='date_time')])[1]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement