Post

Enabling Text Selection on Sportsbetting Sites

The Problem

Some websites have text selection disabled for their buttons, which contains odds of a selection. This make it difficult to select text for copy/pasting into a script or spreadsheet for finding fair odds.

This is especially a problem for futures, and for events like golf, where there could be over 100+ participants. Without text selection, one would have to manually enter every single value.

Scrolling down list of golf winners and odds.

It is possible to edit the CSS to enable copy/pasting. However this would need to be done every time the page loads and is inconvenient.

A Chrome Extension as The Solution

I wrote a chrome extension to solve this issue.

The extension enables user-selection via CSS style change by JavaScript in the content script. It does not require any special permissions or making an external network call.

Attempts to Publish to the Chrome Store

I attempted to publish the extension to the Chrome store. However it was rejected for “facilitating of gambling”.

Pinnacle NBA Outright with copy and pasting via right click.

I researched this policy and I found that there currently exists several extensions in the Chrome store for “facilitating of gambling”. Here are a few:

https://chrome.google.com/webstore/detail/sharpsports/jbjkingkpiakebpokhndnnmniaafoobe

https://chrome.google.com/webstore/detail/tipico-sports/kodahiemdnchcjekdlmmnfdcpmmncanb?hl=de

https://chrome.google.com/webstore/detail/rotowire/caljiholplhibonecblicbgjkakcpmmm

It is not clear how this particular policy is enforced.

The extension can still be manually installed via the source code here:

https://github.com/carlzoo/copy-odds-chrome

This post is licensed under CC BY 4.0 by the author.