Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make added trade information selectable #133

Closed
Lucki opened this issue Aug 10, 2019 · 1 comment · Fixed by #218
Closed

Make added trade information selectable #133

Lucki opened this issue Aug 10, 2019 · 1 comment · Fixed by #218

Comments

@Lucki
Copy link

Lucki commented Aug 10, 2019

Not sure if this is possible since every text in the trade window is not selectable but maybe it is somehow:
Sometimes I'd like to copy the added information to the message field or share the information somewhere else. Right now this doesn't seem to be possible because the text is not selectable.

Example:

Number of items: 1, worth 0.04€
1x Doctor Violet (VVVVV-Sammelkarte)

Screenshot

grafik

@Lucki
Copy link
Author

Lucki commented Aug 10, 2019

Quick hackish userscript:

// ==UserScript==
// @name Make text selectable
// @namespace Violentmonkey Scripts
// @match https://steamcommunity.com/tradeoffer/new/
// @grant none
// ==/UserScript==

var trade_right = document.getElementsByClassName("trade_right selectableNone");

for(var i = 0; i < trade_right.length; i++) {
    trade_right[i].classList.remove("selectableNone");
}
Screenshot

grafik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant