guys is there a way to add hints or context to self-study? with a script maybe u.u
edit: it’s okay I found I can do it this way. If the sound scrip works I’ll feel pleased.
guys is there a way to add hints or context to self-study? with a script maybe u.u
edit: it’s okay I found I can do it this way. If the sound scrip works I’ll feel pleased.
thats doesnt work because you wont get the 20 items back consistently, breaking SRS
Thanks !
@Kumi (or any other userscript wizard!)
Would it be possible to quickly/easily make a script that displays a 硬 watermark (a large, easily-noticeable one) somewhere onscreen during reviews for all the grammar points that’ve been marked with it?
Obviously I want to be able to recognize all of the grammar on 文プロ whenever I see/hear it, but I also want to avoid accidentally using stiff/formal language when I’m talking to friends, which would be easier to do if all of that grammar was plainly marked somehow while I’m doing reviews
It shouldn’t be too hard to make. Could probably just repurpose one of my other scripts. I’m not currently using BP, though, and am not planning on doing so anymore in the future (I am focusing on reading instead), so I can’t access the review page. I would make it for you if I could ¯\_(ツ)_/¯
Seems like something weird is going on with the Egg Timer script, it’s like 00:00 is always shown on top of the real timer.
Is it just me or is the Auto-Commit script entirely useless these days. Even with it turned on, I get many red dots which indicate that the auto-commit won’t work for that particular review. Would greatly appreciate a fix.
Apparently, I stopped getting notifications from here and only saw these posts a few days ago. I don’t have a paid account anymore, so sadly I can’t look into these bugs myself. If you have any suggestion as to why it might be happening I am willing to make updates.
Sadly this was always a high maintenance script, and now that I am not using BP myself there’s not much I can do to fix it.
I haven’t renewed my subscription either, so we’re in the same boat. (Obviously, I don’t need that script to be fixed)
If you want to fix the Egg Timer script, go to the script editor in Tapermonkey (just click on the script in the dashboard) and change the following:
Right under var interval = false;
add var timerAdded = false;
.
Like this:
...
var start = Date.now();
var interval = false;
var timerAdded = false;
...
Replace the $('.home-dropdown') ...
line with:
if (timerAdded == false) {
$('.home-dropdown').after('<div id="egg-timer" class="help-button" style="left: 60px; top: 0; padding: 0;">00:00</div>');
timerAdded = true;
}
Kind of a hacky way to fix it, but it works!
I still haven’t renewed my subscription, so I can’t test it for myself, but with this @Kumi can use it to update the script (assuming they have not renewed theirs either). Thanks for the suggestion @adamhl
Any scripts that allow changing the keyboard shortcuts during reviews? Was hoping to map the audio playback to the same key that WaniKani uses.
A script that hides the streak counter or replaces it with something silly would be great. I want to ignore it, but Bunpro keeps shoving it in my face and then resetting it at what feels like random and it’s getting on my nerves.
If your account is set to your current time-zone then there’s nothing random at all about it. If it truly bothers you this much you can download ublock origin, then use the zapper button (the lighting-bolt icon) and completely nuke the box containing the streak information from showing up again.
There does seem to be some inconsistency with how streaks and other stats are calculated.
For example it looks like I apparently forgot to do any lessons/reviews on March 29 (ignoring the fact that this was actually on March 30 because these stats are all 24 hours behind)…but my profile still shows that I currently have a 93 day streak
And yes my time zone is correct.
I don’t know if you did this or not, but you get one extra day on your streak just by clicking ‘reviews’ - you don’t actually have to complete a review, your streak goes up simply by pressing the button.
Ah, interesting. Thanks, wasn’t aware of that. Seems like that’s probably what happened lol
@Kumi JLPT Percentage was giving me NaN% for total (0/0), i found a fix:
$('.progress-count').each(function(i, e) {
if (e.childNodes[0].textContent.includes("Level Progress")) {
return;
}
(replacing line 39 and adding lines 40-42 below that)
edit: also replace the require
line:
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
the older require stopped working, because the script was deleted from greasyfork.
// ==UserScript==
// @name BunPro: JLPT Percentage
// @namespace http://tampermonkey.net/
// @version 0.2.7
// @description Adds percentages to the progress bars.
// @author Kumirei
// @include http://bunpro.jp/*
// @include https://bunpro.jp/*
// @include http://www.bunpro.jp/*
// @include https://www.bunpro.jp/*
// @require https://gist.github.com/raw/2625891/waitForKeyElements.js
// require(deleted) https://greasyfork.org/scripts/5392-waitforkeyelements/code/WaitForKeyElements.js?version=115012
// @grant none
// ==/UserScript==
(function() {
$('head').append('<style id="BunProPercentageScript">' +
' .profile-jlpt-level .progress .percentage {' +
' position: absolute; '+
' left: 50%;' +
' line-height: 15px;' +
' transform: translate(-50%,0);' +
' text-shadow: 1px 0px black;' +
' }' +
'</style>');
waitForKeyElements('.profile-jlpt-level .progress-bar', function(e) {
var percentage = String(Math.round(e.attr('aria-valuenow')*10)/10) + "%";
$(e[0].parentNode).append('<span class="percentage">' + percentage + '</span>');
});
waitForKeyElements('.profile-jlpt-level', function(e) {
if (!$('.profile-jlpt-level.total').length) {
var bar = $('.profile-jlpt-level')[0].cloneNode(true);
bar.className += ' total';
$(bar).find('.percentage').remove();
bar.childNodes[1].innerText = "Total";
var barelem = $(bar).find('.progress-bar');
var total = 0;
var learned = 0;
$('.progress-count').each(function(i, e) {
if (e.childNodes[0].textContent.includes("Level Progress")) {
//if (e.childNodes[0].textContent.startsWith("\n")) {
return;
}
var counts = e.childNodes[0].textContent.split("/");
total += Number(counts[1].trim());
learned += Number(counts[0]);
});
barelem.attr('aria-valuenow', learned/total*100);
barelem.attr('style', 'width: ' + learned/total*100 + '%;');
$(bar).find('.progress-count')[0].innerText = String(learned) + '/' + String(total);
var lastbar = $('.profile-jlpt-level');
$(lastbar[lastbar.length-1]).after(bar);
}
});
})();
The error was probably due to an update to the site, which may also invalidate this fix at some point.