[Phpmyadmin-devel] Javascript

Tyron Madlener tyronx at gmail.com
Mon May 23 18:23:03 CEST 2011


On Mon, May 23, 2011 at 5:32 PM, Tyron Madlener <tyronx at gmail.com> wrote:
> On Mon, May 23, 2011 at 4:03 PM, Michal Čihař <michal at cihar.com> wrote:
>> Hi
>>
>> Dne Sat, 21 May 2011 06:38:47 -0400
>> Marc Delisle <marc at infomarc.info> napsal(a):
>>
>>> I would say no. Anyway, looking at the development done for 3.4, the
>>> trend is to avoid inline js. We are now supposed to use jQuery to make
>>> visible a link or button that brings the user to a feature that requires js.
>>
>> Yes, dropping inline js should be a goal to avoid need for inline and
>> eval options in CSP.
>>
>>> Note that 3.3 and 3.4 have problems with this. For example, Synchronize
>>> should not be shown to non-js users. Clearly, testing on non-js browsers
>>> has not been our priority.
>>
>> Well I doubt it was tested without javascript at all.
>>
>> Probably it's really time to drop support for browsers without
>> javascript, it would make lot of things easier. However what I would
>> like to avoid is making all things using javascript. I really prefer
>> when I can open link in new tab when I want and this does not work with
>> javascript only solutions.
>>
>
> It does, if its done right. It works when you represent links with
> anchors (and ideally use a js history lib like RSH:
> http://code.google.com/p/reallysimplehistory/)
> I've implemented such behavior for my CMS that I'm using on my website
> tyron.at where pages are being loaded with ajax whenever you click a
> link. You can try it out there - to open a link in a new tab.

Might be actually a cleverer choice to make anchor links and using rsh
for the callback instead of attaching custom events to the links on
each page.

>
>> --
>>        Michal Čihař | http://cihar.com | http://blog.cihar.com
>>
>> ------------------------------------------------------------------------------
>> What Every C/C++ and Fortran developer Should Know!
>> Read this article and learn how Intel has extended the reach of its
>> next-generation tools to help Windows* and Linux* C/C++ and Fortran
>> developers boost performance applications - including clusters.
>> http://p.sf.net/sfu/intel-dev2devmay
>> _______________________________________________
>> Phpmyadmin-devel mailing list
>> Phpmyadmin-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
>>
>>
>




More information about the Developers mailing list