Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in Bishop's Journal

Forum Index > PokéFarm > Journals > Bishop's Journal >

Bishop's AvatarBishop
Bishop's Avatar
master.pngc.png
ONE BUTTON FOR EVERYWHERE... improves BLOCK LIST (fixes issue most complained about with block list) ***edit, does not currently work in multiparty mode with "customize" selected in QOL settings. *** lots of variables and new codes which i am just learning... so if it does not work on your machine please send me a PM and/or screenshot i will work on correcting it. also sorry no mobile version (original has mobile version) done yet BUT this should still work on mobile for the most part. (found several issues already and corrected, was problems in old skins/stackers... now works in 3 browsers on 2 machines) PRO: feeds all pokes correct berry, maximizing IP earned. mouse movement decreases. CON: much slower on fields with multiple berry pokes than just feeding wrong berry to some/all.

Winterbraid's original code:

/* THIS IS NOT BEING UPDATED, please see their post for a github link for any changes they may of made. */ #footbar::after { content: 'WARNING: This CSS file uses the :has selector, which may be disabled by default. To enable :has in Firefox, visit about:config and toggle layout.css.has-selector.enabled.'; font-size: 10pt; font-family: consolas, monospace; color: black; border: 1px solid darkred; background-color: lightpink; display: block; position: fixed; width: 250px; padding: 3px 5px; margin: 5px; right: 0; bottom: 0; z-index: 999; } #footbar:has(*)::after { content: none; } #field_field { user-select: none; } #field_berries.selected > div > a { opacity: 1; } #field_berries.selected > div > a > img { opacity: 0.5; transition: opacity 0.4s linear; } #field_berries.selected > div > a.selected > img { opacity: 1; } [href='/user/~online']::before, #field_nav button[data-action='next']::before, #field_berries a[data-berry]::before, .fieldmon.cormyr::before, [href='/user/~online']::before { cursor: pointer; font-size: 48pt; line-height: 0; text-align: center; background-color: white; border: 3px solid black; border-radius: 16px; position: fixed; width: clamp(120px, calc(50% - 340px), 300px); height: 0; padding: clamp(60px, calc(25% - 170px), 150px) 0; bottom: 30px; right: 15px; transform-origin: 0px 0px; z-index: 999; user-select: none; } .mq25:has([data-key="fieldClickCount"]:checked) body:has(#field_field[data-mode='public'])::after { content: ''; display: block; height: 60vw; user-select: none; } .mq25:has([data-key="fieldClickCount"]:checked) #field_field[data-mode='public'] .field::after { content: ''; background-color: white; display: block; position: fixed; height: 60vw; left: 0; bottom: 0; right: 0; user-select: none; } .mq25 [href='/user/~online']::before, .mq25 #field_nav button[data-action='next']::before, .mq25 #field_berries a[data-berry]::before, .mq25 .fieldmon.cormyr::before, .mq25 [href='/user/~online']::before { font-size: 64pt; border: none; border-top: 3px solid black; border-radius: 0; width: auto; height: 20vw; padding: 20vw; left: 0; bottom: 0; right: 0; } #core:has(#field_field[data-mode='public']):has([data-action='next'][disabled]) [href='/user/~online']::before { content: '👥'; } #core:has(#field_field[data-mode='public']):has([data-action='next'][disabled]):has([data-action='jump'][disabled]) [href='/user/~online']::before { content: none; } #core:has(#field_field[data-mode='public']):has([data-action='next'][disabled]):has(.fieldmon:not(.nothungry)) [href='/user/~online']::before { content: none; } button[data-action='next']:not([disabled])::before { content: '👉'; } #content:has(#field_field[data-mode='private']) button[data-action='next']::before, #content:has(.fieldmon:not(.nothungry)) button[data-action='next']::before, #core:has(#field_field[data-mode='public']):has(button[data-action='next'][disabled]):has(.fieldmon:not(.nothungry)) [href='/user/~online']::before { content: none; } #content:has(.fieldmon[data-flavour^='sour']:not(.nothungry)) a[data-berry='aspear']::before, #content:has(.fieldmon[data-flavour^='any']:not(.nothungry)) a[data-berry='aspear']::before, #content:has(a.selected[data-berry='aspear']) .fieldmon.cormyr:not(.nothungry)::before { content: '🍐'; } #content:has(.fieldmon[data-flavour^='spicy']:not(.nothungry)) a[data-berry='cheri']::before, #content:has(a.selected[data-berry='cheri']) .fieldmon.cormyr:not(.nothungry)::before { content: '🍒'; } #content:has(.fieldmon[data-flavour^='dry']:not(.nothungry)) a[data-berry='chesto']::before, #content:has(a.selected[data-berry='chesto']) .fieldmon.cormyr:not(.nothungry)::before { content: '🌰'; } #content:has(.fieldmon[data-flavour^='sweet']:not(.nothungry)) a[data-berry='pecha']::before, #content:has(a.selected[data-berry='pecha']) .fieldmon.cormyr:not(.nothungry)::before { content: '🍑'; } #content:has(.fieldmon[data-flavour^='bitter']:not(.nothungry)) a[data-berry='rawst']::before, #content:has(a.selected[data-berry='rawst']) .fieldmon.cormyr:not(.nothungry)::before { content: '🍓'; } #content:has(.fieldmon.cormyr:not(.nothungry)) a[data-berry]::before { content: none; } /* Hide with "Click counter" checkbox */ label:has([data-key="fieldClickCount"]) { font-size: 0; } label:has([data-key="fieldClickCount"])::after { content: ' Extra UI'; font-size: 12pt; } #content:has([data-key="fieldClickCount"]:not(:checked)) .fieldmon.cormyr::before, #content:has([data-key="fieldClickCount"]:not(:checked)) button[data-action='next']::before, #content:has([data-key="fieldClickCount"]:not(:checked)) [href='/user/~online']::before { content: none!important; }
currently i have taken the one button fields made by Winterbraid gutted it and made a few changes. several more coming based on code learned from it. it inspired me to do/try many things and most working out great. to use open either version, click in box (it auto selects all). copy and paste to your stylus (or in QOL- css section near bottom) *fixed button for online users to appear in SAME spot as helping while doing online/paybacks... it is still below to give pause/choice while in fields.

my version of one button to interact anywhere:

/* if you do not like the pokerus/online buttons feel free to remove them, instructions are in code. */ /* makes only the preferred berry clickable */ .party>div>.action>.berrybuttons {text-align:center;} .party>div>.action>.berrybuttons[data-up='sour']>[data-berry='aspear'], .party>div>.action>.berrybuttons[data-up='spicy']>[data-berry='cheri'], .party>div>.action>.berrybuttons[data-up='dry']>[data-berry='chesto'], .party>div>.action>.berrybuttons[data-up='sweet']>[data-berry='pecha'], .party>div>.action>.berrybuttons[data-up='bitter']>[data-berry='rawst'] {width:100%;} .party>div>.action>.berrybuttons:not([data-up='sour'])>[data-berry='aspear'], .party>div>.action>.berrybuttons:not([data-up='spicy'])>[data-berry='cheri'], .party>div>.action>.berrybuttons:not([data-up='dry'])>[data-berry='chesto'], .party>div>.action>.berrybuttons:not([data-up='sweet'])>[data-berry='pecha'], .party>div>.action>.berrybuttons:not([data-up='bitter'])>[data-berry='rawst'] {display:none;} .party>div>.action>.berrybuttons[data-up='any']>[data-berry] {display:inline-block;} /* removes delay between poke helps */ #partybox .party>div>.action.working {display:none;} /* needed to unset common things in old skin/css */ #multiuser .party>div>.action a[data-berry] {z-index: unset;opacity: unset;} /* unset other found issues */ #field_field[data-mode="public"]>div.field>.fieldmon {transform:unset!important;} /* makess online user button for multi user parties */ div:has([class="mu_navlink next disabled"]) [href='/user/~online']::before, /* next button in multi party pages */ .mu_navlink.next[class="mu_navlink next"]:not([disabled])::before, /* section to control button location in multi party view */ .mu_navlink.next[class="mu_navlink next"]:not([disabled])::before, /* section to control button location in single party view */ /* makes button for eggs in party */ .party>div>.action>a[data-berry]::before, /* makes button for pokes in party */ .party>div>.action>.berrybuttons>a[data-berry]::before, /* makes button for hatch egg in party */ .party .action a::before, /* section to control button location in fields */ /* not sure what this line does */ #field_nav button[data-action='next']::before, /* makes button for correct berry for pokes */ #field_berries a[data-berry]::before, .fieldmon.cormyr::before {font-size: 36pt; text-align: center; line-height: 0; background-color: white; border: 3px solid black; position: fixed; width: 16vw; font-weight: bold; padding: 5vw 0vw 5vw 0vw; top: 55vh; right: 1vw; z-index: 999;} /* makess online user button for fields */ #core:has(#field_field[data-mode='public']) [href='/user/~online']::before {font-size: 24pt; text-align: center; background-color: white; border: 3px solid black; position: fixed; padding: 3vw; top: 80vh; right: 1vw;} /* makes pokerus button */ [href='/user/~pkrs']::before {font-size: 24pt; text-align: center; background-color: white; border: 3px solid black; position: fixed; padding: 4vw; top: 33vh; right: 1vw;} /* online button for multi */ div:has([class="mu_navlink next disabled"]) [href='/user/~online']::before, /* online for fields */ #core:has(#field_field[data-mode='public']):has(button[data-action='next'][disabled]) [href='/user/~online']::before {content: 'online users';z-index: unset;font-size: 24pt;} #core:has(#field_field[data-mode='public']):has(button[data-action='next'][disabled]) [href='/user/~pkrs']::before , div:has([class="mu_navlink next disabled"]) [href='/user/~pkrs']::before {content: 'pokerus';} .mu_navlink.next[class="mu_navlink next"]:not([disabled])::before, button[data-action='next']:not([disabled])::before /* z index to ensure berrys are first */ {content: 'next';z-index: 0;} #content:has(#field_field[data-mode='private']) button[data-action='next']::before, #content:has(.fieldmon:not(.nothungry)) button[data-action='next']::before, #core:has(#field_field[data-mode='public']):has(button[data-action='next'][disabled]):has(.fieldmon:not(.nothungry)) [href='/user/~online']::before {content: none;} #partybox .party .action a::before, #multiuser .party>div>.action a[data-berry="aspear"]::before, #content:has(.fieldmon[data-flavour^='sour']:not(.nothungry)) a[data-berry='aspear']::before, #content:has(.fieldmon[data-flavour^='any']:not(.nothungry)) a[data-berry='aspear']::before, #content:has(a.selected[data-berry='aspear']) .fieldmon.cormyr:not(.nothungry)::before {content: 'sour/help';} #multiuser .party>div>.action a[data-berry="cheri"]::before, #content:has(.fieldmon[data-flavour^='spicy']:not(.nothungry)) a[data-berry='cheri']::before, #content:has(a.selected[data-berry='cheri']) .fieldmon.cormyr:not(.nothungry)::before {content: 'spicy';} #multiuser .party>div>.action a[data-berry="chesto"]::before, #content:has(.fieldmon[data-flavour^='dry']:not(.nothungry)) a[data-berry='chesto']::before, #content:has(a.selected[data-berry='chesto']) .fieldmon.cormyr:not(.nothungry)::before {content: 'dry';} #multiuser .party>div>.action a[data-berry="pecha"]::before, #content:has(.fieldmon[data-flavour^='sweet']:not(.nothungry)) a[data-berry='pecha']::before, #content:has(a.selected[data-berry='pecha']) .fieldmon.cormyr:not(.nothungry)::before {content: 'sweet';} #multiuser .party>div>.action a[data-berry="rawst"]::before, #content:has(.fieldmon[data-flavour^='bitter']:not(.nothungry)) a[data-berry='rawst']::before, #content:has(a.selected[data-berry='rawst']) .fieldmon.cormyr:not(.nothungry)::before {content: 'bitter';} /* removes fed pokes from view */ #content:has(.fieldmon.cormyr:not(.nothungry)) a[data-berry]::before {content: none;}
currently working, but needs more info and descriptions added to make easier for others to see/edit. -moved the online user button from same spot since lag between fields would cause you to go when not done. -added pokerus button in same area in case you want to return to pokerus or you can choose online users (or just go elsewhere as normal) -now works on private parties AND MULTIUSER (paybacks/online users) ***10 at a time only, blocked user will prevent 'next' on 50 at a time*** -helps your eggs AND will hatch them all without moving mouse. BONUS: -if you block people then this is a MUST HAVE. when using the block users addon (make sure to check 'remove the profile' and save). this will allow you to get another set of 10 even if blocked person(s) is in online/payback list. (not sure what would happen if you have all 10 people blocked that are up next... probably just a circle of refreshing)

another block list improvement

thanks to SakuraWolf23 for coming up with this code (also had help from winterbraid:has to get) *smiles* while the blocklist does remove player from clickback list when doing, the name 'someone' appears in payback and online list... this will remove their names from i think from ALL LIST (including site stats and top 100 tourney) spelling/capatilization is important and based on original name (can change many letters/caps from farm page) you can get correct name on their page in address bar (or right click and choose inspect.) code to add to your skin/stylus/qol (niet is just an example): one is for paybacks, other for online users... you must add both lines for each person(s) you want removed from lists. li:has([href='/user/Niet']) {display: none;} div.body>div:has([href='/user/Niet']) {display: none!important;}
*** as with all of my codes, you are free to use, change and distrubute as you see fit... but please PM me if you find an error so i can correct it.
© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page