Skip to content
This repository has been archived by the owner on Oct 25, 2020. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
1110101 authored May 10, 2020
1 parent f5b379f commit c36d1b9
Showing 1 changed file with 1 addition and 74 deletions.
75 changes: 1 addition & 74 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,76 +1,3 @@
# Wayfarer-Tools
(Formerly known as OPR-Tools)

[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) [![OPR-Tools Telegram Channel](https://img.shields.io/badge/OPR_Tools_Telegram_Channel--blue.svg?logo=telegram&style=social)](https://t.me/oprtools)

Userscript for [Niantic Wayfarer](http://wayfarer.nianticlabs.com/)

## Installation

Wayfarer-Tools is tested with Chrome and Firefox. You need a userscript manager like [Tampermonkey](https://tampermonkey.net/) (You already have one if you use IITC for Ingress). Wayfarer-Tools does not work with Greasemonkey for Firefox.

> **Download:** https://gitlab.com/1110101/opr-tools/raw/master/opr-tools.user.js

## Features:
- Additional links to map services like Intel, OpenStreetMap, bing and national ones
- Create your own presets for frequent analyses. Wayfarer-tools does not include any presets in order to remain neutral.
- Automatically opens the first listed possible duplicate and the "What is it?" filter text box
- Buttons above the comments box to auto-type common 1-star rejection reasons
- Percent of total reviewed candidates processed
- Translate text buttons for title and description
- Moved overall portal rating to same group as other ratings
- Changed portal markers to small circles, inspired by IITC style
- Made "Nearby portals" list and map scrollable with mouse wheel
- Refresh page if no portal analysis available
- Displays a 20m and 40m capture circle around the candidates location
- Expiration timer in navigation bar
- **Keyboard navigation**

## Keyboard Navigation

You can use keyboard to fully control the page as follows:

| Key(s) | Function |
| :------------------------: | :--------------------------------------: |
| Keys 1-5, Numpad 1-5 | Valuate current selected field (the yellow highlighted one) |
| Shift-Keys 1-5 | Apply custom preset (if exists) |
| D | Mark current candidate as a duplicate of the opened portal in "duplicates" |
| T | Open title translation |
| Y | Open description translation |
| Space, Enter, Numpad Enter | Confirm dialog / Send valuation |
| Tab, Numpad + | Next field |
| Shift, Backspace, Numpad - | Previous field |
| Esc, Numpad / | First field |
| \^, Numpad * | Skip Portal (if possible) |

## Development

To make development a little bit easier and to use real IDEs instead of tampermonkeys built-in editor, you can checkout this repository and create a meta-file for tampermonkey.
1. Enable "Access to File-URLs" for tampermonkey ( `chrome://extensions/?id=dhdgffkkebhmkfjojejmpbldmpobfkfo` copy and paste this url)
2. Replace *\<FILE LINK HERE\>* with a file:/// url to your local copy of `opr-tools.user.js`, for example `file:///D:/Coding/opr-tools/opr-tools.user.js`
3. Copy the next block, create a new and empty script in tampermonkey, paste and save it.

```// ==UserScript==
// @name OPR-Tools
// @version 999.0.0
// @description OPR enhancements
// @homepageURL https://gitlab.com/1110101/opr-tools
// @author 1110101, https://gitlab.com/1110101/opr-tools/graphs/master
// @match https://opr.ingress.com/
// @match https://opr.ingress.com/?login=true
// @match https://opr.ingress.com/recon
// @match https://opr.ingress.com/help
// @match https://opr.ingress.com/faq
// @match https://opr.ingress.com/guide
// @match https://opr.ingress.com/settings
// @match https://opr.ingress.com/upgrades*
// @grant unsafeWindow
// @grant GM_notification
// @grant GM_addStyle
// @require https://cdnjs.cloudflare.com/ajax/libs/alertifyjs-alertify.js/1.0.11/js/alertify.js
// @require https://cdnjs.cloudflare.com/ajax/libs/proj4js/2.4.4/proj4.js
// @require *<FILE LINK HERE>*
// ==/UserScript==```

Moved to -> https://github.com/1110101/wayfarer-tools

0 comments on commit c36d1b9

Please sign in to comment.