Recommend
20 
 Thumb up
 Hide
102 Posts
1 , 2 , 3 , 4 , 5  Next »   | 

BoardGameGeek» Forums » Gaming Related » Trades

Subject: OWLito: An OLWLG helper rss

Your Tags: Add tags
Popular Tags: Math-Trade-Info [+] [View All]
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
Current Version: 1.3.2
Download it: here from Userscripts.org.

Supports: Firefox, Opera

Requirements: Greasemonkey if using Firefox.

This is a support and discussion thread, as well as an announcement thread for upgrades.

OWLito is a Greasemonkey helper script for JeffyJeff's OLWLG. OLWLG (or as I affectionately call it, the OWL).

Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb

The OWL is a web app developed and run by JeffyJeff that automates a lot of menial tasks associated with running and participating in a math trade.

Origin:
My biggest headache with OWL is the check boxes in the MyWants page. I submit close to 50 items in some trades. Add to that the Dummy groups and there is a LARGE amount of check boxes. Checking hundreds of check boxes is a no go, and I tried and did not like any of the add-ons for Firefox that deal with multiple check-box selection.

So I discovered Greasemonkey and created OWLito.


Feature List:

* In the MyWants page, A checkbox is injected into the first cell of each row and first cell of each column. Checking these special checkboxes will check the entire row or entire column.

* In the MyWants page, a hover window replaces the OWL click window for game information, by hovering the mouse over the first cell of each column or the first cell of each row.

* Firefox Users: In the MyWants page, a Table Height:[ + ][ - ] control exist on OWLito toolbar to increase or decrease the height of the table.
8 
 Thumb up
21.30
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
BugLaden wrote:
* In the MyWants page, a $ link is injected into the first cell of each row.
Is this the same one I insert in step 3 linking to geekprices? If so, that's a good idea to also have it in step 4 and I can easily add that so everyone can have it.

ps: just added link to this thread from the OLWLG wiki

edit: just added it to mywants the geek price history link (I probably should also add it for each sweetener too?)
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
It is indeed the same. Just post here when you do add it, and I'll remove it from the script. Kudos!
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
BugLaden wrote:
It is indeed the same. Just post here when you do add it, and I'll remove it from the script. Kudos!
ok, done (except for maybe also addinged it for each sweetener)

so you live in a house with 4 girls!?? ever a free bathroom?
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
JeffyJeff wrote:
so you live in a house with 4 girls!?? ever a free bathroom?

Luckily there are 3 bathrooms in the house. Even then I can't find one sometimes!
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Robert Cannon
United States
Cumming
GA
flag msg tools
Avatar
mbmbmbmbmb
Awesome script idea! I'm going to have to find a math trade just to try it out. I think it fixes my one complaint with OWLG.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Occu Pant
United States
Clive
Iowa
flag msg tools
mbmbmbmbmb
Very very cool. Makes a great tool even greater.
Any chance that your tool could add one more cell into each column that could contain a user supplied value (for the items that the user is offering)? Currently the OLWLG allows users to provide a value to the Wanted items but not the Offered items. And it is apparently hard to add the function for Offered items (but the feature is on the ToDo list).
Probably not possible, but thought that I would ask.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
Good idea, but this would not be a trivial task to code on the browser side. I would have to store your custom values somewhere on your local drive. I don't think I would have permission to your local drive from my script (for security reasons).

RoamDog wrote:
Very very cool. Makes a great tool even greater.
Any chance that your tool could add one more cell into each column that could contain a user supplied value (for the items that the user is offering)? Currently the OLWLG allows users to provide a value to the Wanted items but not the Offered items. And it is apparently hard to add the function for Offered items (but the feature is on the ToDo list).
Probably not possible, but thought that I would ask.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Robert Cannon
United States
Cumming
GA
flag msg tools
Avatar
mbmbmbmbmb
Just got finished using it in a Math Trade and here are my suggestions:

1) A button to toggle all of the check marks in duplicate protection (the red areas).

2) Make it work with Google Chrome, too.

Great work!
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
robcannonsoftware wrote:
2) Make it work with Google Chrome, too.
I think it would be the other way around... Chrome would have to support Greasemonkey (or user scripts like Opera)
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
Try Greasemetal for Chrome. It's not as mature as Greasemonkey, but it should work.

Greasemetal is obsolete. Don't touch this, and uninstall immediately.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Robert Cannon
United States
Cumming
GA
flag msg tools
Avatar
mbmbmbmbmb
Chrome supports users scripts "out of the box", or at least the latest version does. I was able to install your script, but it didn't do anything.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
I'll install the script on my installation of Chrome and see what the dilly is.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
v1.0.2 is released.

This is a simple release:

Fix: Removed $ link as JeffyJeff added it to the OLWLG core
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Kaiwen Zhang
Canada
Montreal
Quebec
flag msg tools
Welcome to Zombo.com!
badge
Art of life
Avatar
mbmbmbmbmb
How-to use OWLito with Opera:

1. Download the script, filename should be something like: 69310.user.js
2. Open the script with a text editor:

At line 14:

//Arrays used to track various ids of rows and columns
var mineIndexArray = Array();
var mineIDArray = Array();


Insert after:

var unsafeWindow = window;

Save and close.

3. In Opera: go to Tools > Preferences > Advanced > Content.

4. Open JavaScript options.

5. If the User Javascript folder is set, then put the script in that folder. Otherwise make a new folder anywhere you want and put the script inside, then set the folder to point there.

6. Restart Opera.

3 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
Excellent!

I've downloaded and installed Opera and have modified the script to work with Opera. v1.0.3 (when released) and forward will support Opera.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
I wonder if this will also make it work with Chrome for Rob (could be same problem)
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
I'm actually working on the Chrome issue right now. I've tried the Opera fix with no luck. I'll let you guys know what I find.
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
v1.1 is released. This update adds support for Opera, and introduces a link on the OWLito toolbar that increases the height of the "MyWants" table in increments of 100 pixels.

No luck on Chrome so far. The latest version supports user scripts natively now, but OWLito will not get past confirming that my needed libraries are loaded. So it just sits there and waits for a flag that never gets set.
2 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Kaiwen Zhang
Canada
Montreal
Quebec
flag msg tools
Welcome to Zombo.com!
badge
Art of life
Avatar
mbmbmbmbmb
BugLaden wrote:
introduces a link on the OWLito toolbar that increases the height of the "MyWants" table in increments of 100 pixels.

where is that link?
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Jeff Michaud
United States
Longwood
Florida
flag msg tools
On-Line Want List Generator - Hopefully Making Math Trades a Little Bit Easier
badge
Captain Kirk, Captain Picard, Captain Sisko, Captain Janeway, Captain Archer
Avatar
mbmbmbmbmb
BugLaden wrote:
.... that increases the height of the "MyWants" table in increments of 100 pixels.
yea, that one's been on my to do list for a while but never got around to it, glad folks have it available now. I was going to have both "+" and "-" in so folks could size it to their browser window... I was also hoping to keep track of what the user last had it had as well (maybe a cookie set by JS on client side). Ideally I'd like to auto size the height based on the actual window's view.

btw last I knew only Firefox, and maybe new IE (?) supports the scrollable table view, Opera doesn't
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
johncraven wrote:
BugLaden wrote:
introduces a link on the OWLito toolbar that increases the height of the "MyWants" table in increments of 100 pixels.

where is that link?

On the OWLito toolbar, which is a thin band just above the table. You should see "OWLito v1.1" and the link is to the right of that. If you aren't using Firefox you won't see it, as only Firefox has a scrollable table.




JeffyJeff wrote:
btw last I knew only Firefox, and maybe new IE (?) supports the scrollable table view, Opera doesn't
Chrome doesn't support it either.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
v1.2 released.

Change Log:

- Feature: Firefox Users: Modified OWLito toolbar to step increase and decrease the height of the table with
Table Height:[ + ][ - ] control

- Feature: Prettified hover window with OWLito purple, a caption bar, and a close button.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Robert Cannon
United States
Cumming
GA
flag msg tools
Avatar
mbmbmbmbmb
Any progress on Chrome support?
1 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
Eddie Mittelstedt
United States
Westminster
Maryland
flag msg tools
badge
Avatar
mbmbmbmb
I actually haven't worked at all on this script for a while. I know I just downloaded a new version of Chrome. I'll revisit it soon.
 
 Thumb up
 tip
 Hide
  • [+] Dice rolls
1 , 2 , 3 , 4 , 5  Next »   |