[Browser extension] Augment my Hump!
Page 15 of 24 Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 22, 23, 24  Next

What browser do you use this extension on?
Firefox
50%
 50%  [ 65 ]
Opera
7%
 7%  [ 9 ]
Chrome/Chromium
42%
 42%  [ 54 ]
Total Votes : 128

PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sat, 21st Jul 2012 15:55    Post subject:
But the problem with the reinserting text into the quickreply is still there. And yes I checked if there are still two active plugins grinhurt


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
shole




Posts: 3363

PostPosted: Sat, 21st Jul 2012 16:45    Post subject:
yea, detecting when to restore or when not to, is the problem
but i don't think it's an issue if the text is restored after posting
once it's shown, it is removed from local storage, never to be seen again
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Sat, 21st Jul 2012 18:04    Post subject:
Uhm but it also pastes private message content into the quick reply area, which could lead to some interesting posts in the future :/


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Sat, 21st Jul 2012 18:07    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:43; edited 1 time in total
Back to top
shole




Posts: 3363

PostPosted: Sat, 21st Jul 2012 22:01    Post subject:
hmm
maybe it could check if there is browsing history 'in the future' and only paste the text if there is
Back to top
Neon
VIP Member



Posts: 18935
Location: Poland
PostPosted: Tue, 24th Jul 2012 01:17    Post subject:
Also it seems that the newly added emoticons don't appear if you enable "all emoticons" option. Smile
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Tue, 24th Jul 2012 01:31    Post subject:
Neon wrote:
Also it seems that the newly added emoticons don't appear if you enable "all emoticons" option. Smile


Yep, can confirm.


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Tue, 24th Jul 2012 09:27    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:43; edited 1 time in total
Back to top
Neon
VIP Member



Posts: 18935
Location: Poland
PostPosted: Wed, 25th Jul 2012 02:43    Post subject:
Okay
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Fri, 10th Aug 2012 04:37    Post subject:
Can't set launch options on the start menu of win8 (desktop chrome and metro chrome are different versions), so how to install this in chrome without that? Razz


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Fri, 17th Aug 2012 19:06    Post subject:
How about the edit button, if you press that it will load at the bottom of the page (replacing the current reply form) and have a skip message for completing that aswell Wink


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Fri, 17th Aug 2012 19:10    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:46; edited 1 time in total
Back to top
DarkRohirrim




Posts: 9901
Location: The Void
PostPosted: Fri, 17th Aug 2012 19:21    Post subject:
I found a bug I think, on the Firefox version. I write what I want to write in the quick reply box and when I try to submit it doesn't work. It doesn't do anything. I think I've seen this happening before you updated to this last version, but it was very rare. Now it seems to happen quite frequently. It's not a big thing since I can just copy what I wrote, refresh, paste it back and it works. Maybe it's not even the plugin... I don't know... I just wanted to let you know.
Back to top
sausje
Banned



Posts: 17716
Location: Limboland, Netherlands
PostPosted: Fri, 17th Aug 2012 19:34    Post subject:
garus wrote:
sausje wrote:
How about the edit button, if you press that it will load at the bottom of the page (replacing the current reply form) and have a skip message for completing that aswell Wink


I have inline editing planned, too Smile Thanks for reminding!


Hehe, can't you do that as a fast quick update plox? Razz


Proud member of Frustrated Association of International Losers Failing Against the Gifted and Superior (F.A.I.L.F.A.G.S)
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Fri, 17th Aug 2012 19:36    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:46; edited 1 time in total
Back to top
DarkRohirrim




Posts: 9901
Location: The Void
PostPosted: Fri, 17th Aug 2012 20:52    Post subject:
Yup, it's only once installed (0.4.0). Firefox's version is 14.0.1.
Back to top
difm




Posts: 6618

PostPosted: Mon, 20th Aug 2012 11:30    Post subject:
I sometimes get the same bug. Once in a while. Refreshing helps.

FF 14.0.1


i5 6600k @ 4.3 GHz | MSI z170 Gaming M7 | 32GB Kingston HyperX Fury | 850 Evo 500GB | EVGA 1070 SC | Seasonic X-660 | CM Storm Stryker
Back to top
BLaM!
VIP Member



Posts: 13818
Location: Germany
PostPosted: Mon, 20th Aug 2012 12:20    Post subject:
difm wrote:
I sometimes get the same bug. Once in a while. Refreshing helps.

FF 14.0.1


yeah same here ..nothing serious tho , I didn't wanted to bother our beautiful garusa with some minor probs.. Razz
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Wed, 22nd Aug 2012 00:28    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:46; edited 1 time in total
Back to top
nerrd




Posts: 3607
Location: Poland / USA
PostPosted: Sat, 1st Sep 2012 17:58    Post subject:
OK. Finally I got on-board. So far I'm very impressed.

I would like to take a second to say a big fuck you to all you lazy bastards that can't take a second to re-size/spoiler oversize images before posting.

Also big props to garus for making this extension.
Back to top
madmax17




Posts: 20016
Location: Croatia
PostPosted: Fri, 21st Sep 2012 21:21    Post subject:
This is really useful, thx Very Happy
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Sat, 22nd Sep 2012 12:11    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:48; edited 1 time in total
Back to top
webtax




Posts: 463

PostPosted: Sun, 14th Oct 2012 20:51    Post subject:
didn't see this one. Gonna give it a whirl in my opera, hope it doesn't steal my megahurtz

oh it's already working as i post this,nice
Back to top
shole




Posts: 3363

PostPosted: Thu, 25th Oct 2012 06:29    Post subject:
ok, made another one
i'm a slow browser so the forum 'new posts' links tend to time out on me while i look at links of other threads
so why not make the links absolute?
this goes anywhere in humpinator.js
Code:

var newposts = $('.row1').find('.topictitle').find('a').has('img[alt="View newest post"]');
$(newposts).each(function(i,o) {
    var threadurl=window.location.origin+'/forum/'+$(this).attr('href');
   console.log($(this).attr('href'),'->');
   (function(that){
      $.get(threadurl,function(data, textStatus, jqXHR){
         var doc = $('<div/>').append(data.replace("urchinTracker();",""));
         //console.log('<-',$(doc).find('.row2').find('a'));
         //console.log('<-',$(doc).find('.row2').find('a').find('img').parent());
         console.log('<-',$(doc).find('.row2').find('a').find('img[src="templates/NFOrce8/images/icon_minipost_new.gif"]').parent());
         var newpostlink=$(doc).find('.row2').find('a').find('img[src="templates/NFOrce8/images/icon_minipost_new.gif"]').parent().first();
         if (newpostlink!==undefined && newpostlink.length!==0) {
            console.log('new post found: '+$(that).attr('href') +' -> ' +$(newpostlink).attr('href'));
            $(that).attr('href',$(newpostlink).attr('href'));
         } else {
            console.log('no new post found for '+$(that).attr('href'));
         }
      });
   })(this);
});

it's hacky and spams the server with requests but i couldn't think of any other way to do it
it currently opens every 'new posts' link, finds the first 'new post' icon and takes the link of that post
for some reason it won't match with [alt="New post"] so i had to match with image filename
it's not foolproof because it's not always the exact same post as what is in the location field, but i cannot access the location parameter through ajax
i tried through iframes but user scripts don't have access to iframe contents (while worked fine in console)
anyway, this implementation seems to work and only replaces the link if it manages to get a 'new post' link

needs proper testing
only tried it in chrome
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Thu, 25th Oct 2012 09:38    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:51; edited 1 time in total
Back to top
BettyShikle




Posts: 2737
Location: Tardland
PostPosted: Fri, 26th Oct 2012 00:21    Post subject:
I HAVE to use it since posting big-ass pictures is not against the rules anymore but boy is it great.Really good plugin Garus!
Back to top
sabin1981
Mostly Cursed



Posts: 87805

PostPosted: Fri, 26th Oct 2012 00:27    Post subject:
Ooooh, speaking of features... since so many of us have asked for embedded YT/etc videos for a while now, is there any way to add that kind of functionality to your plugin? Smile
Back to top
PumpAction
[Schmadmin]



Posts: 26759

PostPosted: Fri, 26th Oct 2012 00:29    Post subject:
Sure, it'd work.


=> NFOrce GIF plugin <= - Ryzen 3800X, 16GB DDR4-3200, Sapphire 5700XT Pulse
Back to top
shole




Posts: 3363

PostPosted: Fri, 26th Oct 2012 17:58    Post subject:
yea it would be easy to replace all youtube links with embeds
Back to top
garus
VIP Member



Posts: 34197

PostPosted: Fri, 26th Oct 2012 18:08    Post subject:
snip


Last edited by garus on Tue, 27th Aug 2024 21:52; edited 1 time in total
Back to top
Page 15 of 24 All times are GMT + 1 Hour
NFOHump.com Forum Index - General chatter Goto page Previous  1, 2, 3 ... 14, 15, 16 ... 22, 23, 24  Next
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group