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
logOutCurrentUser
()
src/static/scripts/auth/loginHandler.ts:75
↓ 2 callers
Method
make
(feedUrl: string, feedType: FeedType)
src/static/scripts/components/feed/feedInfo/feedInfoFactory.ts:43
↓ 2 callers
Method
makeAwardInfo
(header: HTMLElement, awards: RedditAward[])
src/static/scripts/components/post/post.ts:346
↓ 2 callers
Method
makeAwards
(header: HTMLElement, awards: RedditAward[])
src/static/scripts/components/comment/comment.ts:303
↓ 2 callers
Method
makeContentCover
()
src/static/scripts/components/post/post.ts:413
↓ 2 callers
Function
makeContentData
(data)
src/static/scripts/api/imgurApi.ts:26
↓ 2 callers
Method
makeEntriesList
(entries: string[])
src/static/scripts/components/global/photonSettings/filtersSetting.ts:38
↓ 2 callers
Function
makeFeedHeaderElements
(feedUrl: string, listingSteam: RedditListingStream)
src/static/scripts/components/feed/universalFeed/feedHeaderElements.ts:37
↓ 2 callers
Method
makeImageButton
(imgUrl: string, alt: string, tooltip: string, onClick: (e: MouseEvent) => void)
src/static/scripts/components/post/submit/submitPostForm.ts:220
↓ 2 callers
Method
makeRemoveSubBar
(sub: SubredditInfoBase)
src/static/scripts/components/feed/feedInfo/feedInfoMulti.ts:159
↓ 2 callers
Function
makeSearchSortSectionEntries
(onSelect: DropDownCallback)
src/static/scripts/components/feed/universalFeed/sortingDropdownParams.ts:30
↓ 2 callers
Method
makeSpecialButton
(text: string, className: string, appendTo: HTMLElement, onClick: () => void)
src/static/scripts/components/post/submit/submitPostForm.ts:211
↓ 2 callers
Method
makeSwitchingImageBtn
(img: Ph_SwitchingImage)
src/static/scripts/components/misc/controlsBar/controlsBar.ts:130
↓ 2 callers
Method
makeTextBody
(postData: RedditPostData)
src/static/scripts/components/post/postBody/postBody.ts:171
↓ 2 callers
Method
makeTextInput
(placeholder: string, onInput: (newText: string) => void)
src/static/scripts/components/message/messageCompose/messageCompose.ts:57
↓ 2 callers
Method
markNewTrack
(newTrackLabel: string)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:318
↓ 2 callers
Method
markPostAsSeen
(postFullName: string)
src/static/scripts/multiUser/globalData.ts:69
↓ 2 callers
Method
minimize
()
src/static/scripts/components/global/userDropDown/userDropDown.ts:338
↓ 2 callers
Method
observeItem
(item: ItemISState)
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:152
↓ 2 callers
Method
onButtonAddedOrRemoved
Gets called whenever the info button gets added or removed from the DOM
src/static/scripts/components/feed/feedInfo/feedInfoFactory.ts:60
↓ 2 callers
Method
onElementTooltipStart
(element: ElementHover)
src/static/scripts/components/global/tooltip/tooltip.ts:59
↓ 2 callers
Method
onIsOnScreen
()
src/static/scripts/components/post/post.ts:355
↓ 2 callers
Function
onMessageBroadcast
(listener: MessageCallback, type?: PhEvents)
src/static/scripts/utils/messageCommunication.ts:14
↓ 2 callers
Method
onPhotonSettingChange
(source: SettingConfig, newVal: any)
src/static/scripts/components/global/photonSettings/photonSettings.ts:118
↓ 2 callers
Method
onPostViewed
(postFullName: string)
src/static/scripts/multiUser/globalData.ts:73
↓ 2 callers
Method
onSettingsChanged
(changed: PhotonSettings)
src/static/scripts/components/comment/comment.ts:474
↓ 2 callers
Method
onSubSelected
(subName: string, subData: RedditSubredditObj)
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:67
↓ 2 callers
Method
oppositeColor
(color: string | RGB)
src/static/scripts/components/misc/flair/flair.ts:180
↓ 2 callers
Function
padWith0
(num: number, minLength: number)
src/static/scripts/utils/utils.ts:134
↓ 2 callers
Method
parseDataRow
(onInitContent, onParseChar, onColumnCompleted, onRowCompleted)
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:1073
↓ 2 callers
Method
play
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:72
↓ 2 callers
Method
popPlaceholderItems
Items are added back to the DOM and its old height is removed from the placeholder, until the placeholder is * more than 2 screen heights away. And
src/static/scripts/components/feed/universalFeed/infinteScroller.ts:310
↓ 2 callers
Method
prepareCurrentLine
(start)
src/static/scripts/lib/markdownForReddit/markdown-for-reddit.js:864
↓ 2 callers
Method
preparePendingComments
()
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:87
↓ 2 callers
Function
proxyFetch
(url: string)
src/static/scripts/api/photonApi.ts:147
↓ 2 callers
Method
quickSearch
()
src/static/scripts/components/global/search/search.ts:261
↓ 2 callers
Function
redditDashVideo
(url: string, videoOut: Ph_VideoPlayer, postData?: RedditPostData, initDashUrl?: string)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayerFactory.ts:213
↓ 2 callers
Method
reinitialize
(postData: RedditPostData)
src/static/scripts/components/post/postBody/postBody.ts:97
↓ 2 callers
Function
removeLoadingIcon
()
src/static/scripts/main.ts:97
↓ 2 callers
Method
removeSelf
()
src/static/scripts/components/misc/toast/toast.ts:111
↓ 2 callers
Method
reset
()
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:72
↓ 2 callers
Method
restartHideTimeout
()
src/static/scripts/components/misc/controlsBar/controlsBar.ts:170
↓ 2 callers
Function
save
(fullname: string, shouldSave: boolean)
src/static/scripts/api/redditApi.ts:242
↓ 2 callers
Method
search
(e)
src/static/scripts/components/global/search/search.ts:311
↓ 2 callers
Function
searchSubreddits
(query: string, limit = 5)
src/static/scripts/api/redditApi.ts:293
↓ 2 callers
Method
select
(button: HTMLButtonElement)
src/static/scripts/components/post/submit/submitPostForm.ts:233
↓ 2 callers
Method
selectCurrent
()
src/static/scripts/components/misc/subredditSelector/subredditSelector.ts:91
↓ 2 callers
Method
sendEvent
(e: MouseEvent)
src/static/scripts/components/misc/progressBar/progressBar.ts:48
↓ 2 callers
Method
setAction
(action: OnClickAction)
src/static/scripts/components/photon/fab/fabElement/fabElement.ts:96
↓ 2 callers
Method
setCommunityIsValid
()
src/static/scripts/components/post/submit/submitPostForm.ts:434
↓ 2 callers
Method
setDecision
(allowIframes: boolean)
src/static/scripts/components/misc/iframeWrapper/iframeWrapper.ts:93
↓ 2 callers
Method
setFeedElements
(elements: HTMLElement[])
src/static/scripts/components/global/header/header.ts:123
↓ 2 callers
Method
setHighlightBounds
(top: number, right: number, bottom: number, left: number)
src/static/scripts/components/photon/tutorial/tutorial.ts:386
↓ 2 callers
Method
setIcon
(imgSrc: string)
src/static/scripts/components/photon/fab/fabElement/fabElement.ts:84
↓ 2 callers
Method
setInboxIdUnreadState
(inboxItemId: string, isUnread: boolean)
src/static/scripts/multiUser/userData.ts:102
↓ 2 callers
Method
setInboxIdsUnreadState
(inboxItemIds: string[], isUnread: boolean)
src/static/scripts/multiUser/userData.ts:96
↓ 2 callers
Method
setIsDragging
(isDragging: boolean, dragged: Ph_FabElement)
src/static/scripts/components/photon/fab/fab.ts:169
↓ 2 callers
Method
setIsMuted
()
src/static/scripts/components/mediaViewer/videoPlayer/gifVideo/gifVideo.ts:94
↓ 2 callers
Method
setIsNotReadyForCleanup
()
src/static/scripts/components/viewState/commentsViewStateLoader/commentsViewStateLoader.ts:100
↓ 2 callers
Method
setLabel
(text: ButtonLabel)
src/static/scripts/components/misc/dropDown/dropDownEntry/dropDownEntry.ts:111
↓ 2 callers
Function
setLinkOnClick
(elem: HTMLAnchorElement)
src/static/scripts/utils/htmlStuff.ts:66
↓ 2 callers
Function
setMessageReadStatus
(isRead: boolean, messageFullName: string)
src/static/scripts/api/redditApi.ts:383
↓ 2 callers
Method
setMoveXY
(x: number, y: number)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:110
↓ 2 callers
Function
setMsgCheckingInterval
()
src/static/scripts/components/message/messageNotification/messageNotification.ts:99
↓ 2 callers
Method
setNextIsReplace
()
src/static/scripts/historyState/viewsStack.ts:154
↓ 2 callers
Method
setNoHighlight
()
src/static/scripts/components/photon/tutorial/tutorial.ts:382
↓ 2 callers
Method
setOrUpdateTouch
(touch: Touch)
src/static/scripts/utils/touchGestureListener.ts:107
↓ 2 callers
Method
setRemoveAfter
()
src/static/scripts/components/misc/toast/toast.ts:99
↓ 2 callers
Method
setRemovedReason
(removedByCategory: string)
src/static/scripts/components/post/post.ts:438
↓ 2 callers
Method
setText
(markdown: string, html: string)
src/static/scripts/components/post/postBody/postText/postText.ts:132
↓ 2 callers
Function
setTheme
(theme: UiTheme, isPageLoad: boolean)
src/static/scripts/components/global/photonSettings/themeUpdater.ts:5
↓ 2 callers
Method
setUrl
(url: string)
src/static/scripts/components/link/feedLink/feedLink.ts:150
↓ 2 callers
Function
setWaitingServiceWorker
(worker)
src/static/scripts/utils/versionManagement.ts:7
↓ 2 callers
Method
setZoom
(val: number)
src/static/scripts/components/post/postBody/draggableWrapper/draggableWrapper.ts:99
↓ 2 callers
Method
shouldPostBeFiltered
()
src/static/scripts/components/post/post.ts:406
↓ 2 callers
Method
shouldPostBeHidden
(changedSettings?: PhotonSettings)
src/static/scripts/components/post/post.ts:383
↓ 2 callers
Function
showInitErrorPage
()
src/static/scripts/main.ts:101
↓ 2 callers
Function
showNewVersionToast
()
src/static/scripts/utils/versionManagement.ts:35
↓ 2 callers
Function
strToNumNonNan
(numStr: string, fallback: T = undefined)
src/static/scripts/utils/utils.ts:694
↓ 2 callers
Method
switchToSection
(sectionName: string)
src/static/scripts/components/global/photonSettings/photonSettings.ts:94
↓ 2 callers
Function
timeMsToEditableTimeStr
(timeMs: number)
src/static/scripts/utils/utils.ts:425
↓ 2 callers
Method
toggleMuted
(broadcastChange = true, newIsMuted: boolean = null)
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:300
↓ 2 callers
Method
togglePlay
()
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayer.ts:284
↓ 2 callers
Function
trackBrowserFeatures
(data: { featureName: string, isAvailable: boolean })
src/static/scripts/api/photonApi.ts:67
↓ 2 callers
Method
tryAddPendingComments
()
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:46
↓ 2 callers
Method
tryRefreshImage
(img: HTMLImageElement)
src/static/scripts/components/mediaViewer/imageViewer/imageViewer.ts:132
↓ 2 callers
Function
unlockWriting
(key: string)
src/static/scripts/multiUser/storageWrapper.ts:48
↓ 2 callers
Method
unmarkPostAsSeen
(postFullName: string)
src/static/scripts/multiUser/globalData.ts:82
↓ 2 callers
Method
updateBottomSpacer
()
src/static/scripts/components/feed/commentsFeed/commentsFeed.ts:123
↓ 2 callers
Method
updateButtons
()
src/static/scripts/components/feed/universalFeed/universalFeedViews/individualPostScroller.ts:99
↓ 2 callers
Method
updateFeedViewType
()
src/static/scripts/components/feed/universalFeed/universalFeed.ts:169
↓ 2 callers
Method
updateMaxHeightStyle
()
src/static/scripts/components/post/postBody/postText/postText.ts:70
↓ 2 callers
Method
updatePlaceholderNextHeight
()
src/static/scripts/components/post/postDoubleLink/postDoubleLink.ts:72
↓ 2 callers
Method
updatePlaceholderPosition
()
src/static/scripts/components/post/postDoubleLink/postDoubleLink.ts:76
↓ 2 callers
Method
updateSlotsWith
(newElements: ControlsLayoutSlots)
src/static/scripts/components/misc/controlsBar/controlsBar.ts:65
↓ 2 callers
Method
updateState
(state: AllowIframesDecision)
src/static/scripts/components/misc/iframeWrapper/iframeWrapper.ts:51
↓ 2 callers
Method
updateWithData
(postData: RedditPostData)
src/static/scripts/components/post/post.ts:465
↓ 2 callers
Function
vReddItFallBack
()
src/static/scripts/components/mediaViewer/videoPlayer/videoPlayerFactory.ts:214
↓ 2 callers
Method
validateValue
(newValue: string[])
src/static/scripts/components/global/photonSettings/filtersSetting.ts:66
↓ 2 callers
Method
verifyAndLoadCommunity
the community name has changed --> verify if it's valid and if so load it's data
src/static/scripts/components/post/submit/submitPostForm.ts:299
← previous
next →
301–400 of 1,192, ranked by callers