Advertisement
stronk7

Untitled

Nov 4th, 2021
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.53 KB | None | 0 0
  1. (((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
  2. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  3. normalize-space(descendant::div[
  4. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  5. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  6. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  7. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  8. and
  9. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  10. ] | //html/.//div[
  11. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  12. and
  13. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  14. ])[1])/.//*
  15. [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
  16. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  17. normalize-space(descendant::div[
  18. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  19. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  20. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  21. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  22. and
  23. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  24. ] | //html/.//div[
  25. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  26. and
  27. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  28. ])[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
  29. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  30. normalize-space(descendant::div[
  31. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  32. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  33. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  34. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  35. and
  36. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  37. ] | //html/.//div[
  38. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  39. and
  40. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  41. ])[1])/.//*
  42. [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
  43. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  44. normalize-space(descendant::div[
  45. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  46. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  47. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  48. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  49. and
  50. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  51. ] | //html/.//div[
  52. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  53. and
  54. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  55. ])[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
  56. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  57. normalize-space(descendant::div[
  58. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  59. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  60. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  61. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  62. and
  63. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  64. ] | //html/.//div[
  65. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  66. and
  67. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  68. ])[1])/.//*[@data-fieldtype = 'filemanager' or @data-fieldtype = 'filepicker']
  69. /descendant::input[@id = substring-before(//p[contains(normalize-space(string(.)), 'Name')]/@id, '_label')] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
  70. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  71. normalize-space(descendant::div[
  72. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  73. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  74. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  75. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  76. and
  77. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  78. ] | //html/.//div[
  79. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  80. and
  81. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  82. ])[1])/.//*[@data-passwordunmask='wrapper']
  83. /descendant::input[@id = 'Name' or @id = //label[contains(normalize-space(string(.)), 'Name')]/@for] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
  84. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  85. normalize-space(descendant::div[
  86. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  87. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  88. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  89. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  90. and
  91. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  92. ] | //html/.//div[
  93. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  94. and
  95. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  96. ])[1])/.//descendant::span[@data-inplaceeditable][descendant::a[contains(./@title, 'Name')]] | ((//html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue ') and
  97. not(contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hidden ')) and
  98. normalize-space(descendant::div[
  99. contains(concat(' ', normalize-space(@class), ' '), ' moodle-dialogue-hd ')
  100. ]) = 'New report'] | //html/.//div[contains(concat(' ', normalize-space(@class), ' '), ' yui-dialog ') and
  101. normalize-space(descendant::div[@class='hd']) = 'New report'] | //html/.//div[@data-region='modal' and descendant::*[@data-region='title'] = 'New report'] | //html/.//div[
  102. contains(concat(' ', normalize-space(@class), ' '), ' modal-content ')
  103. and
  104. normalize-space(descendant::*[self::h4 or self::h5][contains(concat(' ', normalize-space(@class), ' '), ' modal-title ')]) = 'New report'
  105. ] | //html/.//div[
  106. contains(concat(' ', normalize-space(@class), ' '), ' modal ')
  107. and
  108. normalize-space(descendant::*[contains(concat(' ', normalize-space(@class), ' '), ' modal-header ')]) = 'New report'
  109. ])[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