Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Talibri Quicker Menu
- // @namespace http://gitlab.com/Talibri
- // @version 0.1.1
- // @description
- // @author Dan Campbell, original script based on work by Kaine "Pirion" Adams
- // @match https://talibri.com/*
- // @grant none
- // @require https://gist.github.com/raw/2625891/waitForKeyElements.js
- // ==/UserScript==
- function addQuickMenu() {
- 'use strict';
- $(`
- <div id="quick-menu" style="font-size: 10px; margin-left: 5px; margin-right 5px;">
- <div id="quick-menu-info" class="col-md-12 row" style=" margin-top: 10px;">Quick Menu</div>
- <div id="quick-menu-cities" class="col-md-12 row" style="padding-left:30px !important;">
- <table class="col-md-12">
- <tr>
- <th width="10%"></th>
- <th width="10%">Market</th>
- <th width="10%">Cooking</th>
- <th width="10%">Tailoring</th>
- <th width="10%">Blacksmithing</th>
- <th width="10%">Weaponsmithing</th>
- <th width="10%">Woodworking</th>
- <th width="10%">Alchemy</th>
- <th width="10%">Construction</th>
- <th width="10%">Enchanting</th>
- </tr>
- <tr>
- <tr>
- <td><a href="/cities/Lowenheim">Lowenheim</a></td>
- <td><a href="/trade/1">Lowenheim Market District</a></td>
- <td><a href="/crafting/11?city_id=2">Mystra's Tower</a></td>
- <td><a href="/crafting/9?city_id=2">Tavern</a></td>
- <td><a href="/crafting/10?city_id=2">Mane's Thread</a></td>
- <td><a href="/crafting/3?city_id=2">Koronis' Foundry</a></td>
- <td><a href="/crafting/4?city_id=2">Koronis' Smithy</a></td>
- <td><a href="/crafting/5?city_id=2">Pel's Woodworking Shop</a></td>
- <td><a href="/crafting/6?city_id=2">Old Grok's Alchemy Lab</a></td>
- <td><a href="/crafting/8?city_id=2">Khandri's Construction Yard</a></td>
- </tr>
- </table>
- <p> </p>
- </div>
- <div id="quick-menu-gathering" class="col-md-12 row">
- <p class="col-md-1">Gathering</p>
- <p class="col-md-11">
- <a href="https://talibri.com/locations/4/show">Mikhail Mountain</a>
- </p>
- </div>
- </div>`).prependTo('.main-page');
- }
- waitForKeyElements(".main-page", addQuickMenu);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement