https://github.com/coldspirit0/web-utils
https://github.com/coldspirit0/web-utils
escape online regex regex-escape utils ya-ru ya-search-engine yandex-search-engine
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/coldspirit0/web-utils
- Owner: ColdSpirit0
- License: agpl-3.0
- Created: 2021-05-28T08:37:46.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-01-11T14:53:51.000Z (5 months ago)
- Last Synced: 2025-01-11T15:39:33.013Z (5 months ago)
- Topics: escape, online, regex, regex-escape, utils, ya-ru, ya-search-engine, yandex-search-engine
- Language: HTML
- Homepage:
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# web-utils
Repo for site: https://coldspirit0.github.io/web-utils/
## Utils
* [Text escape tool for regex](https://coldspirit0.github.io/web-utils/text-escape-tool.html)
* [Add ya.ru search engine](https://coldspirit0.github.io/web-utils/ya-search-engine/ya_search.html)## Userscripts
### Xpath helper
**Install**: https://coldspirit0.github.io/web-utils/userscripts/xpath-helper.user.js
Replacement for the integrated $x() function in the browser. You can use CSS selectors and extended xpath selectors with class() function.
**Usage:**
> Note: you have to use backticks `` ` `` in the function and double quotes ` " ` as string delimiters.
```xpath
$x(`//*[class("some-class")]`)
// same as:
$x(`//*[contains(concat(" ", @class, " "), " some-class ")]`)
// or:
$x(`.some-class`)
```