您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Highlights games on GameSieve that are owned on GOG
A userscript that highlights games you own on GOG while browsing GameSieve. Makes it easy to identify which games in the GameSieve list are already part of your GOG library.
Homepage: https://github.com/shakeyourbunny/goggamesievehighlighter/
The script performs several operations to identify and highlight the games you own:
The script uses caching to improve performance:
You can modify these variables at the top of the script to customize its behavior:
// Configuration
const DEBUG = false; // Set to true to enable detailed console logging
const OWNED_GAMES_TTL = 60 * 60 * 1000; // 1 hour in milliseconds
const MAPPING_TTL = (14 * 24 * 60 * 60 * 1000) + (Math.random() * 100 * 60 * 60 * 1000); // 2 weeks + random 100 hours
const HIGHLIGHT_COLOR = '#bc9aca"; // GOG color
DEBUG
: When set to true, enables detailed logging of the script's operations in the browser consoleOWNED_GAMES_TTL
: How long to cache the list of owned games (in milliseconds)MAPPING_TTL
: How long to cache the product ID to slug mappings (in milliseconds)HIGHLIGHT_COLOR
: The background color to use for highlighting owned gamesThis script only accesses your owned games data from GOG.com to determine which games to highlight. It does not collect, store, or transmit any personal information. All data is stored locally in your browser and is not shared with any third parties.
Copyright (c) 2025 shakeyourbunny
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Contributions are welcome! Feel free to open an issue or submit a pull request.
git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)