[Script] WME Enhanced Search
WME Enhanced Search
Version: 2019.04.08.02
Greasyfork: https://greasyfork.org/en/scripts/38111 ... ced-search
Description: First I want to give props to Sebiseba and WME Bookmarks for having developed the functionality to do some of this years ago. I loved this functionality but found that I never used the rest of the Bookmarks script so I thought I could do something in a stand alone script and add more functionality since it isn't tied into other features & wouldn't complicate another script.
This script enhances the WME search box by allowing you to paste or drag-and-drop URLs, segment IDs, Place IDs, mapComment IDs, etc. into the search box and it be automatically parsed to move to the location specified in the URL and select any objects that may exist (if it is a WME PL).
Note:The first time you paste into the search box with this script active Chrome will prompt you to ask if you want to allow waze.com to access the clipboard. You must allow this for the script to work. It does not allow the script to do anything nefarious - just access the data you are pasting into the search box.
What is currently supported for parsing on paste:
Regular expression highlighting of segments and Places is also possible! See this post for more information. Along with the highlighting a display of how many segments and Places were found with the given regular expression will display. Clicking on these displays will select all of those segments or Places. See this post for more information.
A blue border is placed on the search box to indicate the script is installed and running.
https://imgur.com/szNs9dY.png
Changelog:
Version: 2019.04.08.02
Greasyfork: https://greasyfork.org/en/scripts/38111 ... ced-search
Description: First I want to give props to Sebiseba and WME Bookmarks for having developed the functionality to do some of this years ago. I loved this functionality but found that I never used the rest of the Bookmarks script so I thought I could do something in a stand alone script and add more functionality since it isn't tied into other features & wouldn't complicate another script.
This script enhances the WME search box by allowing you to paste or drag-and-drop URLs, segment IDs, Place IDs, mapComment IDs, etc. into the search box and it be automatically parsed to move to the location specified in the URL and select any objects that may exist (if it is a WME PL).
Note:The first time you paste into the search box with this script active Chrome will prompt you to ask if you want to allow waze.com to access the clipboard. You must allow this for the script to work. It does not allow the script to do anything nefarious - just access the data you are pasting into the search box.
What is currently supported for parsing on paste:
- WME PLs
- Will jump to the coordinates in the PL
- Will set the zoom to the zoom in the PL
- Select any item in the PL: segments, Places, mapComments, URs, MPs
- Livemap PLs
- Google Maps URLs
- Bing Maps URLs
- OpenStreetMap URLs
- What3Words URLs (https://w3w.co/wounds.client.face)
- The three word code only will be parsed, too (wounds.client.face)
- Plus.codes URLs (https://plus.codes/86FQ9J4V+6C)
- Plus.codes pasted directly (86FQ9J4V+6C)
- Mandrillapp urls
- Segment IDs
- Place IDs
Regular expression highlighting of segments and Places is also possible! See this post for more information. Along with the highlighting a display of how many segments and Places were found with the given regular expression will display. Clicking on these displays will select all of those segments or Places. See this post for more information.
A blue border is placed on the search box to indicate the script is installed and running.
https://imgur.com/szNs9dY.png
Changelog:
Code: Select all
2019-04-08 - 2019.04.08.02 - Venue search by ID (when off screen) now works for ROW and IL.
2019-04-02 - 2019.04.02.02 - Adding support for finding segments in ROW and IL when the segment ID is pasted directly and they are not on screen
2019-04-02 - 2019.04.02.01 - A display for how many segments and Places are found with the supplied regex search now displays when searching. Clicking on either of these will select all of the highlighted segments/Places.
2019-04-01 - 2019.04.01.01 - Added regular expression highlighting for segments and Places (primary and alt names)
2019-03-29 - 2019.03.29.02 - Initial release!
Re: [Script] WME Enhanced Search