Connector between a MMO browser game Travian and Travco which offers wide variety of tools used by the players of Travian.

Latest Version

Version
0.4.0
Update
April 1, 2023
Size
41.14KiB
Developer
Category
Users
852
Rating
5 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
Storage
Notifications
See more

Travco (beta) Extension

This extensions serves as a connector between a MMO browser game Travian (https://www.travian.com) and Travco (https://www.travcotools.com). Travco is a website which offers wide variety of tools used by the players of Travian to coordinate their actions in the game.

Since Travian does not offer public API, it has always been a common practice to copy & paste the page HTML source code into third-party sites (like Travco) which then parse relevant information from the input data.

This extension simplifies the process by allowing the players to send the page HTML to Travco directly, with a single click. In return, the users are shown a notification about the result. In some cases (for example, when the parsed result requires further processing, or an error occurs), a new window with relevant information on Travco website may be opened.

Instructions:
Usage is super simple:
1. download this extension into your browser
2. pin it in the extensions tab
3. click the extension image to report currently active page to Travco*
*First time you'll use the extension you will be instructed to insert an API key to the extension. This is so that the extension can communicate with Travco securely. You can get your API key at https://www.travcotools.com/user/api-token/.
Read more

Source Manifest.json

{ "name": "__MSG_appName__", "description": "__MSG_appDesc__", "short_name": "travco", "author": "bartholomej", "default_locale": "en", "icons": { "16": "images/icon-16.png", "32": "images/icon-32.png", "48": "images/icon-48.png", "128": "images/icon-128.png" }, "action": { "default_icon": { "16": "images/icon-16.png", "24": "images/icon-24.png", "32": "images/icon-32.png", "128": "images/icon-128.png" } }, "options_ui": { "page": "options.html", "open_in_tab": false }, "host_permissions": [ "https://*.travcotools.com/", "https://*.travian.com/" ], "permissions": [ "storage", "notifications" ], "content_scripts": [ { "run_at": "document_end", "matches": [ "https://*.travian.com/*" ], "css": [ "app.css" ], "js": [ "app.bundle.js" ] } ], "background": { "service_worker": "background.bundle.js" }, "manifest_version": 3, "version": "0.4.0", "update_url": "https://clients2.google.com/service/update2/crx"}
Read more