Skip to main content

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

Dio Kyrie

11
Posts
2
Topics
2
Followers
A member registered Jul 07, 2022 · View creator page →

Recent community posts

Oh I have even not thought about context menu. At the moment I am more concerned about making my cource work for Universitiy so I have no time, but will return to this extension as soo as I am free.

I am currently stuck at how to save info in such a way that extension could use it. I have problems with samewing data to local storage of browser so, I dont know how to do that. The best way seems to be do as it is to download data as txt file and then user manually open it in extension as a list.

I am working on extension and seems like it is good. Have all the buttons and can execute scripts.

So, now we suucceded at one step. We have two major left:
1. Read data and hide elements.
2. Pack the code in extension.

yeah english is my second language so I did not understood you at frist.

Here is my code, it seems to work as of now. I hope this will be usefull for you or others who see this.
So what does it do.
User needs to manually scroll page to the end to have all games in collection displayed on the current page.
The we paste this code in console. and as result .txt file downloaded with all liks leating to game page.

// Get all anchor elements with the class 'game_link'

var anchorElements = document.querySelectorAll('.game_link');

// Initialize a set to store unique href contents

var uniqueHrefContents = new Set();

// Iterate through each anchor element

anchorElements.forEach(function (anchorElement) {

    // Check if the element has the correct data-action attribute

    if (anchorElement.getAttribute('data-action') === 'game_grid') {

        // Get the href content

        var hrefContent = anchorElement.getAttribute('href');

        // Check if the href content does not contain "game_grid" and is not a duplicate

        if (hrefContent && !hrefContent.includes('game_grid') && !uniqueHrefContents.has(hrefContent)) {

            // Add the href content to the set

            uniqueHrefContents.add(hrefContent);

        }

    }

});

// Convert the set to an array and join the contents

var combinedHrefContents = Array.from(uniqueHrefContents).join('\n');

// Save the combined href contents to a file (e.g., using Blob and a link)

var blob = new Blob([combinedHrefContents], { type: 'text/plain' });

var a = document.createElement('a');

a.href = window.URL.createObjectURL(blob);

a.download = 'unique_href_contents.txt';

a.click();

You do not need "game_cell" when parsing for links in collection. to reduce that impact of infinite scroll we can actually, ask users to turn on infinite scroll and then extension would simply block all media for a time, ask users to scroll to bottom and then we can parse "game_grid" for href content. Thus without media content it will be fast as they need no huge files download(previev images) and then, we just gather links in database.

You mean I have flaw in:

To delete game from one collection you need to go into that collection cus if game is being viewed from other collection it will be deleted from current.
That is a good statement

(1 edit)

So Here is what we need the most to enhance userfriendlyness.
Website:
1. Delete games from collection within "Add the game to collection window" This is logical as currently we need to manually scroll through hundreets of games in collection on our profile just to find that one game!!!
2. Exclude games from collections as an option for Browse tab. We need it since new games could not be found and we indeed suffer from it as algoritms only recommend games similar to ones we have in collections but if collection is large we will just see same games ever. GIVE CHANCE FOR NEW DEVELOPERS.
3. Exclude tags ability! Yes we can choose tags we like but if do not want to see games tagged FPS alongside with Adventure we should have such and option.
4. Move Metadata in dashboard from its own page to edit game, new developers just like I will find this only on their third time being there and it is really a thing to include when creating a game.
5. In my Library tab please add search bar for each collection so we do not forced to scrool thousands of games to find that exact one.
App:
1. Add tag support inside of collection so we can better manage our games.
2. For each game near install button add button to manage game inside of collection(Like add to other or delete from this collection). Yes we need this cause now we need to manually go from library collection to game page and do things there.

I hope this will reach developers.
Sincerely your customer.

(1 edit)

Hahah I just started to make such browser extension. Well I as well have no knowledge but I get the gist on how to start.
Here is what I come with:

[[Step 1 Make an Extension]]

[[Step 2 Gather Links from Collection]]

Early on ask users to scroll to the end of their collection as extension is still under development.

At start here we should provide auto scroll and write links to Database.

Later on we can as well delete links that are already written in DB.


[[Step 3 Store Links from Collections]]

We should as well store permalink to collection. If link is already in Database then we only updating it and not writing new Collection.

[[Step 4 Clear Link Database functionality]]

[[Step 5 Compare links from DB to those on Page]]

Should be done on each new loading of new elements. Like scrolling down.

[[Step 6 Delete elements on match]]

So Just a little option on left side when searching for a games, so I do not see all games in my collections and library.

Ignore Installed Games
Ignore Games in my Collections
Ignore Games on Wishlist

This would be great to not scrool through lots of games, especially, when I have thousands of games in collections.