Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FriendlyCaptcha/friendly-challenge
/ functions
Functions
60 in github.com/FriendlyCaptcha/friendly-challenge
⨍
Functions
60
◇
Types & classes
18
↓ 10 callers
Function
n
(a)
src/polyfills.min.js:2
↓ 8 callers
Function
e
()
src/polyfills.min.js:6
↓ 8 callers
Function
i
(e)
src/polyfills.min.js:6
↓ 6 callers
Function
getTemplate
* Base template used for all widget states * The reason we use raw string interpolation here is so we don't have to ship something like lit-html.
src/dom.ts:14
↓ 6 callers
Function
r
(a,b)
src/polyfills.min.js:3
↓ 5 callers
Function
b
(t,e)
src/polyfills.min.js:8
↓ 4 callers
Function
f
(t)
src/polyfills.min.js:8
↓ 4 callers
Function
getErrorHTML
( fieldName: string, l: Localization, errorDescription: string, recoverable = true, headless = false
src/dom.ts:91
↓ 4 callers
Method
init
(forceStart?: boolean)
src/captcha.ts:107
↓ 4 callers
Method
makeButtonStart
* Add a listener to the button that calls `this.start` on click.
src/captcha.ts:163
↓ 4 callers
Function
s
()
src/polyfills.min.js:6
↓ 4 callers
Method
start
()
src/captcha.ts:221
↓ 3 callers
Function
d
(c)
src/polyfills.min.js:4
↓ 3 callers
Function
o
(e)
src/polyfills.min.js:6
↓ 3 callers
Method
terminateWorkers
()
src/workergroup.ts:153
↓ 3 callers
Function
v
(a)
src/polyfills.min.js:3
↓ 2 callers
Function
a
()
src/polyfills.min.js:6
↓ 2 callers
Function
css
()
rollup.library.config.ts:12
↓ 2 callers
Function
css
()
rollup.widget.config.ts:10
↓ 2 callers
Function
h
(t)
src/polyfills.min.js:8
↓ 2 callers
Function
ts
()
rollup.library.config.ts:22
↓ 2 callers
Function
ts
()
rollup.widget.config.ts:20
↓ 2 callers
Function
u
(a)
src/polyfills.min.js:2
↓ 1 callers
Function
c
()
src/polyfills.min.js:8
↓ 1 callers
Function
decodeBase64Puzzle
(base64Puzzle: string)
src/puzzle.ts:26
↓ 1 callers
Function
executeOnceOnFocusInEvent
(element: HTMLElement, listener: (this: HTMLElement, fe: FocusEvent) => any)
src/dom.ts:165
↓ 1 callers
Method
expire
()
src/captcha.ts:212
↓ 1 callers
Function
fetchAndRetryWithBackoff
(url: RequestInfo, opts: RequestInit, n: number)
src/puzzle.ts:90
↓ 1 callers
Function
findCaptchaElements
()
src/dom.ts:109
↓ 1 callers
Function
findParentFormElement
(element: HTMLElement)
src/dom.ts:152
↓ 1 callers
Function
getDoneHTML
(fieldName: string, l: Localization, solution: string, data: DoneMessage)
src/dom.ts:69
↓ 1 callers
Function
getExpiredHTML
(fieldName: string, l: Localization)
src/dom.ts:87
↓ 1 callers
Function
getFetchingHTML
(fieldName: string, l: Localization)
src/dom.ts:58
↓ 1 callers
Function
getPuzzle
(urlsSeparatedByComma: string, siteKey: string, lang: Localization)
src/puzzle.ts:40
↓ 1 callers
Function
getReadyHTML
(fieldName: string, l: Localization)
src/dom.ts:42
↓ 1 callers
Function
getRunningHTML
(fieldName: string, l: Localization)
src/dom.ts:65
↓ 1 callers
Method
handleDone
* This is to be called when the puzzle has been successfully completed. * Here the hidden field gets updated with the solution. * @param data me
src/captcha.ts:292
↓ 1 callers
Method
initWorkerGroup
()
src/captcha.ts:183
↓ 1 callers
Function
injectStyle
(styleNonce: string | null = null)
src/dom.ts:121
↓ 1 callers
Function
isHeadless
()
src/headless.ts:14
↓ 1 callers
Function
l
(a)
src/polyfills.min.js:2
↓ 1 callers
Method
loadLanguage
* Loads the configured language, or a language passed to this function. * Note that only the next update will be in the new language, consider call
src/captcha.ts:133
↓ 1 callers
Method
onWorkerError
(e: any)
src/captcha.ts:171
↓ 1 callers
Function
q
(a,b)
src/polyfills.min.js:2
↓ 1 callers
Function
setup
()
src/main.ts:14
↓ 1 callers
Method
setupSolver
(forceJS = false)
src/workergroup.ts:122
↓ 1 callers
Function
t
(a)
src/polyfills.min.js:2
↓ 1 callers
Function
updateProgressBar
(element: HTMLElement, data: ProgressMessage)
src/dom.ts:139
Method
constructor
(element: HTMLElement, options: Partial<WidgetInstanceOptions> = {})
src/captcha.ts:77
Method
constructor
(message: string)
src/puzzle.ts:9
Method
destroy
* Cleans up the widget entirely, removing any DOM elements and terminating any background workers. * After it is destroyed it can no longer be used
src/captcha.ts:308
Method
init
()
src/workergroup.ts:41
Function
m
()
src/polyfills.min.js:2
Function
p
(t)
src/polyfills.min.js:8
Method
reset
* Resets the widget to the initial state. * This is useful in situations where the page does not refresh when you submit and the form may be re-sub
src/captcha.ts:326
Method
start
(puzzle: Puzzle)
src/workergroup.ts:129
Function
transform
(code, id)
rollup.library.config.ts:14
Function
transform
(code, id)
rollup.widget.config.ts:12
Function
w
(a)
src/polyfills.min.js:4
Function
x
(a)
src/polyfills.min.js:4