Project #3: Part 1.1 – Words with Computer Assistance

Project #3: Part 1.1 – Words with Computer Assistance

Get Greasemonkey here (Firefox)

Get Tampermonkey here (Chrome)

Download updated part 1 script here

See previous post on this topic

Bad news, it appears a Words With Friends update has broken the script. Good news, it’s trivial to fix.

Before inspecting the letters looked like this:
inspect1

Now it looks like this:
inspectupdate

Notice the background image style is no longer inline. It would be easy to fix with getComputedStyle(), however an attribute s5-data_letter has been added containing the letter in text format! 3 lines of code changed, highlighted below:

Sadly only the tiles in the player’s hand have a text value, so checking background images is still required for tiles on the board.

Tested and working with:
Words With Friends 42.1
Chrome Version 43.0.2357.132 m
Firefox 39.0

Download updated part 1 script here

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">