Coinprism greasmonkey script


#1

This is a tiny greasemonkey script that hides all the superfluous addresses on your coinprism transaction page. Started by myself, and (vastly) improved by @Daffy


Before :

After :


If you would like to use this script then you need Greasemonkey for Firefox or Tampermonkey for Chrome, Opera Next and Safari.
The script contents are

// ==UserScript==
// @name        coinprism
// @namespace   @Daffy
// @include     https://www.coinprism.com/account/transactions
// @version     2
// @grant       none
// ==/UserScript==

// @require  http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js

var temp = $("div.highlight").parent();
$(temp).find("div.address-item").hide();
$(temp).show();
$("div.highlight").show();

Makes for less scrolling :wink:

[last update 08:51 2015/02/21]


GHcoin Payouts & Discussion Thread - Old Thread
#2

Here you go your own topic. And thx for doing the work. I made it a wiki entry so you can keep editing it.


#3

Thanks Daffy, didn’t know where to put it really :slight_smile:


#4

Ah and someone already moved it. Oh never mind have fun with it and if you have other stuff just place it in the Tech and Geeky category.


#5

Works nice - and I can just turn it off if I need to look at the full transactions.

Now if there was just something that pulled out only the +/- amount and dates, we’d have ourselves a nice historical record that could be fed to a spreadsheet.


#6

That’s why I only set it to work on the transaction page. Clicking the “Main address” link takes you to a more in depth run down of the transactions anyway.
I’m a bit of a beginner when it comes to ajax , css etc, but I like to hack a bit :slight_smile:


#7

Sweet!!


#8

Or maybe something like this?


#9

this works better.

// ==UserScript==
// @name        coinprism
// @namespace   @headrush
// @include     https://www.coinprism.com/account/transactions
// @version     1
// @grant       none
// ==/UserScript==

// @require  http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js

var temp = $("div.highlight").parent();
$(temp).find("div.address-item").hide();
$(temp).show();
$("div.highlight").show();

It will hide all the other addresses when one is the main address in the same column.


#10

Cool :smile:
I was trying to get to that result myself, couldn’t find the correct syntax. Much neater now, thanks.


#11

I’ve updated the OP to show your improvements @Daffy. Thanks.
If anybody else has further ideas, please share :smile: