JAVASCRIPT   27

UserScript Smooth

Guest on 19th August 2022 12:21:47 AM

  1. // ==UserScript==
  2. // @name        Smooth
  3. // @namespace   http://adamsmith.as/userscripts
  4. // @description A smooth zooming enhancement for Google Maps
  5. // @include     http://maps.google.com/*
  6. // ==/UserScript==
  7. (function() {
  8.         var mapnode = document.getElementById("map");
  9.         var i=0;
  10.         setInterval(function(){
  11.                 mapnode.style["-moz-opacity"] = (i++)/100;
  12.         },100);
  13. })();

Raw Paste


Login or Register to edit or fork this paste. It's free.