Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Support/integrate 4chan's find/search #107

Open
saxamaphone69 opened this issue Oct 5, 2024 · 0 comments
Open

[Feature Request] Support/integrate 4chan's find/search #107

saxamaphone69 opened this issue Oct 5, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@saxamaphone69
Copy link

4chan has the native ability to search all boards at once through https://find.4chan.org/ and https://boards.4chan.org/search

For example, a query on /search uses https://find.4chan.org/api?q=4chan which spits out a JSON(ish) file and is converted into HTML (look for var Search in extension.js). On the find subdomain, 4chan uses Hilitor to wrap search results in a <mark> tag.

I believe the current index search would still have a place. If an inbuilt version of the highlighter is added, then maybe it could also be added there (something I wrote a separate userscript for).

The addition of searching all of 4chan could also allow for thread watching filters to do more. paradox had worked on something, but using the existing system.

I've tried writing my own userscript that does this (using the find.4chan.org/api) but I get plagued with 403 errors and cannot work it out. If I go to the query on its own first (as in go to https://find.4chan.org/api?q=4chan from your URL bar) , then back to 4chan and use my userscript and search for the same thing, it works fine.

The mock up of what I'd imagine it could look like. Or could be something 'fullscreen' like that Ctrl + K search bar sites are using.
image

If nothing else, and probably the easiest, perhaps just allowing 4chan XT to run "correctly" on find and /search?

@TuxedoTako TuxedoTako added the feature request New feature or request label Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants