Skip to content

Commit

Permalink
Merge pull request #15 from wenketel/master
Browse files Browse the repository at this point in the history
fix:greasyfork. APPLIES TO LINKS SEARCH BY SITES
I approve 98% of this Pull Request (I am about to post‐fix the 2% afterwards) ! :)
  • Loading branch information
jesus2099 committed Sep 30, 2014
2 parents f7802ed + 8e4a12b commit a613ba9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions greasyfork_APPLIES-TO-LINKS-SEARCH-BY-SITES.user.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
// ==UserScript==
// @name greasyfork. APPLIES TO LINKS SEARCH BY SITES
// @version 2014.6.30.1213
// @version 2014.9.30.1213
// @description greasyfork.org. makes applies to “All site” link to the “*” by site search (JasonBarnabe/greasyfork#146)
// @namespace https://github.com/jesus2099/konami-command
// @downloadURL https://raw.githubusercontent.com/jesus2099/konami-command/master/greasyfork_APPLIES-TO-LINKS-SEARCH-BY-SITES.user.js
// @updateURL https://raw.githubusercontent.com/jesus2099/konami-command/master/greasyfork_APPLIES-TO-LINKS-SEARCH-BY-SITES.user.js
// @author PATATE12 aka. jesus2099/shamo
// @licence CC BY-NC-SA 3.0 (https://creativecommons.org/licenses/by-nc-sa/3.0/)
// @since 2014.6.6.
// @since 2014.9.30.
// @grant none
// @include https://greasyfork.org/scripts/*
// @include https://www.greasyfork.org/scripts/*
// @include https://greasyfork.org/*/scripts/*
// @exclude *greasyfork.org/scripts/*/*
// @exclude *greasyfork.org/scripts/?
// @exclude *greasyfork.org/scripts/by*
Expand All @@ -20,7 +20,7 @@
var appliesto = document.querySelector("div#script-meta dd.script-show-applies-to");
if (appliesto) {
var at = appliesto.textContent.trim();
if (at.match(/^all sites$/i)) {
if (at.match(/^all sites|Alle Seiten|Todos los sitios|Tous les sites|Semua situs|すべてのサイト|Alle websites|Wszystkie strony|Todos sites|Все сайты|所有站点|所有網站$/i)) {
appliesto.replaceChild(a(at, "*"), appliesto.firstChild);
}
}
Expand All @@ -30,4 +30,4 @@
a.appendChild(document.createTextNode(t));
return a;
}
})();
})();

0 comments on commit a613ba9

Please sign in to comment.