// ==UserScript==
// @name        FUT Refresh Transfer List
// @version     0.1.2
// @description Refresh Transfer List
// @license     MIT
// @author      Tim Klingeleers
// @match       https://www.easports.com/fifa/ultimate-team/web-app/*
// @namespace   https://github.com/Mardaneus86
// @updateURL   https://raw.githubusercontent.com/Mardaneus86/futwebapp-tampermonkey/master/refresh-transfer-list.user.js
// @downloadURL https://raw.githubusercontent.com/Mardaneus86/futwebapp-tampermonkey/master/refresh-transfer-list.user.js
// @supportURL  https://github.com/Mardaneus86/futwebapp-tampermonkey/issues
// ==/UserScript==
// ==OpenUserJS==
// @author Mardaneus86
// ==/OpenUserJS==
(function () {
  'use strict';

  $(document).bind('DOMNodeInserted', function (event) {
    if ($(event.target).hasClass("SearchResults")) {
      if ($(event.target).find('.refreshList').length === 0) {
        $(event.target).find('.pagingContainer').append('<a class="btn-flat pagination next refreshList" style="float: right">Refresh</a>');
        $('.refreshList').click(function () {
          gNavManager.getCurrentScreenController()._controller._listController._requestItems();
        });
      }
    }

    if ($(event.target).hasClass("noResultsScreen")) {
      if ($(event.target).find('#refreshListNoResults').length === 0) {
        $(event.target).find('.layout-article.contents').append('<button class="standard" id="refreshListNoResults">Refresh</button>');
        $('#refreshListNoResults').click(function () {
          gNavManager.getCurrentScreenController()._controller._listController._requestItems();
        });
      }
    }
  });
})();

@@ -77,9 +77,9 @@
 0.1.
-2
+3
 %0A// 
@@ -832,36 +832,43 @@
       if ($(
-event.target
+'#header .subTitle'
 ).find('.ref
@@ -908,44 +908,34 @@
   $(
-event.target).find('.pagingContainer
+'#header').find('.subTitle
 ').a
@@ -964,19 +964,8 @@
 lat 
-pagination 
 next
@@ -1010,443 +1010,16 @@
 resh
-%3C/a%3E');%0A        $('.refreshList').click(function () %7B%0A          gNavManager.getCurrentScreenController()._controller._listController._requestItems();%0A        %7D);%0A      %7D%0A    %7D%0A%0A    if ($(event.target).hasClass(%22noResultsScreen%22)) %7B%0A      if ($(event.target).find('#refreshListNoResults').length === 0) %7B%0A        $(event.target).find('.layout-article.contents').append('%3Cbutton class=%22standard%22 id=%22refreshListNoResults%22%3ERefresh%3C/button
+ list%3C/a
 %3E');
@@ -1030,17 +1030,17 @@
      $('
-#
+.
 refreshL
@@ -1046,17 +1046,8 @@
 List
-NoResults
 ').c

move refresh list button to the header instead of pagination