Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

well, i've decided to start building it out, and i have the first 2 features i want completed for lists of games. i'll be working on a floating panel design for game pages and collection management. i welcome anyone who would like to join in! i am even willing to teach a bit.

the code can be found here: https://github.com/ericchase/browseruserscript--itch.io

you can test the userscript by installing "io.itch; add favorite,hide buttons.user.js" via ViolentMonkey on Firefox from https://ericchase.github.io/browseruserscript--itch.io/out/. more instructions can be found in the repo readme.

if i make significant progress on this project, i'll eventually turn it into a full browser extension

(+1)

Interesting. That code is beyond me. It is 240 KB and I do not know how to start understanding what is going on.

My own thingy is 10 KB and I wrote it a year ago. As mentioned above. Tried doing it with an extension but after finding the thread https://itch.io/t/1018893/a-never-show-me-this-again-please-button I switched to a tampermonkey script.

It will put a cell in a list and apply a css style to all items on that list. It can do more, but that's the core.

So, simple use case with defaults: hover cell, press 1, game gets hidden.

There is two styles to switch between and two lists. And the second style is always used for library pages, even if switched. It can save and import lists and also put developers on the list.

So for your use case with the favorite and the ignore button, one could use list 1 with styles {outline:auto green} / {} as a favorite list and list 2 with styles {display:none} / {outline:auto red} as an ignore list.

As I understand it, you want to make some library viewer as well. You might even save the thumbnails. There is personal database software for managing games, movies, books and such. Maybe one of those has an import feature for Itch games that could be fed with an url list or something like that.

it's bundled code. i'm using a library for indexeddb, because i really don't want to learn how to use it properly

(+1)

Sooo, I think the most part of that script is some libraries. The intersting bits are at the end of the script. There might or might not be difficulties because your script runs at start of document and mine runs at end. I do hook into new items for infinity scroll, so I do not care to wait for any fancy stuff with lots of asyncs. You seem to do things by applying classes too and let the browser handle things.

And I think your concept is based on the item still being visible by changing opaqueness, so you can still display those svg icons. Might have time to look into it in a few days.

But I believe the really interesting part of your tool will be the collection viewer. Applying styles to cells is not all that difficult. I did that with user style addons a lot earlier, before making that thingy. You might find old threads about this. That thingy just gives a button to that functionality, so you do not need to manually edit a css file. It also applies the styles directly to the items, but that is just a technical detail ;-)

(+1)

i've researched through a few old threads, and will continue to do so. you are right, a better collection viewer seems to be what people really want, and i'll try to make something good enough for that. the simple toggle buttons were the most pressing needs for me at the moment