OpenBerryFeeder

Press \ to open the Berry Feeder with Pokémon & eggs from the current page

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

ستحتاج إلى تثبيت إضافة مثل Stylus لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتتمكن من تثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

ستحتاج إلى تثبيت إضافة لإدارة أنماط المستخدم لتثبيت هذا النمط.

(لدي بالفعل مثبت أنماط للمستخدم، دعني أقم بتثبيته!)

// ==UserScript==
// @name        OpenBerryFeeder
// @author      QtheConqueror
// @namespace   Automation
// @description Press \ to open the Berry Feeder with Pokémon & eggs from the current page
// @version     1.2
// @include     http://gpx.plus/users/*
// @include     https://gpx.plus/users/*
// @grant       none
// @license     GPL-3.0-or-later
// ==/UserScript==

// ==UserScript==
// @name        OpenBerryFeeder
// @author      QtheConqueror
// @namespace   Automation
// @description Press \ to open the Berry Feeder with Pokémon & eggs from the current page
// @version     1.2
// @include     http://gpx.plus/users/*
// @include     https://gpx.plus/users/*
// @grant       none
// @license     GPL-3.0-or-later
// ==/UserScript==

document.addEventListener('keyup', function(e) {
    if (e.type == 'keyup') {
        var char = e.key
        if (char == '\\' || char == '|') {
            window.eval('var fnames = []; var links = document.querySelectorAll("a.pIcons:not(.transparent)"); links.forEach(link => {fnames.push(link.dataset["fname"]);}); berryFeeder(fnames, "users", "the Users List", false);');
        }
    }
});