Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem









I'm not sure how you can workaround prompting to allow GPT to write a script for a webpage in all honesty, so I was actually the one who just gave it identifiers on what EXACTLY to click.
Hope that helps!
You'll have to first think in way how you yourself would add an item to a collection, and convert that to something the AI can understand. What I did here was use the Element Picker feature of Firefox (CTRL+Shift+C when you have Web Dev Tools activated through F12 or CTRL+Shift+I) and pick the element that I would click to add an item, which would be the "plus" icon. From there, I studied the structure of the web code and needed to find two things:
1) Something that uses its workshop ID
2) The class/ID of the div it is in
```
// Get the input string
var inputString = "2896041179;2169435993;2903860066;2991554892;2850135071;2529746725;2617575303;566115016;2810800927;2875394066;2842158398;2859296947";
// Split the input string into an array of IDs
var idArray = inputString.split(';');
// Iterate over each ID and click the corresponding element
idArray.forEach(function(id) {
// Construct the ID of the element to click
var elementId = "choice_MySubscribedItems_" + id;
// Find the element by ID
var element = document.getElementById(elementId);
// Check if the element exists before attempting to click
if (element) {
// Click the element
element.click();
console.log("Clicked element with ID: " + elementId);
}
});
```
I want you to write a console script for Firefox that will use an input like "2896041179;2169435993;2903860066;2991554892;2850135071;2529746725;2617575303;566115016;2810800927;2875394066;2842158398;2859296947" and will click all div.ItemChoiceStatus of each div class=ItemChoice whose id is in the list of input. The id of each ItemChoice is something like "choice_MySubscribedItems_2878374713" so each ItemChoice div will have an id of "choice_MySubscribedItems_" + id.
So, first things first, the workshop collection has had some QoL updates including deprecating the need for my clickAllDeleteButtons function, pretty nice. That means I won't be trying to prompt that one.
I'll be splitting my comment into parts since there is a 1000 character limit per comment.
All those mods and Brita's Weapons & Armors Pack takes up almost half of the total file size... Jesus.
Yea, for my server right now, we have at least 400+ mods, accumulating 9GB file size. We haven't included 10YL mod again yet, which will be an addition 3.4GB. Some of my friends have to reconnect like 2-4 times just to finish downloading everything.