Geocaching.com - Maps: My Finds and My Hides off by default

The script sets My Finds and My Hides off by default on the Geocaching.com Map.

当前为 2014-05-14 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Geocaching.com - Maps: My Finds and My Hides off by default
  3. // @namespace JonathanEH
  4. // @description The script sets My Finds and My Hides off by default on the Geocaching.com Map.
  5. // @include http://geocaching.com/map/*
  6. // @include http://www.geocaching.com/map/*
  7. // @include https://geocaching.com/map/*
  8. // @include https://www.geocaching.com/map/*
  9. // @grant none
  10. // @require https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js
  11. // @version 2014.5.16
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. window.addEventListener('load', function() {
  16. $('#m_myCaches .ct_mf').click();
  17. $('#m_myCaches .ct_mo').click();
  18. }, false);
  19.  
  20. })();