Get Dillo to honour target=_blank
Hi all, How easy (or hard) would it be to get Dillo to honour the URL/FORM directive 'target="_blank" to get URL/CGI data returned in a new tab? I ahve looked at the code, seeing as Dillo already has tabs, but I just don't get C++ classes and stuff, and wouldn't know where to begin. The reason for asking this is if one has a form with a lot of data that needs processing, once submitted the data gets returned to the parent page... if there is a mistake, then you need to go back to the form, and as Dillo doesn't keep the previous page data, you have to fill it all in again. By diverting the output to a new tab, the previous parent window remains the same, ready for editing and processing again. Thanks, Nick -- Gosh that takes me back... or is it forward? That's the trouble with time travel, you never can tell." -- Doctor Who "Androids of Tara"
Hi, On Sat, Aug 27, 2016 at 04:28:54PM +0100, Nick Warne wrote:
Hi all,
How easy (or hard) would it be to get Dillo to honour the URL/FORM directive 'target="_blank" to get URL/CGI data returned in a new tab?
I ahve looked at the code, seeing as Dillo already has tabs, but I just don't get C++ classes and stuff, and wouldn't know where to begin.
The reason for asking this is if one has a form with a lot of data that needs processing, once submitted the data gets returned to the parent page... if there is a mistake, then you need to go back to the form, and as Dillo doesn't keep the previous page data, you have to fill it all in again. By diverting the output to a new tab, the previous parent window remains the same, ready for editing and processing again.
The trick is to submit pressing the middle button, that way the data remains in the old tab! -- Cheers Jorge.-
Hi dillo-dev, While reading, incidentally, news.ycombinator.com, I came across this: https://dev.to/ben/the-targetblank-vulnerability-by-example Cheers, - Martin - On 29 August 2016 at 03:57, Jorge Arellano Cid <jcid at dillo.org> wrote:
Hi,
On Sat, Aug 27, 2016 at 04:28:54PM +0100, Nick Warne wrote:
Hi all,
How easy (or hard) would it be to get Dillo to honour the URL/FORM directive 'target="_blank" to get URL/CGI data returned in a new tab?
I ahve looked at the code, seeing as Dillo already has tabs, but I just don't get C++ classes and stuff, and wouldn't know where to begin.
The reason for asking this is if one has a form with a lot of data that needs processing, once submitted the data gets returned to the parent page... if there is a mistake, then you need to go back to the form, and as Dillo doesn't keep the previous page data, you have to fill it all in again. By diverting the output to a new tab, the previous parent window remains the same, ready for editing and processing again.
The trick is to submit pressing the middle button, that way the data remains in the old tab!
-- Cheers Jorge.-
_______________________________________________ Dillo-dev mailing list Dillo-dev at dillo.org http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
Hi Martin, On Mon, 29 Aug 2016 13:29:39 +0300 Martin Atukunda <matlads at gmail.com> wrote:
Hi dillo-dev,
While reading, incidentally, news.ycombinator.com, I came across this:
Interesting! I use it a lot, but having read that page and then this one: https://css-tricks.com/use-target_blank/ Basically, if a user _wants_ to open a link in a new tab, it is up to them! I have removed all my target="_blank" stuff now, and will not use it again. Nick -- Gosh that takes me back... or is it forward? That's the trouble with time travel, you never can tell." -- Doctor Who "Androids of Tara"
Hi, On Mon, Aug 29, 2016 at 01:29:39PM +0300, Martin Atukunda wrote:
Hi dillo-dev,
While reading, incidentally, news.ycombinator.com, I came across this:
I remember long ago we decided to avoid it for resons similar to popup windows, and some others probably, but the details left me... Thanks for the link. -- Cheers Jorge.-
Hi Jorge, On Sun, 28 Aug 2016 21:57:21 -0300 Jorge Arellano Cid <jcid at dillo.org> wrote:
The trick is to submit pressing the middle button, that way the data remains in the old tab!
Duh! I must have read the help file 20 times and still missed that. Thanks, works a treat! Nick -- Gosh that takes me back... or is it forward? That's the trouble with time travel, you never can tell." -- Doctor Who "Androids of Tara"
On Mon, Aug 29, 2016 at 11:53:30AM +0100, Nick Warne wrote:
Hi Jorge,
On Sun, 28 Aug 2016 21:57:21 -0300 Jorge Arellano Cid <jcid at dillo.org> wrote:
The trick is to submit pressing the middle button, that way the data remains in the old tab!
Duh! I must have read the help file 20 times and still missed that. Thanks, works a treat!
I knew it was somewhere and didn't find it either... ;) It's under the Help|Tabs section, as you found. A minor refactoring of the help text looks like a good idea. -- Cheers Jorge.-
Teilnehmer (3)
-
jcid@dillo.org
-
matlads@gmail.com
-
nick@linicks.net