(function (document) {
  var handler = function (e) {
    var userInfo = {
        name: e.target.nodeName,
        url: e.target.src
    };
    safari.self.tab.setContextMenuEventUserInfo(event, userInfo)
  };
  window.addEventListener('contextmenu', handler, false);
})(window);

@@ -74,18 +74,16 @@
 %7B%0A      
-  
 name: e.
@@ -99,18 +99,16 @@
 deName,%0A
-  
       ur

Fix wrong indents.