User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Request features for a TWW Greasemonkey script Page 1 2 3 4 5 [6] 7 8, Prev Next  
not dnl
Suspended
13193 Posts
user info
edit post

is there anyway from keeping the block users list from resetting if my computer suddenly and unexpectedly powers off?

8/10/2009 8:13:06 PM

FroshKiller
All American
51911 Posts
user info
edit post

Sorry, HaLo. Read your tone wrong.

A brief summary of changes in 0.4:

* Photo gallery navigation is now optionally bound to the left and right arrows when viewing a photo. You may also click the photo to advance to the next photo.
* Links to YouTube videos are converted to embedded objects playable from the browser window with Wolf Web colors.
* IFRAMEs in posts are automatically converted to links.
* Behind-the-scenes parser work continues. The thread parser now returns an array of User objects, which are used in the blocking methods. Neat!

not dnl: The blocker stores usernames and IDs as a JSON string in your Firefox configuration. There's not much more the script can do. You might want to periodically restart Firefox or something.

[Edited on August 10, 2009 at 11:27 PM. Reason : ...]

8/10/2009 11:25:59 PM

Ernie
All American
45943 Posts
user info
edit post

Quote :
"IFRAMEs in posts are automatically converted to links."


GUNZZ SO SAD

8/10/2009 11:29:51 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

view photos on the left isn't working properly for me.

FF3.5.2
latest edition of the script

click on view photos and it goes to the wrong user's gallery (so far, only single digit users). others give me an oh shit

[Edited on August 11, 2009 at 8:41 AM. Reason : .]

8/11/2009 8:40:42 AM

FroshKiller
All American
51911 Posts
user info
edit post

Bizarre. Fixed. Reinstall.

8/11/2009 8:42:41 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

fock yeaahh.

8/11/2009 8:51:12 AM

mdozer73
All American
8005 Posts
user info
edit post

Test Post:

http://www.youtube.com/watch?v=TkJuT4X6HFU

8/11/2009 9:55:14 AM

FroshKiller
All American
51911 Posts
user info
edit post

That's tight, right?

8/11/2009 10:05:42 AM

mdozer73
All American
8005 Posts
user info
edit post

nice

8/11/2009 10:06:05 AM

jocristian
All American
7527 Posts
user info
edit post

If the owners actually gave a shit, they'd probably be pissed that you took a bunch of stuff that would be great premium-only features and gave it to everyone.

gg

8/11/2009 1:33:51 PM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

agreed

continue plz

8/11/2009 1:35:18 PM

FroshKiller
All American
51911 Posts
user info
edit post

Good call! I am available for contract work.

8/11/2009 2:26:23 PM

not dnl
Suspended
13193 Posts
user info
edit post

anyway to get a search feature for PMs?

8/11/2009 8:15:04 PM

FroshKiller
All American
51911 Posts
user info
edit post

Not really. For the most part, I'm working with only what's on the page already.

8/11/2009 8:30:25 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

Bump, 'cause this is good stuff.

8/15/2009 8:42:37 PM

FroshKiller
All American
51911 Posts
user info
edit post

Development is on hold while I deal with a project at work.

8/18/2009 9:22:00 AM

FroshKiller
All American
51911 Posts
user info
edit post

Idea: Group threads in Classifieds according to common thread prefixes (FF, FS, WTB, etc.).

8/19/2009 1:53:16 PM

mdozer73
All American
8005 Posts
user info
edit post

great idea!

8/19/2009 8:37:29 PM

El Nachó
special helper
16370 Posts
user info
edit post

Idea: Shorten all the site specific links. i.e. http://brentroad.com/message_topic.aspx?topic=572234&page=6 to message_topic.aspx?topic=572234&page=6

8/21/2009 8:54:05 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

is there any way to force imageshack pictures to show? not sure how it would work, but since pasting the url in a new tab + F5 works, then caches it so that it shows it in posts, I figured there might be a way to automatically do that...

[Edited on August 31, 2009 at 10:48 AM. Reason : .]

8/31/2009 10:48:21 AM

ncemt_03
All American
5453 Posts
user info
edit post

hahahaha- So i actually just read this thread from start to finish (post by post) in full!

My head hurts, i feel utterly stupid and computer illiterate, and am baffled at the progress made here and amount of true "feedback" within.

gg

9/3/2009 9:55:55 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

The script seems to destroy the Who's Online thread: message_topic.aspx?topic=470078&page=29

As in, very few of the posts appear in proper chronological order.

9/11/2009 4:54:08 AM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

cool story bro

9/11/2009 11:17:39 AM

ScHpEnXeL
Suspended
32613 Posts
user info
edit post

^

9/11/2009 11:22:25 AM

LimpyNuts
All American
16859 Posts
user info
edit post

Why doesn't the script work for me? I have up-to-date greasemonkey. "Clear blocked user list" option shows up in the greasemonkey menu, but it doesn't have any effect on my tdub experience.

WTF?

9/11/2009 12:07:10 PM

LimpyNuts
All American
16859 Posts
user info
edit post

reinstalled script with great success

9/11/2009 12:13:07 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

gg man! you're basically an IT pro now!

9/11/2009 1:59:32 PM

se7entythree
YOSHIYOSHI
17377 Posts
user info
edit post

change the color from red to something less obvious [at work]

evan did one a while back but it quit working properly for me

9/15/2009 9:34:38 AM

FroshKiller
All American
51911 Posts
user info
edit post

Like I said earlier: You can do that yourself. Elements' colors are defined in an external stylesheet, but you can specify your own rules in a user style sheet. You're not going to get the result you really want, I bet, but it's better than nothing.

My aim is to enhance the site experience, and changes to the site's appearance that are difficult to implement don't fit in with that.

Take a look at http://www.mozilla.org/unix/customizing.html. Firefox profiles have a file called userContent.css that lets you specify how certain page elements appear regardless of what the document itself says.

BESIDES

you probably want it carolina blue or some shit

THESE COLORS DON'T RUN

9/15/2009 10:55:35 AM

se7entythree
YOSHIYOSHI
17377 Posts
user info
edit post

i am illiterate when it comes to these things. this is why i asked. i'll look at that link and see if i can figure it out.

also, no, i would prefer gray.

[Edited on September 15, 2009 at 11:14 AM. Reason : ]

9/15/2009 11:13:47 AM

Fail Boat
Suspended
3567 Posts
user info
edit post

Did anyone suggest/request the ability to highlight text and apply the style tags (bold, indent, etc) or quotes to it?

9/15/2009 2:56:23 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

is there any way to force imageshack pictures to show? not sure how it would work, but since pasting the url in a new tab + F5 works, then caches it so that it shows it in posts, I figured there might be a way to automatically do that...

9/16/2009 7:13:28 PM

FroshKiller
All American
51911 Posts
user info
edit post

Fail Boat asked:
Quote :
"Did anyone suggest/request the ability to highlight text and apply the style tags (bold, indent, etc) or quotes to it?"


You can bind functions to certain events, including key presses. I don't really want to write all that, though, mostly because I don't want to write the documentation explaining which keyboard shortcuts are available.

wdprice3 asked:
Quote :
"is there any way to force imageshack pictures to show? not sure how it would work, but since pasting the url in a new tab + F5 works, then caches it so that it shows it in posts, I figured there might be a way to automatically do that..."


The method you're on the cusp of suggesting is the kind of stuff I said I wasn't interested in doing. And honestly, if someone doesn't know better than to hotlink to an ImageShack pic, is it likely to be a pic you're interested in seeing?

9/23/2009 8:39:51 AM

Fail Boat
Suspended
3567 Posts
user info
edit post

Wouldn't it be possible rewrite what happens when you click the buttons for the text styling? Instead of just putting in the open, you could highlight your text and then clicking the text style would put the open, text, and close for you? Then no need to have it bind to keyboard short cuts, no need for explaining and documenting.

9/23/2009 9:42:38 AM

LimpyNuts
All American
16859 Posts
user info
edit post

I need a little help... I'm trying to highlight posts by certain users. If I use:

msg.parent().parent().css("backgroundColor", highlightColor);


Everything gets highlighted except the bottom of the post cell where the time stamp is. How can I reference that paragraph to highlight it as well? Shouldn't msg.parent().parent() reference the TR? If I add another parent() it highlight a whole row, but not necessarily the right one...

10/7/2009 6:55:34 PM

LimpyNuts
All American
16859 Posts
user info
edit post

I figured it out. Some of the post_footer rows have TD's with overriding background styles (dark colored cells). This seems to work:

function highlightUsersInThread() {
userIDsToHighlight.forEach(function(value, index, array){
$('.post_by_' + value).each(function(){
$(this).children().css("backgroundColor","lightyellow");
$(this).children(".post_footer").children().css("backgroundColor",highlightColor);
});
});
}




For future reference, it might be cool to have both friends and foes lists.

[Edited on October 7, 2009 at 7:52 PM. Reason : ]

10/7/2009 7:37:32 PM

LimpyNuts
All American
16859 Posts
user info
edit post

Ok, now that I have gotten the hang of jQuery, many thanks for the greasemonkey script. This is great.

10/8/2009 1:38:50 AM

LimpyNuts
All American
16859 Posts
user info
edit post

My version of teedub:

10/8/2009 2:28:26 PM

jbtilley
All American
12797 Posts
user info
edit post

Any script out there for automatically resizing huuuuuuge images or links that cause the page to scroll horizontally?

10/9/2009 10:17:12 AM

LimpyNuts
All American
16859 Posts
user info
edit post

You can do it with jQuery (which this script is built on). This works, but it's a little slow. Maybe one of these other guys can figure out a better way...

function shrinkALink() {
$('a').each(function(){
href=$(this).attr("href");
if (href != null) {
linkText=$(this).text();
if (href==linkText) {
if (linkText.length > 49) {
linkText=linkText.substring(0,23) + "..." + linkText.substring(linkText.length-23,linkText.length);
$(this).text(linkText);
}
}
}
});
}



If you know how to edit the script, open it up and put that in with the rest of the function definitions, then put the line "shrinkALink();" in the appropriate section of the "checkWolfWebURL" function -- just below the line that says "blockUsersInThread(usersInThread);"

10/9/2009 2:12:40 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

I'm not sure what all you've included in your script, but if you haven't included the following, would you include it in another update?

- scaleImages (keeps images to a certain size to eliminate side scroll)
- bigPicture (relinks posted tww pictures to make them large (jpg->JPG))
- InsertAtCursor (inserts tags at cursor)
- shortenlonglinks (keeps links short to avoid side scroll)
- TWW Small Image Fixer (relinks tww thumbnails to actual picture)

I've got all these plus a few more, and your script, all running - so I'm not sure if yours already covers some of this. But I thought it would be nice (and cleaner for my user scripts) to have one TWW script that does it all.

10/15/2009 7:42:28 PM

LimpyNuts
All American
16859 Posts
user info
edit post

If I had any input into the source, I'd have done some of that stuff already. Note the post above yours as a function to reduce links to a maximum of 50 characters (only if the link text and URL are the same).

10/18/2009 2:28:31 AM

LimpyNuts
All American
16859 Posts
user info
edit post

Quote :
"scaleImages (keeps images to a certain size to eliminate side scroll)"


Add a horizontal scrollbar to posts with images wider than the column:

function scrollingPost(theImage) {

widthLimit=document.width-150;
theCSS={
'width':widthLimit,
'overflow-x':'scroll'
}

noScroll={
'width':'',
'overflow-x':''
}

if (theImage!=null) {
if (theImage.width()>widthLimit) {
theImage.closest(".post_message_content").css(theCSS);
}
} else {
$("img").each(function(){
if ($(this).width()>widthLimit) {
$(this).closest(".post_message_content").css(theCSS);
} else if ($(this).css("overflow-x")!="") {
$(this).closest(".post_message_content").css(noScroll);
}
});
}
}


Must also bind the following events to call the subroutine:
$("img").bind("load",function(){scrollingPost($(this))});
// this is slow (1-2 sec) if the thread has lots of images
$(window).bind("resize",function(){scrollingPost(null)});


Quote :
"bigPicture (relinks posted tww pictures to make them large (jpg->JPG))
TWW Small Image Fixer (relinks tww thumbnails to actual picture)"


Are these referring to the same thing?

function fixThumbnails() {
document.body.innerHTML =
document.body.innerHTML.replace(/(src="photos\/.*?)t\.jpg/ig,"$1.jpg");
}


Quote :
"shortenlonglinks (keeps links short to avoid side scroll)"


shrinkALink posted above.


Thanks for the ideas, btw... my teedub > your teedub.

10/18/2009 8:46:06 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^lol. I already have scripts doing all that I described, I would just like to see everything rolled into one package.

as for the image fixers, I believe one relinks *.jpg to *.JPG and the other relinks *t.jpg to *.JPG

[Edited on October 18, 2009 at 9:55 PM. Reason : *]

10/18/2009 9:55:18 PM

El Nachó
special helper
16370 Posts
user info
edit post

I just assumed that one of them makes you post pictures the "right" way and the other one fixes it so that it appears that everyone else posts the "right" way even if they didn't.

10/19/2009 12:21:21 AM

LimpyNuts
All American
16859 Posts
user info
edit post

^^ why does the extension capitalization matter?

10/19/2009 5:35:44 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^ when posting pictures hosted on TWW, *.jpg shows a linked thumbnail (smal with red border) while *.JPG shows the full-size image

10/20/2009 12:47:28 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

I'm still enjoying the auto-embed on youtube videos.

10/20/2009 5:29:37 PM

wdprice3
BinaryBuffonary
45912 Posts
user info
edit post

^yeh, that's pretty awesome

10/21/2009 8:57:58 AM

El Nachó
special helper
16370 Posts
user info
edit post

Quote :
"while *.JPG shows the full-size image"


So does .jpG, .jPg, or any combination that isn't all lower-case. FYI.

10/21/2009 12:25:23 PM

 Message Boards » Feedback Forum » Request features for a TWW Greasemonkey script Page 1 2 3 4 5 [6] 7 8, Prev Next  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.