[ b / jp / o / q / sw / lounge ] [ cgi ] [ up ] [ wiki ]
[Home] [Search] [RSS feed] [Inbox] [Write PM] [Catalog] [Admin]
[Return]
Posting mode: Reply
[]
(for deletion, 8 chars max)
  • Allowed file types are: GIF, JPG, JPEG, PNG, BMP, WEBM, MP4
  • Maximum file size allowed is 9000 KB.
  • Images greater than 200 * 200 pixels will be thumbnailed.
boku

  • 2024/04/26 - Neomenu came back from 2021
  • 2024/04/26 - Museum@Heyuri has been launched
  • 2024/02/27 - Anime nominations and their votings will be held on this table from now on.
  • 2024/01/29 - Try out some extra CSS files: Link


Want your site's banner shown here too? Read this thread and contact me.

File: 196198583_624.v1570532421.jpg
(33 KB, 480x353) ImgOps
33 KB
It messes with my head that Heyuri doesn't have a [Return] button at the bottom of threads. I'm always looking for it!
>>
I just use the browser back button or the nav links at the top, and I use the Home and End keys on the keyboard to quickly jump to the tops and bottoms of pages smile
>>
>>62356
>the nav links at the top
That reminds me, there should also be a [Top] button at the bottom of threads, right next to the [Return] button.
Yes, there ARE people who use those!
>>
I could probably easily write some code for this. I'm going to try it out right now and see if it's as simple as using history.back()
>>62357
I'll try this too afterwards
>>
>>62358
It doesn't need to be written, as there's already a [Return] link above the "Posting mode: Reply" bar. You could probably just copy the line that generates that link to the section where [Update] is - preferably appearing to the left of [Update]
>> 8 KB
>>62359
Good point. I will try that instead of what I did in picrel
>>
File: capture.png
(4 KB, 214x92) ImgOps
4 KB
Ok I ran into an issue that I hope doesn't cause bugs/errors when the pull request is being reviewed. The Return anchor at the top of the page is located in koko.php and the Update anchor at the bottom left of the screen uses update-txt.js. So instead I just used history.go(-2) because of the noko functionality we can't just use history.back(). I'm going to update the code to the repo now
>>
I submitted the pull request. I hope everything goes smoothly and it gets integrated soon. Thank you for the suggestion, it was a fun task(⌒∇⌒ゞ)
>>62357
If this PR is accepted and merged I'll do this ASAP
>>
>>62363
i cant see your pull request anywhere anon unsure
>>
>>62367
https://github.com/Heyuri/kokonotsuba-js/pull/1

I'm thinking about fixing it in an hour or so by writing a function to redirect if the URL contains /q/ then redirect to /q/ and the same for /b/. I tested it on my test board and it didn't work
>>
Ok just updated the PR. I can't test it on my board because I only have 1 board and there's no /b/ in the URL. But logically the code seems sound to me, so I committed it
>>
>>62373
ohh it qas in the js repo, i just check the main php one ( ´,_ゝ`)
>>
>>62391
Thank you. I'll work on >>62357 after finishing translating these Chinese comments in the module directory
>>
>>62361
Instead of using JS just have it done with PHP and add a return link directly in the html that goes to current board.
>>
>>62464
I found that it was more straightforward to integrate it with the update-txt.js file, where the Update anchor is located, as opposed to modifying each PHP template file. While your method would also work, it may require more lines of code across multiple files. The PR is still open if you want to try that method instead. I'm not sure if my PR will get merged because it requires having the update-txt.js file in a different location, rather than the current content distributor network, k.kncdn.org
>>
File: download.png
(2 KB, 82x86) ImgOps
2 KB
isn't this supposed to download files with the original name instead of opening it in the new tab?
>>
>isn't this supposed to download files with the original name instead of opening it in the new tab?
That's correct, but it b0rked when our images were moved to i.kncdn.org a year or so ago - this is thx 2 increased browser security preventing downloads from being initiated when they're from a different URL to the one you're currently on

I believe it's on the list of things to resolve, but I don't have any details/updates sweat2
>>
why can't I work 4chanx on heyuri?
>>
>>62671
It only works on sites the devs have explicitly designed it to, and Heyuri isn't one of them
>>
how do I make everyone anonymous?
>>
>>62701
Use this custom CSS:
.name {
display: none;
}
>>
>>62701
put
.name{display:none}

to custom CSS via [Settings]
>>
>>62704
(;´Д`)
>>
>>62706
I win! biggrin


Delete Post: []
Password:
First[0] Last