botb-vote: AUTO-NAVIGATE TO UNVOTED MAJOR ENTRIES
BotB Academy Bulletins
 
 
205843
Level 29 Mixist
goluigi
 
 
 
post #205843 :: 2024.12.27 10:18pm :: edit 2024.12.28 5:20pm
  
  mirageofher, RevvoBolt, MoxieCat, LagMage, adibabidan, big lumby, Yung Gotenks, The Diad, fortuna0800, kleeder, Melon, arceus413, th4 D34D, cabbage drop and agargara liēkd this

DONLOAD


based on the discussion in this thread, i have created a web extension that provides a big red VOTE button that navigates you to a random unvoted major battle entry.

here is a video on how 2 use it.....
https://www.youtube.com/watch?v=wq9D_VsUQxo



detailed instructions are in the link at the top



current browser support:

chrome/base chromium
works!

firefox
cannot load, also firefox does not support permanent loading of unpacked extensions
, so would need to Actually package this as an extension

safari on ios
works??????????????????????

vivaldi
does not serially navigate to pages for some reason
 
 
205847
Level 29 Mixist
goluigi
 
 
 
post #205847 :: 2024.12.27 10:36pm :: edit 2024.12.29 10:51pm
  
  cabbage drop liēkd this
currently i have 2612.02 boons (now 2587 bc i double posted)

i will give 200 boons to the first 7 people who download my extension and comment feedback in this thread
EDIT: OFFER EXPIRED, ALL TESTING REWARDS CLAIMED
(7/7)
1. Tex
2. kleeder
3. arceus413
4. retrokid104
5. big lumby
6. MoxieCat
7. blockblockblock

and for the first person to post firefox instructions with proof of it working (screenshot is fine), i will tack on another 200 boons
EDIT: all testing prizes have been claimed. i will give 200 boons to whoever gets this to work on firefox in a PERMANENT way (not the temporarily unpacked extension loading way). this will probably just be packaging it up or something.
 
 
205888
Level 29 XHBist
Tex
 
 
 
post #205888 :: 2024.12.28 1:12am :: edit 2024.12.28 1:39am
  
  goluigi liēkd this
It would feel weird for me to be compensated for trying something I would on my own, out of mere curiosity. Keep your boons.

It works, yeah. Although, you have to be logged in for it to jump to any unvoted entry, of course lol

Quick video demo:

https://www.youtube.com/watch?v=IK2_7tlpVI8

But also a full test would probably require someone to have voted on everything and then clicking on the extension would do nothing.

EDIT: oh yeah, you wanted it tested on Firefox, too.
 
 
205899
Level 29 Mixist
goluigi
 
 
 
post #205899 :: 2024.12.28 1:58am
  
  arceus413 liēkd this
@Tex
gave you boons for naturally just wanting to try the tool anyway!
 
 
205916
Level 32 Chipist
kleeder
 
 
 
post #205916 :: 2024.12.28 3:26am
  
  arceus413 and goluigi liēkd this
tested in chrome.
i already voted on all entries so it just drops me on a random ongoing battle entry page and stays there
 
 
205917
Level 24 Chipist
arceus413
 
 
 
post #205917 :: 2024.12.28 4:31am
  
  goluigi liēkd this
doesn't install on firefox but works p well on edge methinks
 
 
205939
Level 17 Chipist
retrokid104
 
 
 
post #205939 :: 2024.12.28 7:18am
  
  arceus413 and goluigi liēkd this
GOLGI YOU LEGEND this is great! even works right on safari for iOS
 
 
205944
Level 29 Mixist
goluigi
 
 
 
post #205944 :: 2024.12.28 7:33am :: edit 2024.12.28 7:34am
  
  retrokid104 and arceus413 liēkd this
whoa you can add "unpackaged" extensions on safari ios?

@retrokid104, can you provide some instructions?
 
 
205958
Level 17 Chipist
retrokid104
 
 
 
post #205958 :: 2024.12.28 10:12am
  
  goluigi liēkd this
i’m using an extension that lets me use extensions, if that makes sense. i honestly have no idea how it works, my dad set it up lol
 
 
205993
Level 15 Chipist
Bingies24
 
 
post #205993 :: 2024.12.28 11:20am
I'll probably test it later.
 
 
206005
Level 26 Grafxicist
big lumby
 
 
 
post #206005 :: 2024.12.28 11:50am :: edit 2024.12.28 11:51am
  
  MoxieCat and goluigi liēkd this
using on vivaldi 7.0.3495.26

it seems to just either send me to the majors page or a random major only? there was only one time where it sent me to a random entry so it could be that that's the default behavior when it hits an entry already voted on? that said, it did this even with majors where i hadn't voted on at all so...??? asjdlfkjaslkdj idfk. it could be how vivaldi interacts with chrome extensions

even though it's technically bugged the way it is on vivaldi, i still think it's useful just to have a button that's just "press here to vote!" makes getting to the major i want to vote on a ton more convenient :D
 
 
206084
Level 29 Mixist
goluigi
 
 
 
post #206084 :: 2024.12.28 5:12pm
  
  big lumby liēkd this
@big lumby

thanks for trying it out!

i downloaded vivaldi and got the same issue. the web scraping code (chooseMajorBattle.js and getRandomUnvotedEntry.js) seem to work fine but the background.js script itself is b0rked. looks like the "chrome.tabs" api doesn't work properly in vivaldi for some reason.
 
 
206100
Level 11 XHBist
MoxieCat
 
 
post #206100 :: 2024.12.28 8:04pm
  
  big lumby, RevvoBolt and goluigi liēkd this
Just gave it a try on Firefox (version 133.0.3), loaded as a temporary extension following these instructions.

I'm getting the same issue as lumby - the button either sends me to the Major Battles page, or a random Major, but not any entries.
 
 
206112
Level 29 Chipist
nitrofurano
 
 
 
post #206112 :: 2024.12.29 12:24am
  
  Ahornberg liēkd this
@goluigi dont forget firefox also has derivatives (a lot better than original!) like librewolf and waterfox!
 
 
206148
Level 26 Chipist
th4 D34D
 
 
 
post #206148 :: 2024.12.29 2:50am
  
  big lumby liēkd this
Wow you pay your testers better than SIE ever paid their QA. (We got paid in prior years' MLB "The Show" discs and leftover 1/2 donuts and 1/2 bagels from teh Naughty Dogs.)
 
 
206385
Level 22 Chipist
blockblockblock
 
 
 
post #206385 :: 2024.12.29 10:30pm :: edit 2024.12.29 10:33pm
  
  goluigi and big lumby liēkd this
wuh oh

> Manifest version 2 is deprecated, and support will be removed in 2024. See ttps://developer.chrome.com/docs/extensions/develop/migrate/mv2-deprecation-timeline for details.

aside from that - it takes me to a major battle, but not an individual entry, which I assume is a bug - this is in

OS Win 10 (Pro)
Version 10.0.19045 Build 19045
Chrome 131.0.6778.205 (64-bit)

but also yay good job making it!
 
 
206392
Level 29 Mixist
goluigi
 
 
 
post #206392 :: 2024.12.29 10:53pm
  
  blockblockblock liēkd this
@blockblockblock

this was more of a proof of concept and ideally i'm hoping it's added to the site natively so i can deprecate the extension itself

also hoping the manifest v2 phasing out is just a false flag lol

regarding the bug, for me that seems to happen like 1 in 15-20 times but is it just always happening for you?
 
 
206434
Level 29 XHBist
Tex
 
 
 
post #206434 :: 2024.12.30 1:38am
  
  blockblockblock and mirageofher liēkd this
Would it be possible to jump directly to an unvoted entry after a click? Or is it always a requirement for them to be preceded by the MajorBattles/MajorPage path?
 
 
206473
Level 29 Mixist
goluigi
 
 
 
post #206473 :: 2024.12.30 1:21pm
@Tex

it's possible to skip the battles listing page because i can probably use the botb API instead of web scraping, but i'm not sure if i can skip the entry listing page because i don't think you can get a user's unvoted entries via the API (my understanding of the API is it can only get "public" info, but feel free to correct me)
 
 

LOGIN or REGISTER to add your own comments!