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
↓ 3 callers
Function
resetAuthData
(reloadAndShowLogin: boolean)
src/static/scripts/auth/auth.ts:137
↓ 3 callers
Method
resetToInitialState
()
src/static/scripts/components/misc/animatedFullscreen/animatedFullscreen.ts:67
↓ 3 callers
Method
selectSection
(sectionHeader: HTMLElement, section: HTMLElement)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:282
↓ 3 callers
Method
setActionUrl
(url: string)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:225
↓ 3 callers
Method
setActiveAction
(newAction: FabAction, updatePreset = true)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:144
↓ 3 callers
Method
setActiveIcon
(newIcon: FabIcon, updatePreset = true)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:163
↓ 3 callers
Method
setCommunityIsInvalid
()
src/static/scripts/components/post/submit/submitPostForm.ts:441
↓ 3 callers
Method
setIconUrl
(url: string)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:239
↓ 3 callers
Method
setIsSingleColumn
(isSingleColumn: boolean)
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:40
↓ 3 callers
Method
setVotesState
(voteDirection: VoteDirection)
src/static/scripts/components/comment/comment.ts:346
↓ 3 callers
Method
showControls
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:161
↓ 3 callers
Method
showMenu
()
src/static/scripts/components/misc/dropDown/dropDownArea/dropDownArea.ts:93
↓ 3 callers
Method
startLoadingOriginal
()
src/static/scripts/components/mediaViewer/imageViewer/imageViewer.ts:96
↓ 3 callers
Function
stopPropagation
(e: Event)
src/static/scripts/components/misc/flair/flair.ts:261
↓ 3 callers
Method
switchUser
(newUser: UserData)
src/static/scripts/multiUser/userManagement.ts:58
↓ 3 callers
Method
toggle
()
src/static/scripts/components/global/photonSettings/photonSettings.ts:216
↓ 3 callers
Method
tryEndAction
()
src/static/scripts/components/photon/tutorial/tutorial.ts:393
↓ 3 callers
Method
unlockAuthData
()
src/static/scripts/multiUser/userData.ts:92
↓ 3 callers
Method
updateHighlight
(currentStep: TutorialStep)
src/static/scripts/components/photon/tutorial/tutorial.ts:357
↓ 3 callers
Method
updateQuickLinks
()
src/static/scripts/components/global/search/search.ts:337
↓ 3 callers
Method
updateSpeedDisplay
()
src/static/scripts/components/mediaViewer/videoPlayer/speedChanger/speedChanger.ts:43
↓ 3 callers
Method
updateStepDisplay
()
src/static/scripts/components/photon/tutorial/tutorial.ts:324
↓ 3 callers
Method
updateUnreadBadge
(val: number)
src/static/scripts/multiUser/userData.ts:116
↓ 2 callers
Function
$classAr
(c: string)
src/static/scripts/utils/htmlStatics.ts:18
↓ 2 callers
Function
$cssAr
(query: string)
src/static/scripts/utils/htmlStatics.ts:38
↓ 2 callers
Function
$tagAr
(tag: string)
src/static/scripts/utils/htmlStatics.ts:28
↓ 2 callers
Function
actuallySetVersion
(version)
scripts/changeVersion.mjs:33
↓ 2 callers
Method
addElement
(element: HTMLElement)
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:81
↓ 2 callers
Method
addMoveXY
(x: number, y: number)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:117
↓ 2 callers
Method
addPendingComments
(comments: RedditCommentObj[])
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:67
↓ 2 callers
Function
addRedditEmojis
(element: Element, commentData: RedditCommentData)
src/static/scripts/utils/htmlStuff.ts:152
↓ 2 callers
Function
addSubToMulti
(multiPath: string, subName: string)
src/static/scripts/api/redditApi.ts:349
↓ 2 callers
Method
addToFilters
(key: keyof PhotonSettings, entry: string)
src/static/scripts/components/post/post.ts:659
↓ 2 callers
Method
addZoom
(val: number)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:104
↓ 2 callers
Method
appendComment
(commentData)
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:55
↓ 2 callers
Method
applyTemporarySettings
()
src/static/scripts/components/global/photonSettings/photonSettings.ts:174
↓ 2 callers
Method
areAllBottomItemsVisible
()
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:91
↓ 2 callers
Function
attachOnFullscreenChangeListener
(target: Element | Document, func: (...args) => void, once = false)
src/static/scripts/utils/utils.ts:294
↓ 2 callers
Function
bufferedMouseLeave
(elem: HTMLElement, bufferMs: number, callback: (...args) => any)
src/static/scripts/utils/utils.ts:527
↓ 2 callers
Method
calculateXY
()
src/static/scripts/components/photon/fab/fabElement/fabElement.ts:166
↓ 2 callers
Method
canConsumeChar
()
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:91
↓ 2 callers
Method
changePath
(newPath: string)
src/static/scripts/components/misc/morphingImage/morphingImage.ts:45
↓ 2 callers
Method
checkForNewMessages
()
src/static/scripts/components/message/messageNotification/messageNotification.ts:79
↓ 2 callers
Method
checkMultiMaxSubCount
()
src/static/scripts/components/feed/feedInfo/feedInfoMulti.ts:151
↓ 2 callers
Function
checkTokenRefresh
()
src/static/scripts/auth/auth.ts:13
↓ 2 callers
Method
cleanup
()
src/static/scripts/components/feed/universalFeed/universalFeed.ts:291
↓ 2 callers
Function
clearAllOldData
()
src/static/scripts/utils/storageCleanup.ts:7
↓ 2 callers
Method
clearElements
()
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:75
↓ 2 callers
Method
collapse
()
src/static/scripts/components/comment/comment.ts:310
↓ 2 callers
Function
colorStringToRgb
(color: string)
src/static/scripts/utils/htmlStatics.ts:242
↓ 2 callers
Function
comment
(fullname: string, text: string)
src/static/scripts/api/redditApi.ts:258
↓ 2 callers
Method
countAllNestedComments
(comment: RedditCommentObj)
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:100
↓ 2 callers
Function
debounce
(this: T, func: (...any) => any, wait: number, immediate = false)
src/static/scripts/utils/utils.ts:192
↓ 2 callers
Function
deleteThing
(fullname: string)
src/static/scripts/api/redditApi.ts:289
↓ 2 callers
Method
disable
()
src/static/scripts/components/post/postDoubleLink/postDoubleLink.ts:107
↓ 2 callers
Function
escRegex
(strToEscape: string)
src/static/scripts/utils/utils.ts:594
↓ 2 callers
Function
exitFullscreen
()
src/static/scripts/utils/utils.ts:514
↓ 2 callers
Function
extractHash
(uri: string)
src/static/scripts/utils/utils.ts:248
↓ 2 callers
Method
fetchUserData
()
src/static/scripts/multiUser/userData.ts:74
↓ 2 callers
Method
findMatchingPreset
(action: FabAction, icon: FabIcon)
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:182
↓ 2 callers
Function
fixBackslashUnderscore
(a: HTMLAnchorElement)
src/static/scripts/utils/htmlStuff.ts:42
↓ 2 callers
Function
fixUrl
(url: string)
src/static/scripts/api/redditApi.ts:150
↓ 2 callers
Method
fromImgurUrl
(url: string, onErrorCallback?: () => void)
src/static/scripts/components/mediaViewer/mediaViewer.ts:144
↓ 2 callers
Method
fromOtherView
(view: UniversalFeedView)
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:32
↓ 2 callers
Method
fromUrl_Image
(url: string)
src/static/scripts/components/mediaViewer/mediaViewer.ts:72
↓ 2 callers
Method
getAccessTokenWithRefresh
(userAgent: string)
src/serverScripts/redditApi.ts:13
↓ 2 callers
Method
getButtonTitle
()
src/static/scripts/components/feed/universalFeed/feedHeaderElements.ts:272
↓ 2 callers
Function
getDbObjectStoreValue
(db: IDBDatabase, storeName: string, key: string)
src/static/scripts/multiUser/storageWrapper.ts:72
↓ 2 callers
Method
getDimensions
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:54
↓ 2 callers
Method
getElementInView
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/multiColumnView.ts:149
↓ 2 callers
Function
getFromStorage
(...keyPath: string[])
src/static/scripts/multiUser/storageWrapper.ts:189
↓ 2 callers
Method
getInboxUnreadCount
()
src/static/scripts/multiUser/userData.ts:122
↓ 2 callers
Function
getMySubs
(limit: number, after?: string)
src/static/scripts/api/redditApi.ts:422
↓ 2 callers
Method
getNextState
()
src/static/scripts/historyState/viewsStack.ts:176
↓ 2 callers
Method
getOrMake
(feedUrl: string, feedType: FeedType)
src/static/scripts/components/feed/feedInfo/feedInfoFactory.ts:34
↓ 2 callers
Function
getPostIdFromUrl
(url: string)
src/static/scripts/utils/utils.ts:325
↓ 2 callers
Function
getRedirectUrl
(url: string, auth: string, userAgent: string)
src/serverScripts/photonApi.ts:45
↓ 2 callers
Method
getTabTitle
()
src/static/scripts/components/feed/universalFeed/feedHeaderElements.ts:281
↓ 2 callers
Method
getUrl
()
src/static/scripts/components/link/feedLink/feedLink.ts:146
↓ 2 callers
Method
getVideoTracks
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:116
↓ 2 callers
Function
goToHash
if url has a hash to an element, scroll it into view
src/static/scripts/historyState/historyStateManager.ts:199
↓ 2 callers
Method
goToRandomSubreddit
(isNsfw = false)
src/static/scripts/components/misc/randomHub/randomHub.ts:65
↓ 2 callers
Function
handleSettings
(settings: PhotonSettings, isPageLoad: boolean = false)
src/static/scripts/components/global/photonSettings/styleSettingsListener.ts:43
↓ 2 callers
Function
hasTokenExpired
()
src/static/scripts/auth/auth.ts:125
↓ 2 callers
Method
hide
()
src/static/scripts/components/photon/fab/fabElementEditPane/fabElementEditPane.ts:278
↓ 2 callers
Method
hideEdit
()
src/static/scripts/components/misc/flair/flair.ts:251
↓ 2 callers
Method
init
()
src/static/scripts/multiUser/userManagement.ts:16
↓ 2 callers
Method
initPostBody
()
src/static/scripts/components/post/post.ts:326
↓ 2 callers
Method
initializeIntersectionObservers
Construct IS related IntersectionObservers relative to screen height and observe feed items.
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:110
↓ 2 callers
Method
initializeParams
(entryParams: DropDownEntryParam[])
src/static/scripts/components/misc/dropDown/dropDownArea/dropDownArea.ts:61
↓ 2 callers
Method
insertNextDropdown
()
src/static/scripts/components/misc/dropDown/dropDownEntry/dropDownEntry.ts:107
↓ 2 callers
Method
insertParentLink
(link: string, displayText: string)
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:77
↓ 2 callers
Method
isEmpty
()
src/static/scripts/components/post/post.ts:351
↓ 2 callers
Function
isFakeSubreddit
(subreddit: string)
src/static/scripts/utils/utils.ts:550
↓ 2 callers
Method
isItemHiddenNeighbour
(index: number, targetVisibility: ItemISVisibility)
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:407
↓ 2 callers
Method
isOverflowing
()
src/static/scripts/components/post/postBody/postText/postText.ts:88
↓ 2 callers
Method
isUrlOnWhiteList
(url: string)
src/static/scripts/components/mediaViewer/mediaViewer.ts:241
↓ 2 callers
Method
loadInfo
()
src/static/scripts/components/feed/feedInfo/feedInfoUser.ts:15
↓ 2 callers
Method
loadMore
()
src/static/scripts/components/feed/universalFeed/redditListingStream.ts:23
↓ 2 callers
Method
lockAuthData
()
src/static/scripts/multiUser/userData.ts:88
← previous
next →
201–300 of 1,192, ranked by callers