[Unsupported] App Store script

What code language do you use to scrape the forum? Also, it would be nice if I can write a Userscript.

So far, I use Python and JavaScript. Python for I/O for *.csv files, which I use a lot for Anki export/import. JavaScript for API handling, and some styling in Anki. Anki uses HTML, CSS and Javascript.

So, so far, I know a little Python, HTML, CSS and Javascript. I would not say I have much success in programming. I would say I am successful in Anki, though.

I have no basics in computer science beside some studying in college.

damn, those screenshots look really cool

you’ll probably also need some sort of blacklist, to filter out old, broken scripts. Good example would be #8 of the top installs, ‘Burn reviews’. That links to a broken script, but somewhere in the comments there’s a link to the forked and improved version by jonnydark. ([Outdated] [Userscript] Burn Reviews (ver 2.2.5))

1 Like

Good point, Mempo.:smiley:

I’m kind of counting on the community to help clean up the data. Let me know of anything that looks off and I can work in a manual override for the data.

This is a bug. On the very right, I am not a Kappa, but a Homura. (Should be pulled from Gravatar!!??)

1 Like

I just did a major update. The app store now detects installed scripts (yep, I download all the javascript to look for variables that get added to window and track the ones that are unique across all scripts).

It will now show you which scripts you have installed, and as a bonus show you which scripts you have installed on a different browser but not on this one (this was to solve my pet peev of missing useful scripts on my work computer):

@polv This also should fix the avatar styling. Let me know if it isn’t.

1 Like

I think it must be broken because wakinaki is not showing as ナンバーワ.

@subversity Hmm. (So far) it only supports scripts listed on greasyfork.

Oh hey, I was just being facetious - but I guess I found a missing feature :sun_behind_small_cloud:

I added a new section:

It’s a little skewed by the fact that the app store does not detect all of the scripts (I’m unclear as to which it can and can’t detect).

In fact, if you’re reading this and a script you have installed does not show up in your installed list, then please let me know (e.g. “It doesn’t detect WaniKani Real Numbers!”)

The more scripts app store can detect then the close it gets to being able to make meaningful recommendations, e.g.: “People who use script X also use script Y”.

Of course this is all much easier to achieve if script authors add this javascript snippet to their scripts:

    // Hook into App Store
    try { $('.app-store-menu-item').remove(); $('<li class="app-store-menu-item"><a href="https://community.wanikani.com/t/there-are-so-many-user-scripts-now-that-discovering-them-is-hard/20709">App Store</a></li>').insertBefore($('.navbar .dropdown-menu .nav-header:contains("Account")')); window.appStoreRegistry = window.appStoreRegistry || {}; window.appStoreRegistry[GM_info.script.uuid] = GM_info; localStorage.appStoreRegistry = JSON.stringify(appStoreRegistry); } catch (e) {}

Please do encourage the author of your favourite script to make this change! Thanks, enjoy!

1 Like

I made a major update to the UI. It’s now broken out into sections, and it’s showing more scripts in each section too:

Feedback welcome as always! What other sections would you like to see? I have in mind these:

  • Categories (e.g. dashboard scripts, reorder scripts, etc.)
  • Search

Also if you can improve on my icon choices (see https://octicons.github.com/) please let me know!

Edit: I added the categories page. Let me know if anything is miscategorized (or overly broadly categorized):

The categories are based on which pages scripts run against:

  • Dashboard
  • Lessons
  • Reviews
  • Level Overview
  • Forum
  • Other

Edit: Added a search tab too:

image

^^ it searches the name, description, categories, and author.

You can’t check whether the users have the scripts activated, can you? I have a lot of scripts installed that I don’t use

There’s no official way to detect installed scripts but I’m working on indirect ways of detecting them.

Hello! Thanks for the script! It seems awesome, but I’m having trouble using it on ViolentMonkey (Firefox). The app store page stays loading indefinitely. Is anyone else having the same problem?

Sorry to hear that, ICerejo. Can you post a screenshot of what loading indefinitely looks like?

Sure! That’s it:

1 Like

I just posted an update:

  • Fix page loading in Firefox. (Thanks for the bug report, @ICerejo)
  • Only show search bar on the search tab.
  • Include name is search.

Thank you, too! It’s working just fine right now. Great script. It made me notice you were the same one who created the SRS Level Progress and the Leech Trainer scripts. Thanks for that too!

1 Like

Published a UI polish and simplification update:

  • Added GET button for script you don’t have yet, and INSTALLED for scripts that are already installed.
  • Now that there are a large enough number of installs of app store, I’ve switch from showing installs to active user percentages. For scripts that the app store cannot detect, and that don’t have the app store hook code. It now displays “no app store hook”, and a FORUM button.
  • Simplified the ranking algorithm to be primarily about percentage of active users.

2 Likes

Hmm, I get that “Loading…” page forever on Safari, Firefox and Chrome with Tampermonkey. Any ideias?