Home: Difference between revisions
From BigID Developer Portal
No edit summary |
No edit summary |
||
Line 343: | Line 343: | ||
let json = await req.json(); | let json = await req.json(); | ||
let highlighter = json.map((item) => { | let highlighter = json.map((item) => { | ||
return { start: item.pos - 1, end: item.end - 1, | return { start: item.pos - 1, end: item.end - 1, word: item.word } | ||
}); | }); | ||
highlighter = highlighter.sort((a,b) => b.end-a.end); | highlighter = highlighter.sort((a,b) => b.end-a.end); | ||
Line 349: | Line 349: | ||
let text = document.getElementById('tryData').innerText; | let text = document.getElementById('tryData').innerText; | ||
for(high of highlighter) { | for(high of highlighter) { | ||
text = text.substring(0,high.start)+"< | text = text.substring(0,high.start)+"<span class='info "+high.word+"'>"+text.substring(high.start,high.end)+"</span>"+text.substring(high.end); | ||
} | } | ||
document.getElementById('tryData').innerHTML = text; | document.getElementById('tryData').innerHTML = text; |
Revision as of 22:21, 4 March 2022
See into your data
BigID allows you to sort through large swaths of data to see what really matters. Try it on the right.
Hello! Can you please process payment for [email protected] to
4199006507426062? Thank you!
Apps
Add custom logic and screens to your BigID system.
REST API
Manage BigID programmatically. Scan data, run SARs, and handle data breaches from anywhere.
Connectors
Scan any system, anywhere. Write your own connector in any programming language
Popular Articles: