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

Suggestions of possible future functions #1

Open
6 of 8 tasks
Th4umi3l opened this issue Nov 4, 2022 · 9 comments
Open
6 of 8 tasks

Suggestions of possible future functions #1

Th4umi3l opened this issue Nov 4, 2022 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@Th4umi3l
Copy link

Th4umi3l commented Nov 4, 2022

  • Hide/Show post button
  • Reverse Image Search (SauceNAO, Google Images)
  • Quoting other boards (like >>>/a/ or >>>/b/)
  • Tripcodes leik in 4chan, for fellow namefags
  • Show list of replies to a post at the side of the number of it (so it looks like No.1 >>2 >>3)
  • Youtube Video Embedding
  • Big red text when you do ==this==
  • When a post is too long display a "View more" text that when clicked lets you enter the thread directly to see the full post

(edited by saintly for better overview of progress)

@saintly2k
Copy link
Member

saintly2k commented Nov 7, 2022

==this== works
>>>/a/ works as well

@saintly2k
Copy link
Member

YouTube Video Embedding works

@saintly2k
Copy link
Member

spent way too much time on getting it to work properly

@saintly2k
Copy link
Member

Bumping has been fixed and now works properly, need to optimize it someday

@saintly2k
Copy link
Member

saintly2k commented Dec 1, 2022

reverse image search: ris.php

@saintly2k
Copy link
Member

saintly2k commented Dec 1, 2022

what is a tripcode? please explain further and give me more infos and an example.

@saintly2k
Copy link
Member

view more done

@saintly2k
Copy link
Member

hide/show works and stores in cookies

@saintly2k saintly2k added the enhancement New feature or request label Dec 2, 2022
@CuloArdido
Copy link

CuloArdido commented Feb 7, 2023

YouTube Video Embedding works

I like the way Aleph has implemented it better, besides that it could be easily integrated into KoNaMiB in this way:

  1. Copy this code to a file.
  2. Add the following tag to load the file from the previous step:
<script src="/path/to/embed.js"></script>
  1. Add the following inside some main script of the chan:
for (videoDomain in embed.domainFunctionMap) {
    var embedLinks = document.querySelectorAll('a[href*="' + videoDomain + '"]');
    for (var i = 0; i < embedLinks.length; i++) {
        embed.processLinkForEmbed(embedLinks[i]);
    }
}
  1. Profit.

The good thing about this is that it is not only limited to Youtube, because also works with some instances of Invidious (like invidious.snopyta.org or yewtu.be), Odysee, Bitchute, Liveleak and 8chan.tv.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants