https://github.com/steelydylan/findinpage
https://github.com/steelydylan/findinpage
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/steelydylan/findinpage
- Owner: steelydylan
- Created: 2016-06-24T15:23:05.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-06-24T15:31:13.000Z (almost 10 years ago)
- Last Synced: 2026-01-13T00:52:03.490Z (5 months ago)
- Language: HTML
- Size: 42 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
findInPage
==========
Usage
-----
```html
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Suscipit magni consequuntur ex perferendis iusto tempora omnis id
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perspiciatis, dignissimos atque enim, debitis nesciunt unde ipsum? Saepe fugiat molestias consequuntur quam, inventore quod nulla! At tempora molestiae sed consequatur ipsam.
accusamus qui dicta, fugit fugiat necessitatibus. Consectetur eos, eveniet aperiam consequatur ipsa reiciendis!
$(".search").findInPage({keyword:"am"});
```
Result
-----

Option
-----
- tag (which element tag to use to enclose the strings)
- mark (className of the tag to highlight the strings)
- caseSensitive (If you want to search words with the correct case, set it as true)