|
@ -100,7 +100,7 @@ export const FoolFuuka: QueryProcessor = { |
|
|
export const KChan: QueryProcessor = { |
|
|
export const KChan: QueryProcessor = { |
|
|
getFileThumbnail: post => post.querySelector('figure.uploadCell')!, |
|
|
getFileThumbnail: post => post.querySelector('figure.uploadCell')!, |
|
|
getPost: (post) => post.querySelector('.innerPost')!, |
|
|
getPost: (post) => post.querySelector('.innerPost')!, |
|
|
postsWithFiles: (h) => [...(h || document).querySelectorAll('.postCell:has(figure)')], |
|
|
postsWithFiles: (h) => [...(h || document).querySelectorAll('.postCell:has(figure)')] as HTMLElement[], |
|
|
settingsHost: () => document.getElementById("navOptionsSpanThread") as any, |
|
|
settingsHost: () => document.getElementById("navOptionsSpanThread") as any, |
|
|
catalogControlHost: () => document.getElementById("divTools") as HTMLDivElement, |
|
|
catalogControlHost: () => document.getElementById("divTools") as HTMLDivElement, |
|
|
getImageLink: async function* (post: HTMLElement) { |
|
|
getImageLink: async function* (post: HTMLElement) { |
|
|