| Home | RSS Feeds |
| Funny Pictures | Funny Videos |
| Funny GIFs | YouTube Videos |
| Text/Links | Comic Editor |
| User Rankings | Channels |
| Copyright Removal Request | |
| |
posttwo
| Rank #274 on Comments Offline Send mail to posttwo Block posttwo Invite posttwo to be your friend flag avatar |
|
I don't mind
latest user's comments
Show:
Sort by:
Order:
items
Update for the tool. pastebin.com/qXQH8RPY
[*] More user friendly prompt for username
[*] You can now hide the logo by changing the dontDisplayLogo variable below
[+] Hotkey (Ctrl + R) for our Reply function
Working on some changes so I might give you another message soon.
[*] More user friendly prompt for username
[*] You can now hide the logo by changing the dontDisplayLogo variable below
[+] Hotkey (Ctrl + R) for our Reply function
Working on some changes so I might give you another message soon.
I like it.
"//I see you checked the code! You may now remove whats below."
let's hope they don't take away my part of the script that's also below that line. XD
But can you allow me to edit it? userscripts.org/users/517347
Or doesn't userscripts.org have an option of multiple authors?
Anyway, I'll have an update for it soon.
"//I see you checked the code! You may now remove whats below."
let's hope they don't take away my part of the script that's also below that line. XD
But can you allow me to edit it? userscripts.org/users/517347
Or doesn't userscripts.org have an option of multiple authors?
Anyway, I'll have an update for it soon.
dl.dropboxusercontent.com/u/25469217/tampermonkey/funnyjunk-thumb-script-3.js
Download and upload to that site, I might give a new version again real soon. (is there a way you can add another user to edit it after you uploaded it?
I hope it's okay I changed the title and description. .3.
Download and upload to that site, I might give a new version again real soon. (is there a way you can add another user to edit it after you uploaded it?
I hope it's okay I changed the title and description. .3.
function removesmiles(){
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/kiss.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/smile.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/default/big_grin.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/sad.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/tongue.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/surprise.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/confused.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/blushing.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/default/broken_heart.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/love.gif"]').remove();
}
$(document).keypress(function(e)
{
switch(e.which)
{
// user presses the "a"
case 97: removesmiles();
break;
}
});
I can bind it to the A key
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/kiss.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/smile.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/default/big_grin.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/sad.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/tongue.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/surprise.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/confused.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/blushing.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/default/broken_heart.gif"]').remove();
$('img[src="www.funnyjunk.com/site/funnyjunk/images/chat/emoticons/defaul t/love.gif"]').remove();
}
$(document).keypress(function(e)
{
switch(e.which)
{
// user presses the "a"
case 97: removesmiles();
break;
}
});
I can bind it to the A key
Ah good, you did include jQuery. Any reason why you included 1.9.1?
Funnyjunk currently uses 1.8.2, I recommend including that one in your user script too.
It won't make 2 jQuerys anyway, it just would be a backup and then you'll always be sure about which version is loaded.
Okay now use jQuery's keydown. api.jquery.com/keydown/
And check using an if statement if the entered keycode is 82.
Funnyjunk currently uses 1.8.2, I recommend including that one in your user script too.
It won't make 2 jQuerys anyway, it just would be a backup and then you'll always be sure about which version is loaded.
Okay now use jQuery's keydown. api.jquery.com/keydown/
And check using an if statement if the entered keycode is 82.
"Note that keydown and keyup provide a code indicating which key is pressed, while keypress indicates which character was entered. For example, a lowercase "a" will be reported as 65 by keydown and keyup, but as 97 by keypress. An uppercase "A" is reported as 65 by all events. Because of this distinction, when catching special keystrokes such as arrow keys, .keydown() or .keyup() is a better choice."

