Modifying two simple javascripts that are used with TamperMonkey on Google Chrome for additional functionality

Annullerat Publicerat Aug 10, 2014 Betalades vid leverans
Annullerat

Most of the work is done already. These scripts are used on a virtual pet site where players can make in-game currency by restocking their shops with items from non-player shops that restock a random assortment of items at random intervals. Once the non-player shops stop restocking certain items for a quantity of time, players can make a profit selling items to other players who need the items for quests, etc.

The first script checks the lowest price (player's shop price) within the marketplace by querying the server for all the items within a non-player shop and calculates the net profit (revenue from selling at the lowest price within the marketplace subtracting the cost of purchasing the item) from buying the item and then subsequently displays it beneath the item.

The configuration is like this and the resulting effect is this.

[ X Item Icon ] -> [ X Item Icon ]

5,000 Points -> 5,000 Points

2 in stock -> Profit : 11k

It also displays the colour red for a net profit of less than 10,000 and green for more than 10,000. It also caches all of the item's prices for faster retrieval, and can be purged for realtime updates when visiting the shop again.

The added functionality that I need for this script is to :

- Sort the series of items within a shop from the highest net profit item to the lowest profit item, with the highest net profit item appearing at the first row, left to right, in descending profitability order, up to down

- Cache only the prices that are lower than 12,000 in net profit

- A checkbox or button that would appear on every shop that lets me toggle to hide all items that yield a profit of less than 5,000

The second script lets me click an item within a shop and automatically launch a new browser tab with an automated input haggle price, which is 85% of the nominal cost that is displayed within the shop instead of redirecting me to the item purchasing page with the captcha and having to manually calculate a haggle price to input.

Example : [url removed, login to view]

Example : [url removed, login to view]

Link to shop : [url removed, login to view]

First Script : [url removed, login to view]

Second Script : [url removed, login to view]

The added functionality that I need for this script is to :

- Automatically close the browser tab after I successfully solved the captcha and click Purchase [X item]

- Automatically tab to the captcha text field so that I don't have to double tab to type in the captcha

The layout on the purchasing page is as follows :

[X Item Image]

Buying X Item

Price : N

How much do you want to offer?

[ input field ]

Verification

[captcha]

(Cant read the image? Click on it for a new one)

[input field for captcha]

[purchase x item button]

I don't think it should take longer than 2 hours, should be a fairly quick job hopefully.

Databehandling JavaScript

Projekt-id: #6305848

About the project

3 offerter Distansprojekt Aktivt Aug 11, 2014

3 frilansare har lagt bud på i genomsnitt $392/timme för det här jobbet

ihsan20

A proposal has not yet been provided

$61 CAD / timme
(1 omdöme)
2.6
shadow718

Hi I read your description carefully. I'm a Web developement Expert. If you give me chance, I will do the best. Believe me! Thank you.

$5 CAD / timme
(0 omdömen)
0.0
exclusive3d

A proposal has not yet been provided

$1111 CAD / timme
(0 omdömen)
0.0