Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ArthurHeitmann/photon-reddit
/ functions
Functions
1,192 in github.com/ArthurHeitmann/photon-reddit
⨍
Functions
1,192
◇
Types & classes
381
↓ 2 callers
Function
verifyTokenWorks
()
src/static/scripts/auth/auth.ts:113
↓ 2 callers
Function
videoPlayerFromPostData
({ postData, url }: { postData?: RedditPostData, url?: string })
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayerFactory.ts:14
↓ 2 callers
Function
vote
(fullname: string, voteDirection: VoteDirection)
src/static/scripts/api/redditApi.ts:225
↓ 2 callers
Method
vote
(dir: VoteDirection)
src/static/scripts/components/post/post.ts:484
↓ 2 callers
Function
voteDirectionFromLikes
(likes: boolean)
src/static/scripts/api/redditApi.ts:211
↓ 2 callers
Method
waitUntil
(f: any)
src/static/scripts/types/serviceworker.d.ts:8
↓ 1 callers
Function
_linksToInlineMedia
(elem: HTMLElement)
src/static/scripts/utils/htmlStuff.ts:115
↓ 1 callers
Function
_linksToSpa
(elem: HTMLElement)
src/static/scripts/utils/htmlStuff.ts:25
↓ 1 callers
Function
_numberToShort
(num: number)
src/static/scripts/utils/utils.ts:21
↓ 1 callers
Function
_replaceRedditLinks
(el: HTMLElement)
src/static/scripts/utils/htmlStuff.ts:51
↓ 1 callers
Function
_timePassedSince
(time: number)
src/static/scripts/utils/utils.ts:80
↓ 1 callers
Function
_timePassedSinceParts
(time: number)
src/static/scripts/utils/utils.ts:64
↓ 1 callers
Method
activate
()
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:39
↓ 1 callers
Method
addElement
(element: HTMLElement)
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:53
↓ 1 callers
Method
addEntries
(entryParams: DropDownEntryParam[])
src/static/scripts/components/misc/dropDown/dropDownArea/dropDownArea.ts:36
↓ 1 callers
Method
addEntry
()
src/static/scripts/components/global/photonSettings/filtersSetting.ts:47
↓ 1 callers
Method
addRotation
(deg: number)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:124
↓ 1 callers
Method
addShowHideListeners
(contentElem: HTMLElement)
src/static/scripts/components/misc/controlsBar/controlsBar.ts:48
↓ 1 callers
Method
addSubToMulti
(subData: RedditSubredditObj, multiPath: string, sourceIsMulti: boolean, subsList?: HTMLElement)
src/static/scripts/components/feed/feedInfo/feedInfoMulti.ts:198
↓ 1 callers
Function
applyAltVolumeFunc
(volume: number)
src/static/scripts/utils/utils.ts:602
↓ 1 callers
Function
authError
(msg: string)
src/static/scripts/auth/auth.ts:78
↓ 1 callers
Function
blockMessageUser
(msgFullname: string)
src/static/scripts/api/redditApi.ts:491
↓ 1 callers
Function
blockUser
(username: string)
src/static/scripts/api/redditApi.ts:502
↓ 1 callers
Method
buildExpandedView
Since posts & comments usually have many (animated) awards, only load the when the user really wants to see them
src/static/scripts/components/misc/awardsInfo/awardsInfo.ts:60
↓ 1 callers
Method
calcColumnCount
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:101
↓ 1 callers
Function
callbackWrapper
(...args)
src/static/scripts/utils/utils.ts:529
↓ 1 callers
Method
canAddPendingComments
()
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:110
↓ 1 callers
Method
cancelAllOtherAnimations
()
src/static/scripts/components/misc/animatedFullscreen/animatedFullscreen.ts:76
↓ 1 callers
Method
cancelRemove
()
src/static/scripts/components/misc/toast/toast.ts:92
↓ 1 callers
Function
capitalizeFirstLetter
(str: string)
src/static/scripts/utils/utils.ts:598
↓ 1 callers
Method
changeKey
(oldName: string, newName: string)
src/static/scripts/multiUser/userData.ts:126
↓ 1 callers
Function
checkAreEmojiFlagsSupported
* Checks if emoji flags are supported. * * 1. Render flag of the EU to a canvas * 2. If more than one third of pixels are mostly blue, return true,
src/static/scripts/utils/htmlStatics.ts:170
↓ 1 callers
Function
checkAuthOnPageLoad
()
src/static/scripts/auth/auth.ts:29
↓ 1 callers
Method
checkIfEnoughPostsVisible
()
src/static/scripts/components/feed/universalFeed/universalFeed.ts:228
↓ 1 callers
Method
checkIfIsNew
()
src/static/scripts/components/comment/comment.ts:557
↓ 1 callers
Method
checkInitialization
()
src/static/scripts/components/misc/dropDown/dropDownArea/dropDownArea.ts:78
↓ 1 callers
Function
checkMobileInfoPopup
()
src/static/scripts/main.ts:166
↓ 1 callers
Method
claim
()
src/static/scripts/types/serviceworker.d.ts:230
↓ 1 callers
Function
classInElementTree
(elem: Element, className: string)
src/static/scripts/utils/htmlStuff.ts:85
↓ 1 callers
Method
cleanup
()
src/static/scripts/components/mediaViewer/mediaViewer.ts:477
↓ 1 callers
Method
cleanup
()
src/static/scripts/components/photon/photonBaseElement/photonBaseElement.ts:18
↓ 1 callers
Method
clear
Remove all view state from the DOM, except for the currently active one
src/static/scripts/historyState/viewsStack.ts:185
↓ 1 callers
Method
clearSeenPosts
()
src/static/scripts/multiUser/globalData.ts:87
↓ 1 callers
Method
close
()
src/static/scripts/components/message/messageNotification/messageNotification.ts:52
↓ 1 callers
Function
commentsToTree
(comments: RedditCommentObj[])
src/static/scripts/utils/utils.ts:624
↓ 1 callers
Function
compareLatestVersion
()
src/static/scripts/utils/versionManagement.ts:13
↓ 1 callers
Function
createOrUpdateMulti
(multiPath: string, model: CreateOrUpdateModel)
src/static/scripts/api/redditApi.ts:530
↓ 1 callers
Method
deactivate
()
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:50
↓ 1 callers
Function
deleteKeyFromDb
(key: string)
src/static/scripts/multiUser/storageWrapper.ts:145
↓ 1 callers
Function
deleteKeyFromLs
(key: string)
src/static/scripts/multiUser/storageWrapper.ts:185
↓ 1 callers
Function
deleteMessage
(fullname: string)
src/static/scripts/api/redditApi.ts:513
↓ 1 callers
Function
deleteMulti
(multiPath: string)
src/static/scripts/api/redditApi.ts:539
↓ 1 callers
Function
deleteUserFlair
(subredditPath: string)
src/static/scripts/api/redditApi.ts:482
↓ 1 callers
Function
detachOnFullscreenChangeListener
(target: Element | Document, func: (...args) => void)
src/static/scripts/utils/utils.ts:302
↓ 1 callers
Function
disableMainPointerEvents
()
src/static/scripts/utils/htmlStatics.ts:151
↓ 1 callers
Function
disableSpaceBarScroll
()
src/static/scripts/main.ts:159
↓ 1 callers
Method
displayInfo
()
src/static/scripts/components/feed/feedInfo/feedInfoMulti.ts:43
↓ 1 callers
Method
displayInfo
()
src/static/scripts/components/feed/feedInfo/feedInfoUser.ts:38
↓ 1 callers
Method
displayMarkdownPreview
()
src/static/scripts/components/misc/markdownForm/markdownForm.ts:86
↓ 1 callers
Function
doVersionMigration
(previousVersion: VersionNumber, currentVersion: VersionNumber)
src/static/scripts/utils/versionMigration.ts:4
↓ 1 callers
Function
edit
(fullname: string, bodyMd: string)
src/static/scripts/api/redditApi.ts:280
↓ 1 callers
Function
editCommentOrPost
(newText: string, thingFullName: string)
src/static/scripts/api/redditApi.ts:410
↓ 1 callers
Function
editableTimeStrToMs
(editableStr: string, throwAndDisplayError = true)
src/static/scripts/utils/utils.ts:446
↓ 1 callers
Method
enable
()
src/static/scripts/utils/touchGestureListener.ts:25
↓ 1 callers
Function
enableMainPointerEvents
()
src/static/scripts/utils/htmlStatics.ts:156
↓ 1 callers
Method
endDrag
()
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:73
↓ 1 callers
Method
endEditing
()
src/static/scripts/components/post/postBody/postText/postText.ts:101
↓ 1 callers
Function
enterFullscreen
(target: HTMLElement)
src/static/scripts/utils/utils.ts:503
↓ 1 callers
Method
error
()
src/static/scripts/components/viewState/commentsViewStateLoader/commentsViewStateLoader.ts:41
↓ 1 callers
Method
expand
()
src/static/scripts/components/global/header/header.ts:144
↓ 1 callers
Method
exportData
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:109
↓ 1 callers
Method
fetchMultis
()
src/static/scripts/utils/MultiManager.ts:25
↓ 1 callers
Method
fetchName
()
src/static/scripts/multiUser/userData.ts:61
↓ 1 callers
Function
fetchRedgifsToken
()
src/static/scripts/api/photonApi.ts:154
↓ 1 callers
Method
fetchSubreddits
()
src/static/scripts/utils/subredditManager.ts:24
↓ 1 callers
Function
fileExists
(filePath: string)
src/serverScripts/utils.ts:80
↓ 1 callers
Method
filterUserComments
()
src/static/scripts/components/comment/comment.ts:488
↓ 1 callers
Function
finishLogin
()
src/static/scripts/auth/loginHandler.ts:44
↓ 1 callers
Method
finishWith
(postAndCommentsData: RedditApiObj[])
src/static/scripts/components/viewState/commentsViewStateLoader/commentsViewStateLoader.ts:36
↓ 1 callers
Method
fixContrast
(bgFgColor: [RGB, RGB])
src/static/scripts/components/misc/flair/flair.ts:193
↓ 1 callers
Function
fixLinks
(elem)
src/static/scripts/utils/htmlStuff.ts:34
↓ 1 callers
Function
flattenCommentTree
(comments: RedditCommentObj[], flatCommentsMap: { [id: string]: RedditCommentData })
src/static/scripts/api/redditArchiveApi.ts:87
↓ 1 callers
Method
fromPostData_Image
(postData: RedditPostData)
src/static/scripts/components/mediaViewer/mediaViewer.ts:47
↓ 1 callers
Method
fromPostData_RedditGallery
(postData: RedditPostData)
src/static/scripts/components/mediaViewer/mediaViewer.ts:90
↓ 1 callers
Method
fromPostData_Video
(postData: RedditPostData)
src/static/scripts/components/mediaViewer/mediaViewer.ts:76
↓ 1 callers
Method
fromUrl
(url: string)
src/static/scripts/components/mediaViewer/mediaViewer.ts:133
↓ 1 callers
Method
fromUrl_Video
(url: string)
src/static/scripts/components/mediaViewer/mediaViewer.ts:83
↓ 1 callers
Method
fullInit
()
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:81
↓ 1 callers
Function
generalizeEndpoint
(endpoint: string)
src/static/scripts/api/redditApiUsageTracking.ts:32
↓ 1 callers
Function
generateClientIdData
()
src/static/scripts/unsuspiciousFolder/unsuspiciousFile.ts:79
↓ 1 callers
Function
genericReport
()
src/static/scripts/unsuspiciousFolder/unsuspiciousFile.ts:108
↓ 1 callers
Method
getAccessToken
(userAgent: string)
src/serverScripts/redditApi.ts:87
↓ 1 callers
Method
getAllHoveredTooltips
(target: Element)
src/static/scripts/components/global/tooltip/tooltip.ts:92
↓ 1 callers
Function
getAllKeysInDb
(prefix: string)
src/static/scripts/multiUser/storageWrapper.ts:127
↓ 1 callers
Function
getAllKeysInLs
(prefix: string)
src/static/scripts/multiUser/storageWrapper.ts:180
↓ 1 callers
Function
getAllKeysInStorage
(key: string = "")
src/static/scripts/multiUser/storageWrapper.ts:204
↓ 1 callers
Function
getChangelog
()
src/static/scripts/api/photonApi.ts:25
↓ 1 callers
Function
getCommentTreeFromArchive
(commentData: RedditCommentData)
src/static/scripts/api/redditArchiveApi.ts:14
↓ 1 callers
Function
getCookies
(req: express.Request)
src/serverScripts/utils.ts:89
↓ 1 callers
Method
getCurrentTrack
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:123
← previous
next →
401–500 of 1,192, ranked by callers