|
|
Is there a preferred script, addon or method that someone has made to ease the use of blockquoting replies here on uso? I've seen a few, but none of them appear to work:
TIA |
|
|
http://userscripts.org/scripts/show/24464
|
|
|
sizzlemctwizzle wrote: Beautiful...a step in the right direction for me. (moved requests to review) |
|
|
Marti wrote: Well that's no good. I can't really reply to a review, can I? Alt+C appears to not work for selected text Strange...maybe key codes are slightly different in linux. try this:
javascript:window.addEventListener("keydown",function(e) {if(e.altKey)alert('alt key works');},false); and press the alt key.
Clicked report spam just to try it Luckily, there spam only gets reported if you confirm you want to report it. All reported spam get posted to this thread: http://userscripts.org/topics/9?page=16 Clicked report spam just to try it Allow me to quote myself too? I purposefully left out that. I don't really see the point of quoting yourself, but I'll reconsider it. Allow quotation of selected mouse text only? So if part of a post is selected when you click the "Quote" link then only that text gets quoted. Great idea! I'll get started on that right away! |
|
|
Luckily, there spam only gets reported if you confirm you want to report it. All reported spam get posted to this thread: Clicked report spam just to try itHmmm didn't get any confirmation... and what thread? Here? in this topic? Well that's no good. I can't really reply to a review, can I?Well I was going to add a copy to your discussions too... but here is okay if you still want. I just thought you'd like some acknowledgment for your great efforts, being your first review on this script and all :) ...maybe key codes are slightly different in linux.I'll double check kde settings to make sure the "meta" key definition isn't the problem. Let me know if I can help with this. I purposefully left out that. I don't really see the point of quoting yourself, but I'll reconsider it.I'd appreciate that. :) |
|
|
try this: location hack doesn't work in nix and a friend of mine told me that it didn't work on his mac either... so I'll need to test this via an actual user.js. (has to do with namespaces ;) ) I'll try making it a bookmarklet too... nope.. not workin as bookmarklet. BUT... the KDE setting for the "Modifier Key" when restored back to Alt allows the bookmarklet to work... however I changed it to Meta because the Alt key interferes with Firefox operation on certain hot keys. Will retry the "Alt+C" with Alt modifier in KDE with your script...retried... Alt+C opens up about:config even with selected text. |
|
|
location hack works fine on mac. can a script do the location hack in linux? because my script uses it. spam goes to this thread: http://userscripts.org/topics/9?page=16 and I don't know why you didn't get a confirmation. error console? |
|
|
sizzlemctwizzle wrote: Well I'll be getting my Mac here in a couple weeks hopefully... too much conflicting information that I receive by word of mouth. As far as an error in the console log...I do get one:
Error: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.evaluate]
Source file: file:///~/.mozilla/firefox/{randomseed}.default/gm_scripts/userscripts_comments_fix/userscripts_comments_fix.user.js
Line: 169
|
|
|
Alt+C opens up about:config even with selected text. Huh? all shortcuts when the cursor is inside the textbox should have been disabled. baha! I know where that error is from lol. Thanks for making me aware of that. |
|
|
sizzlemctwizzle wrote: I might have an addon that assigns Alt+C to that function... checking...Yup... Mr Tech Toolkit... it's my primo #1 amo addon and I'd rather not remove it or reassign it's "Hot Key". It's slowly coming back to me...this is partly the reason I tell KDE to use the Meta key instead of Alt for the modifier key. (so Firefox has use of the Alt key) Having the mouse selection to blockquote would probably overcome some of keyboard trapping issues ;) |
|
|
Marti wrote: Just uploaded the version with selection blockquoting. In fact, I'm using it to quote you right now! And the best part is that if you select text within a code or pre tag the quote stays wrapped in that tag! Marti wrote: See! |
|
|
@sizzlemctwizzle
(moved here) |
|
|
sizzlemctwizzle wrote: Testing on this comment (works on this part but not the sentence above it) instead of that comment ("Just uploaded the version with selection blockquoting."... this portion highlighted and fails.) Seems there is a gremlin hiding in the process. |
|
|
sizzlemctwizzle wrote: Okay it works now(yes you can quote yourself now). The forum seems to be inconsistent at times. I want to add one more feature before I release this version though. Edit: Just uploaded another version. Now if you highlight the text and click one of the links to the right of the textarea you can use the same shortcuts as the keyboard. I'm done for the night. Cheers. |
|
|
sizzlemctwizzle wrote: Way kewl!! Marti wrote: Breaks with selecting list elements in this comment Still Awesome! This will save myself and others a bunch of time. Thank you graciously! |
|
|
Marti wrote:sizzlemctwizzlewrote:Way kewl!! test it's great but it messes up http://userscripts.org/scripts/show/8713 and it removes the link that lets you delete your post |
|
|
JoeSimmons wrote:I noticed that... it's still not perfect, but it's still a huge finger saver. :) Looks like the "Red X" is gone too. JoeSimmons wrote:Other than the missing "red items" they seem to coexist here on this system. |
|
|
JoeSimmons wrote: whoops! my bad. delete link is back and sets next to the cancel link. Marti wrote: Yeah I got rid of that on purpose since it's a little redundant(I always use the cancel link) and it takes up a <tr> to itself. This way the textarea can be larger and not have the form take up more than half the screen. Fair trade if you ask me.Marti wrote: Can't win 'em all I guess. I'm already checking two levels up in the DOM tree to see if we're in a post. btw you don't have to open a reply topic to quote. just select text in a post and click the "Quote" link. Marti wrote: Hadn't tried that script until Joe mentioned it, but yes the scripts do see to work together alright(even if there might be a little redundancy). |
|
|
sizzlemctwizzle wrote:Hmmm could have sworn I tried this before LOL... good to know and corrected in "thinking" sizzlemctwizzle wrote:Understandable Don't mind the redundancy between the two scripts... I'm more in this for quoting than inserting html tags into my comments... both are great, but imho yours is better ;) :) Now if I could just get uso to fix the textarea box from clipping the last couple of lines at the very end of a topic (e.g. they are hidden by this reply to topic window and the clipping gets worse if both scripts are installed.) Thanks again for all your hard work. |
|
|
Marti wrote: That has always bothered me too so I have always lengthened the page a little. I just made the lengthening dynamic so it should work with alien_scum's script. Alright. I'm done for tonight(really this time). Thank you for all your input. It's been very useful. |
|
|
sizzlemctwizzle wrote:Guess that solves that issue... although there's a little a tag anchor next to cancel now with alien_scum's script enabled (goes to disable it) in the reply to topic... very odd. Thanks. P.S. Turns out it's the order of who's script get's run first... swapped them around and alien_scum's script reshows... still clips quite a bit with that one enabled... won't be using that one much till I get around to contacting the author. |
|
|
Marti wrote: I have a style to make the reply box on the top of the screen if you want it. I also have a style to make it halfway transparent so you can read behind it. http://userstyles.org/styles/14472 http://userstyles.org/styles/16398 |
|
|
On the Discussion tab of a script, picked a topic, opened edit post and then clicked Quote on someone elses reply... created a new reply Fixed. If you have an edit box open and click quote it appends it to the textarea and if you have a reply box open it appends it to that textarea. I need to improve the selection quoting code. It's still in its infancy. One way of fixing this might be to get the child nodes of the selected element and collect all the innerHTML. Marti wrote: Yeah that's expected since I'm setting the innerHTML. |
|
|
sizzlemctwizzle wrote:Awesome! btw the selection quoting for this particular message seems to work better when the reply to topic box is already open. Marti wrote there:This is an example of why I wanted to quote myself in case I want to reference another topic. :) hmmm although "wrote" doesn't provide the full URI. :\ Any chance of that? (Manually added full URI and some sort of indicator that it's not this topic) |
|
|
JoeSimmons wrote:I don't currently use stylish, but seems like a neat idea... will check it out at a later date. Thanks. P.S. Making it partially visible (transparency) is nice, but for selection quoting, the page must be lengthened to select the hidden text. |