Created
September 8, 2014 03:15
-
-
Save mostlygeek/196fa15c2216029b8168 to your computer and use it in GitHub Desktop.
realtor.ca grease monkey script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name realtor-ca-tweaks | |
// @namespace mostlygeek.com | |
// @description realtor.ca tweaks | |
// @version 1 | |
// @grant none | |
// @requiref https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js | |
// ==/UserScript== | |
var el = $('#m_property_dtl_address') | |
var address = el.text() | |
var inner = $( | |
' <a href="https://www.google.ca/maps/place/' + address + '" target="_blank">show in google maps</a>' | |
) | |
.attr('style', 'color: white; outline: 1px solid yellow; padding: 0.25em; margin-left: 1.5em'); | |
el.append(inner) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment