Files
2012-02-21 01:15:00 -05:00

1 line
7.6 KiB
JSON

[{"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122351.7635961, "message": "1. Compose a message as normal.", "group_id": 9739, "id": 1279145}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122407.21415, "message": "4. Post!", "group_id": 9739, "id": 1279155}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122643.0590401, "message": "Hmm, I don't have a complete understanding of the code. That was pasted.", "group_id": 9739, "id": 1279190}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122368.4536641, "message": "2. Delete the whole thing (say, using Ctrl-A, Ctrl-X).", "group_id": 9739, "id": 1279146}, {"user_id": 25438, "stars": [], "topic_id": 37996, "date_created": 1307122548.960413, "message": "Thanks!", "group_id": 9739, "id": 1279172}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122690.342165, "message": "Let's see...", "group_id": 9739, "id": 1279197}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122299.324343, "message": "The source is (currently) here: https://convore.com/media/CACHE/js/d5eb03f0279e.js Search for \"pasted=true\" to see the dastardly parts.", "group_id": 9739, "id": 1279136}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122345.4560881, "message": "I'm able to get around pasted=true using the following steps:", "group_id": 9739, "id": 1279144}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122387.015238, "message": "This triggers pasted=false in their keyup handler.", "group_id": 9739, "id": 1279149}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122402.567189, "message": "3. Undo (Ctrl-Z).", "group_id": 9739, "id": 1279154}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122619.272692, "message": "Let's see...", "group_id": 9739, "id": 1279186}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307123407.588903, "message": "Let's see\n...", "group_id": 9739, "id": 1279274}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307123412.421684, "message": "Let's see\n...", "group_id": 9739, "id": 1279275}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307122721.8443389, "message": "Nope. XD Ah well, I was trying to find a reproducible test case for this bookmarklet: javascript:$('#post-message').unbind('paste')", "group_id": 9739, "id": 1279201}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307123379.9784241, "message": "For convenience, here's a link to the Convore Feedback topic aw started yesterday: https://convore.com/feedback/how-can-i-get-a-post-to-not-be-formatted-pre/", "group_id": 9739, "id": 1279268}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307123536.4999051, "message": "Got it, I think the server double-checks whether there are any newlines in the post, so sometimes when &pasted=true is sent, it doesn't actually render as preformatted text.", "group_id": 9739, "id": 1279291}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307123599.5906579, "message": "Let's see\n...", "group_id": 9739, "id": 1279297}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307123660.8937559, "message": "And the bookmarklet works. ^_^ Just be careful to refresh the page if you actually do want Convore to detect pasted code.", "group_id": 9739, "id": 1279303}, {"user_id": 25438, "stars": [], "topic_id": 37996, "date_created": 1307124300.7970009, "message": "Where is the bookmarklet?", "group_id": 9739, "id": 1279375}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307124614.7808759, "message": "Right. So there are really at least two gotchas: You have to remember to refresh the page if you want preformatted text, and you have to remember to use the bookmarklet in the first place if you don't. :-p", "group_id": 9739, "id": 1279415}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307124307.9272981, "message": "javascript:$('#post-message').unbind('paste')", "group_id": 9739, "id": 1279376}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307124362.5239561, "message": "That's the URL. Paste it into a bookmark, and you can use the bookmark as a button to disable the paste handler.", "group_id": 9739, "id": 1279383}, {"user_id": 25438, "stars": [], "topic_id": 37996, "date_created": 1307124541.5395939, "message": "oh, so nothing will get pasted as pre at that point? (until I reload the page)", "group_id": 9739, "id": 1279406}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307151890.85902, "message": "Or better yet: I can write a Greasemonkey script that'll do that, and it can have a better user experience to boot.", "group_id": 9739, "id": 1283860}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307159731.5958879, "message": "Yeah, I mentioned Greasemonkey in the \"commits to ar on github\" thread before we moved the discussion here and aw deleted the old stuff. ;)", "group_id": 9739, "id": 1284406}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307170142.8087621, "message": "One thing I dislike: when it's posting as plain text, it asks \"Post as <pre>?\" which is kinda confusing... I'd rather it say something like \"Posting as plain text\" instead. Should be trivial to change.", "group_id": 9739, "id": 1284931}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307170191.1619949, "message": "Also, it defaults to posting as plain text, you can click the \"Post as <pre>?\" link to change it, it remembers your settings between refreshes/page loads, and I've only tested it on Firefox, so who knows if it'll work on Chrome.", "group_id": 9739, "id": 1284938}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307169815.9509749, "message": "fooobar\n\nqux\n\nthis is a test", "group_id": 9739, "id": 1284866}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307169808.9128039, "message": "fooobar\n\nqux\n\nthis is a test", "group_id": 9739, "id": 1284865}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307169828.497669, "message": "And it works. Now to upload it...", "group_id": 9739, "id": 1284870}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307170343.35499, "message": "(Also, I think that if you paste text in, and *then* click the \"Post as plain text?\" link, it'll still paste it in a <pre> tag... that's pretty difficult to fix, but I think it's still doable)", "group_id": 9739, "id": 1284966}, {"user_id": 32737, "stars": [{"date_created": 1307212283.3733709, "user_id": 32943}], "topic_id": 37996, "date_created": 1307170094.2252941, "message": "http://paaru.pbworks.com/w/file/fetch/40944346/Convore-Disable-%3Cpre%3E.user.js", "group_id": 9739, "id": 1284927}, {"user_id": 25438, "stars": [], "topic_id": 37996, "date_created": 1307203235.0344541, "message": "Works out of the box on Chrome ^_^", "group_id": 9739, "id": 1286757}, {"user_id": 32943, "stars": [], "topic_id": 37996, "date_created": 1307212281.5034349, "message": "Ahh, event.stopPropagation(). ^_^ I was looking for that. Thanks a lot!", "group_id": 9739, "id": 1287850}, {"user_id": 32737, "stars": [], "topic_id": 37996, "date_created": 1307239654.2656591, "message": "Good to hear it works on Chrome too.\n\nYeah, the DOM Event model is quite complex and (in my opinion) bloated, but it does have some neat stuff like stopPropagation, which I use regularly in my user scripts, to override the page's behavior.", "group_id": 9739, "id": 1290673}]