$.register({
  rule: {
    host: /^adlock\.org$/,
  },
  ready: function () {
    'use strict';

    var a = $.$('#xre a.xxr');
    if (a) {
      $.openLink(a.href);
      return;
    }

    a = unsafeWindow.fileLocation;
    if (a) {
      $.openLink(a);
    }
  },
});

// ex: ts=2 sts=2 sw=2 et
// sublime: tab_size 2; translate_tabs_to_spaces true; detect_indentation false; use_tab_stops true;
// kate: space-indent on; indent-width 2;

$.register({
  rule: {
    host: /^adlock\.org$/,
  },
  ready: function () {
    'use strict';

    var a = $.$('#xre a.xxr, #downloadButton1');
    if (a) {
      $.openLink(a.href);
      return;
    }

    a = unsafeWindow.fileLocation;
    if (a) {
      $.openLink(a);
    }
  },
});

// ex: ts=2 sts=2 sw=2 et
// sublime: tab_size 2; translate_tabs_to_spaces true; detect_indentation false; use_tab_stops true;
// kate: space-indent on; indent-width 2;

Fix adlock.org