get-your-refund

Client Flagger Bookmarklet

This bookmarklet flags in blue, those clients that most greeters will want to avoid because they fall into one of the following categories

Drag the gray button below to your bookmarks bar. Then when you are on the list of clients, clck the bookmarks to flag those clients in blue.

Flag Clients on GYR Hub

You can also set up TamperMonkey to run this whenever you visit the client page. Install TamperMonkey in your browser and then visit https://raw.githubusercontent.com/michaelaltmann/get-your-refund/gh-pages/hub-greeter-clients.user.js

This animation shows how to do the installation

Image Gallery Bookmarklet

To show images of documents uploaded to the hub, drag the gray button below into your bookmarks bar. When on the Documents page, then click that bookmark to render the images. You need to repeat this on every page.

Images Gallery on GYR Hub

For reference, this bookmarklet contains the code:

javascript: (function() {
    var js = document.createElement('script');
    js.setAttribute('src', 'https://michaelaltmann.github.io/get-your-refund/hub-client-images.js');
    document.body.appendChild(js);
})();

See the code behind it on Github.

Take Action Bookmarklet

This bookmarklet modifies the Take Action page. It adds a little configuration at the top of the page, which you only need to use once. More importantly, it adds a Send + Next button. This button does two things with a single click

https://www.getyourrefund.org/en/hub/clients?order=asc&column=updated_at&status=intake_in_progress&year=2020&unassigned=true&needs_response=true&vita_partner_id=&page=1

Drag the gray button below to your bookmarks bar. Then when you are on the Document Edit screen, clck the bookmark provide a preview of the image.

Take Action Send + Next

You can also set up TamperMonkey to run this whenever you visit the document edit page. Install TamperMonkey in your browser and then visit https://raw.githubusercontent.com/michaelaltmann/get-your-refund/gh-pages/hub-take-action.user.js

Image Edit Preview Bookmarklet

This bookmarklet modifies the document edit page to add an image preview.

Drag the gray button below to your bookmarks bar. Then when you are on the Document Edit screen, clck the bookmark provide a preview of the image.

Image Preview on Edit

You can also set up TamperMonkey to run this whenever you visit the document edit page. Install TamperMonkey in your browser and then visit https://raw.githubusercontent.com/michaelaltmann/get-your-refund/gh-pages/hub-doc-edit.user.js

Spanish Client Bookmarklet

This bookmarklet shows only those clients that list Spanish as their language of choice. It also hides clients that are

Drag the gray button below to your bookmarks bar. Then when you are on the list of clients, clck the bookmarks to show just Spanish clients available for greeters.

Spanish Clients on GYR Hub

You can also set up TamperMonkey to run this whenever you visit the client page. Install TamperMonkey in your browser and then visit https://raw.githubusercontent.com/michaelaltmann/get-your-refund/gh-pages/hub-spanish-clients.user.js

Assign to Me Bookmarklet

This bookmarklet adds a button to assign a client to yourself so you don’t have to scroll through the list of assignees. It also moves you to the top of the assignee list and adds an unassign button if you are assigned.

Drag the gray button below to your bookmarks bar. Then when you are on the list of clients, click the bookmarks to add the assign button.

Assign Button on Hub

You can also set up TamperMonkey to run this whenever you visit the client page. Install TamperMonkey in your browser and then visit https://raw.githubusercontent.com/michaelaltmann/get-your-refund/gh-pages/hub-assign-selector.user.js


Squish

On the ‘clients’ page, helps bring imporant info closer to the left side of the screen and turns a date into days since that date. Feedback on useful arrangement of columns and data (or anything else) appreciated.

Drag the gray button below to your bookmarks bar. Then when you are on the list of clients, tap the bookmark to change the arrangement of the table.

Squish client columns in the GYR Hub

Note: Number of days calculation will only work for dates in today’s current year (whatever day today is).


SMS Counter Bookmarklet

Phones split up messages into separate chunks. They charge per message. Some phones mix up the order in which the chunks appear.

This bookmarklet lets you see an estimate of how many chunks - inidividual text messages (sms) - your words might send.

Drag the gray button below to your bookmarks bar. Then when you are on the Take Action page or Messages page, tap the bookmarklet to see a count of your messages underneath the text field.

SMS Counter

You can also set up TamperMonkey to run this whenever you visit those pages. Install TamperMonkey in your browser and then visit https://raw.githubusercontent.com/michaelaltmann/get-your-refund/gh-pages/sms-counter.user.js


Testing locally

If you make modifications to the javascript code and want to test them locally, start an http server in this directory that will server up the javascript file with the right content-type. For example, with python run

python3 -m http.server 9000

Once you have a local server running, create a bookmarklet whose content is

javascript: (function() {
    var js = document.createElement('script');
    js.setAttribute('src', 'http://localhost:9000/hub-client-images.js');
    document.body.appendChild(js);
})();