wayfarer/exporter.md

16 lines
2.1 KiB
Markdown
Raw Permalink Normal View History

2019-11-04 01:33:59 +08:00
## Wayfarer Exporter
The "Wayfarer exporter" is a plugin for [Tampermonkey](https://tampermonkey.net/) (not IITC or IITCm) that is run automatically when you load in [Wayfarer](https://wayfarer.nianticlabs.com/nominations), the page that shows all of your nominations.
The first time it will prompt you for the URL that you are using in [Wayfarer Planner](https://gitlab.com/NvlblNm/wayfarer) to store the data about your candidates and then it will proceed to update that data with your nominations.
2019-11-04 01:33:59 +08:00
2019-11-04 04:50:08 +08:00
### How does it handle candidates:
Let's suppose that you haven't added anything in IITC, then it will add a "submitted" marker in IITC for every candidate that you have with the status of "In Voting" or "In Queue" that shows up on the Wayfarer site.
2019-11-04 01:33:59 +08:00
Now these markers will be tracked by the Exporter plugin, so when you load the page again in the future, if they are approved they will be removed from the map (you no longer need them).
On the other hand, if they are rejected, marked as duplicate or if you withdraw those candidates, they will be marked on the map as "rejected", so you can easily remember the places to remove (maybe the Wayspot has already been approved by another person), or to send them again in the future.
Of course, if you've planned previously you already have a marker on those locations, so the plugin tries to find if you have any such candidate less than 20 meters away from the new ones that it finds, and so it removes the existing ones to prevent cluttering your map with duplicated markers.
2019-11-04 01:33:59 +08:00
2019-11-11 02:12:05 +08:00
## Install
You must be running the Tampermonkey extension in your browser (IITC mobile doesn't work), and add [this script](https://gitlab.com/NvlblNm/wayfarer/raw/master/wayfarer-exporter.user.js?inline=false).
2019-11-11 02:12:05 +08:00
Now just login to Wayfarer and load the page with your nominations, the first time that you load it you'll be prompted for the URL of the script that you're using in Wayfarer Planner, paste it and wait a few seconds, then load in another tab IITC and you'll see markers for your pending nominations.
Afterwards you only have to load the page and wait a few seconds after all your candidates are shown.