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 » » Better Wolf Web: a Greasemonkey script for Firefox Page 1 2 [3] 4 5, Prev Next  
FroshKiller
All American
51877 Posts
user info
edit post

That's weird. That's not how it's written. Neat!

[Edited on July 12, 2011 at 3:04 PM. Reason : Peace, we outta here.]

7/12/2011 3:04:12 PM

ThePeter
TWW CHAMPION
37709 Posts
user info
edit post

Quote :
"I have discovered that the NSFW button only works if you type "v", click the [nsfw] link, and then type "v" again.

you have to close the dialogue for it to complete. for me anyway."


I did this:

1) "v" [nsfw appears]
2) clicked v [nothing happens]
3) "v" [nsfw disappears]

and it highlighted the thread...some shitty OEPII1 thread

7/12/2011 6:09:45 PM

BIGcementpon
Status Name
11318 Posts
user info
edit post

Mine has always worked in Firefox just by merely clicking the [nsfw] link after hitting V

7/12/2011 10:56:01 PM

mdozer73
All American
8005 Posts
user info
edit post

nevermind...

reading comprehension fail

[Edited on July 13, 2011 at 8:14 AM. Reason : .]

7/13/2011 8:12:13 AM

grimx
#maketwwgreatagain
32337 Posts
user info
edit post

I had no luck with this in chrome still. It was worth switching to firefox to use though

7/13/2011 2:19:23 PM

FroshKiller
All American
51877 Posts
user info
edit post

High praise from a Chrome user.

7/13/2011 2:19:59 PM

dweedle
All American
77386 Posts
user info
edit post

my internet was actin a fool and i tried to see if it was chrome (was not) but loaded firefox too and figured i'd install this since i had the browser open

so far so good

7/14/2011 12:07:12 PM

dakota_man
All American
26584 Posts
user info
edit post

Yo FK (can I call you FK?)

I don't use FF at all but if I did and I also used this script, I'd ask you to hook me up with functionality that strips leading and trailing asterisks from thread titles. I'd also consider asking for a feature that sensibly capitalized uppercase thread titles, but I don't think that would be as simple.

So, since I can't ask you for any of that for me, I'll ask you for that for your users instead.

Warmest regards,

d_m

7/17/2011 2:02:28 PM

dweedle
All American
77386 Posts
user info
edit post

will any of the features in this script be included in the framework of site3?

i really dont want to switch to firefox (slow on my computer for whatever reason), but being able to block a bunch of the riffraff on here would be fantastic in Chrome

7/19/2011 7:51:35 PM

FroshKiller
All American
51877 Posts
user info
edit post

@dakota_man u right

@dweedle idk i haven't worked on site 3

7/21/2011 3:18:24 PM

dweedle
All American
77386 Posts
user info
edit post

oh that was more of a question toward qfred

7/21/2011 4:36:04 PM

qntmfred
retired
40360 Posts
user info
edit post

FK is not QF #2 (or is he... )

right now, none of them are in site3, but i've used some of his ideas in the design, which will make it possible once i get to it

7/21/2011 7:00:56 PM

FroshKiller
All American
51877 Posts
user info
edit post

i will probably do a site 3 version

7/22/2011 9:56:40 AM

mdozer73
All American
8005 Posts
user info
edit post

It would be cool to see the posts that are marked as NSFW for the ones that are.

Maybe instead of highlighting the title, code a red icon like the {NEW} and {OLD} icons on the left to say {NSFW} on the right ned of the thread title and if you click that, it takes you directly to the post that is marked.

Some of the 1000+ page threads that are NSFW are probably only .0001% unsafe.

[Edited on August 10, 2011 at 1:33 PM. Reason : .]

8/10/2011 1:32:54 PM

scrager
All American
9481 Posts
user info
edit post

do you want patches for issues?

don't remove youtube iframe embeds
line 20


gunzzFrames = $('.post_message_content iframe');

to

gunzzFrames = $('.post_message_content iframe').not("[src*=youtube]");


turn youtube embed links in to embed iframes
add this to applyMediaEnhancements:

messageLinks.filter('a[href*=youtube.com/embed]').each(function() {
$(this).replaceWith('<iframe width="425" height="349" src="' + $(this).attr("href") + '" frameborder="0" allowfullscreen></iframe>');
});

8/10/2011 10:03:50 PM

scrager
All American
9481 Posts
user info
edit post

If frosh can return which posts have NSFW tags, then I can probably work out a way to cover up NSFW posts unless you click to reveal. I'm not sure if that is tracked in the database though.

8/10/2011 10:09:47 PM

scrager
All American
9481 Posts
user info
edit post

NSFW tags ala reddit

find this else if block and add the statement below (let me know if there is some css added by the script elsewhere that I can add this to)


} else if (currentURL.match(/message_section\.aspx/)) {
$("body").append('<style>.nsfw_tag{-moz-border-radius: 3px 3px 3px 3px;border: 1px solid #D27979 !important;color: #AC3939;font-size: x-small;padding: 0 2px;text-decoration: none;margin-right: -32px;}</style>');


change

$('.nsfw').attr('bgcolor', '').css('backgroundColor','#ffb2b2');

to

$('.nsfw').find('td:first-child a').replaceWith('<acronym class="nsfw_tag">NSFW</acronym>');

8/10/2011 10:31:48 PM

scrager
All American
9481 Posts
user info
edit post

Quote :
"
I did this:

1) "v" [nsfw appears]
2) clicked v [nothing happens]
3) "v" [nsfw disappears]

and it highlighted the thread...some shitty OEPII1 thread
"


according to the code, there is no acknowledgement that the vote was submitted. I would suggest that we acknowledge the click with a processing message or image, then remove the link after the vote is successful.

Also, if we can return the individual post votes, we can remove the NSFW link on previously voted links and instead cover up or replace the post with a NSFW warning. Then it would be safe to browse NSFW threads and only view NSFW posts if you choose to do so.

8/11/2011 10:02:45 AM

scrager
All American
9481 Posts
user info
edit post

Quote :
"

$('.nsfw').find('td:first-child a').replaceWith('<acronym class="nsfw_tag">NSFW</acronym>');

"


if you change 'replaceWith' to 'html', then the NSFW tag will still be a link to the thread.

8/11/2011 10:05:40 AM

scrager
All American
9481 Posts
user info
edit post

Chrome port: http://www.evaul.net/better_wolf_web_chrome.user.js

doesn't seem to be embedding youtube links.
v doesn't bring up NSFW reporting links

NSFW thread tagging does work though.

[Edited on September 4, 2011 at 9:25 PM. Reason : .]

[Edited on September 4, 2011 at 9:26 PM. Reason : .]

9/4/2011 9:24:27 PM

goalielax
All American
11252 Posts
user info
edit post

thank you! was tired of the FF bloat as of late, but chrome left me exposed to shit like BlackJesus...now the best of both worlds!

9/12/2011 4:54:46 PM

lewisje
All American
9196 Posts
user info
edit post

I certainly hope this UserScript now works in Opera!

I changed the YouTube embedding site to use HTTPS and then minified the script: http://jansal.net/opera/salr/better_wolf_web_chrome.user.js

10/3/2011 7:18:04 PM

dweedle
All American
77386 Posts
user info
edit post

I have that Chrome version installed and blocked someone but they still show up when I refresh

fyi

10/3/2011 7:52:50 PM

dweedle
All American
77386 Posts
user info
edit post

lol, if someone posts in a thread, it says "a blocked user" on the forum page as the person who posted last

but when you click the thread, it still shows their post

10/4/2011 11:47:24 AM

scrager
All American
9481 Posts
user info
edit post

just so everyone knows, i ported the script to chrome, but i was only interested in the NSFW thread tagging. Since chrome doesn't support script importing (with the require directive), i had to copy all the various scripts together (jquery, ajax hack, supporting functions), but I did not test all of the various features. I'd be interested in working with FroshKiller to improve the script, but I need his input on database interactions.

10/10/2011 9:46:10 PM

FroshKiller
All American
51877 Posts
user info
edit post

Cool, a Chrome port!

I haven't been very interested in extending the script the past few months (or in the Wolf Web in general). Figured I'd rewrite it for Site 3, but it looks like the Site 3 thing isn't really happening yet.

10/10/2011 10:43:41 PM

dweedle
All American
77386 Posts
user info
edit post

whoever made the Chrome port, would it be simple to hide blocked users' posts within all threads

10/16/2011 11:08:19 AM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

yay, it's on chrome!

but what's up with the 'user script commands" in the top right/left corner.
it also loads in the thread view pane when replying

10/21/2011 10:54:59 PM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

eh, how do you mark threads as nsfw in chrome?

10/27/2011 10:24:22 AM

scrager
All American
9481 Posts
user info
edit post

I've updated my chrome port. User blocking in threads works now. pressing v to get NSFW links works now. clicking on a nsfw link also gives feed back that the post was reported.

http://www.evaul.net/better_wolf_web_chrome.user.js

I had trouble just clicking the link to install the extension in my browser. I'm not sure why. I verified that the file is correct and if you right click>save as, then drag the file to your browser, it will install correctly.

Quote :
"but what's up with the 'user script commands" in the top right/left corner.
it also loads in the thread view pane when replying"


This has something to do with the work around for storing variables in the browser. Chrome doesn't support some of the greasemonkey features that the firefox plugin does, so there's an HTML5 hack. part of that is putting this 'user script commands' thing up there. You can just ignore it. I'll look in to removing it if it pops up again, but it's not showing up for me right now.

11/1/2011 10:11:25 PM

grimx
#maketwwgreatagain
32337 Posts
user info
edit post

i like the way nsfw was done in the chrome port. but wish that i could still click the new button to go to the latest post still

11/2/2011 10:31:29 AM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

I like the chrome nsfw version much better; however, it does need to be linked to the last post, if possible

11/2/2011 11:37:44 AM

scrager
All American
9481 Posts
user info
edit post

Quote :
"i like the way nsfw was done in the chrome port. but wish that i could still click the new button to go to the latest post still"

Quote :
"I like the chrome nsfw version much better; however, it does need to be linked to the last post, if possible"


fixed. try it now. Might have to clear your cache and restart your browser before clicking the link to get the latest version.

11/2/2011 12:47:36 PM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

awesome! and the new tag looks great (much better than the previous).

now what about the user script commands thingy in the top right? my biggest issue is that it covers the chat box. you can click on it to relocate it, but upon leaving/refreshing the page, it goes back to the top right.

if you're serious about playing with this script/keeping it up to date then you should open a paypal and ask for donations

11/2/2011 1:16:07 PM

grimx
#maketwwgreatagain
32337 Posts
user info
edit post

agreed, thanks for the fix!

11/2/2011 2:20:59 PM

scrager
All American
9481 Posts
user info
edit post

I'll have to talk to Froshkiller about me taking donations since it's mostly his code originally and the database is still on his host.

I'll look in to the user script commands tonight when i get home

11/2/2011 3:17:33 PM

dweedle
All American
77386 Posts
user info
edit post

(no stalker) but i like how you have the [send pm] and [view photos] links right in the posts as well

that might have been a Froshkiller thing, but it wasn't in the previous Chrome port

11/2/2011 4:35:55 PM

scrager
All American
9481 Posts
user info
edit post

i took out the ability to clear the blocked user list, which should prevent the user script commands menu from appearing. Let me know if it still appears after you've reinstalled again. You'll know you have the latest version because the NSFW tags on the message board is now lower case. Once we verify this fix works, i can change that back to upper case.

11/2/2011 8:45:37 PM

lewisje
All American
9196 Posts
user info
edit post

I know the people behind Unfriend Finder and the "Download YouTube Videos as MP4" UserScript use a different HTML5 hack by incorporating their relevant user-interface elements into the design of the sites themselves; also I tried using the previous version of this Chrome port in Opera (which does support many GreaseMonkey scripts, including the two I mentioned at the start of this post) and the "User Script Commands" div appeared on every site, so I had to stop using it

11/3/2011 1:33:27 AM

scrager
All American
9481 Posts
user info
edit post

does it still show up? it's not showing up for me, of course it wasn't consistent for me in the first place. If it still shows up, then i think there is more that I can do to get rid of it.

11/3/2011 6:57:45 AM

wdprice3
BinaryBuffonary
45908 Posts
user info
edit post

^don't see it on the latest version

11/3/2011 8:50:57 AM

jtw208
 
5290 Posts
user info
edit post

how would I edit it to automatically remove "autoplay=1" from any embedded media?

12/16/2011 2:55:09 PM

skokiaan
All American
26447 Posts
user info
edit post

Are post timestamps gone for anyone else?

12/26/2011 1:20:43 AM

MisterGreen
All American
4328 Posts
user info
edit post

^not me

12/28/2011 4:11:31 PM

FroshKiller
All American
51877 Posts
user info
edit post

So I have 5 GB of Google Cloud storage I haven't been doing anything with. I could store user block lists and shit in the cloud, I guess. Users would be responsible for manually synchronizing with the cloud via a menu option.

1/10/2012 1:29:46 PM

FroshKiller
All American
51877 Posts
user info
edit post

What I'd really like to do is change my script over to a framework, but I guess Greasemonkey scripts aren't extensible like that.

1/11/2012 9:21:33 AM

FroshKiller
All American
51877 Posts
user info
edit post

Okay, so fuck Greasemonkey, I'll just build a Firefox extension.

1/13/2012 10:03:39 PM

BubbleBobble
:3
113719 Posts
user info
edit post

that'd be wicked awesome

1/14/2012 12:27:07 AM

lewisje
All American
9196 Posts
user info
edit post

^^^I thought Greasemonkey scripts could be based on frameworks like jQuery or MooTools...

1/14/2012 5:59:44 PM

FroshKiller
All American
51877 Posts
user info
edit post

It is built with jQuery. I'm saying I'd like to make the script itself an extensible framework, i.e. make it easier for users to customize. It'd be great if I could have a common base that the other features plugged into.

[Edited on January 14, 2012 at 10:07 PM. Reason : ...]

1/14/2012 10:03:26 PM

 Message Boards » Feedback Forum » Better Wolf Web: a Greasemonkey script for Firefox Page 1 2 [3] 4 5, 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.38 - our disclaimer.