downworthy icon indicating copy to clipboard operation
downworthy copied to clipboard

Visually indicate when a swap has been performed

Open uberbrady opened this issue 10 years ago • 6 comments

Perhaps optionally (with a checkbox or something)

But I would like something that looks visually distinct so I can be reminded that Downworthy has changed the content - I was thinking something like a zig-zaggy underline like MS Word's spellcheck, but it can be anything - just so long as it sticks out.

I think, implementation-wise, you would have to put your replacement text within a <span> that had some class that would never conflict with any of the CSS on the page - something like <span class="__downworthy_replacement"> - and find a way to add your stylesheet reference to the page - maybe an inline-stylesheet would be enough if there is only ever going to be one class in the stylesheet.

uberbrady avatar Jan 27 '14 17:01 uberbrady

May I suggest using this: https://github.com/wearefractal/blink-polyfill ?

grahamc avatar Jan 29 '14 22:01 grahamc

You could have the icon change colour. Perhaps instead of a brown turd, it can be white like evil-smelling dogshit?

shrikeh avatar Jan 30 '14 07:01 shrikeh

Actually, it does show a visual indicator, tho not as fun as yours. When it's on, it's poo. When it's off, it's poo with a red "OFF" label over the bottom third.

snipe avatar Jan 30 '14 08:01 snipe

I saw that; I was thinking of making it have three states: turd replacement off, excrement replacement on, and fecal matter replaced.

shrikeh avatar Jan 30 '14 08:01 shrikeh

I actually want some kind of textual indicator over the text that has been swapped so you have a reminder that the extension has done its work. It might be neat, too, to make it so that when you hover over the replaced text, you can see the original.

uberbrady avatar Feb 01 '14 23:02 uberbrady

Perhaps a swarm of flies, then.

On Sat, Feb 1, 2014 at 11:55 PM, Brady Wetherington [email protected] wrote:

I actually want some kind of textual indicator over the text that has been swapped so you have a reminder that the extension has done its work. It might be neat, too, to make it so that when you hover over the replaced text, you can see the original.

Reply to this email directly or view it on GitHub: https://github.com/snipe/downworthy/issues/24#issuecomment-33887348

shrikeh avatar Feb 02 '14 08:02 shrikeh