Notifies for non-javascript browsers [DONE]
Moderator: AniDB
Notifies for non-javascript browsers [DONE]
For people with javascript browsers, I can understand that the particular features of a javascript window are desirable, but with a proper href and target="_blank" in the <a> element, notifies could also work for those who have either disabled scripting or use a browser without that functionality. The `return 0;' statement that is already present in the action script should, apparantly, make this not affect javascript-enabled browsers.
Re: Notifies for non-javascript browsers
Actually, maybe I didn't mean notifies; it might apply to them too, but I think I actually meant group for anime votes and comments...
If you're worried about that, a plain link with a target can go in a <noscript> element, with the current code being outputted by a small piece of script preceeding it. This isn't quite as simple, but still entirely trivial.exp wrote:IIRC opera does not support this and would open any other href destination but # in the main window, disregarding the return 0.
There isn't a problem with generic code, Opera not only distinguish IE, but also works like IE. But if it is really needed, than it still easy to check,
navigator.userAgent contain itself somewhere Opera regardless of setting.
If identify as IE is set this property is something like:
'Mozilla/4.0 (compatible; MSIE 6.0; Windows ME) Opera 7.51 [en]'
if identify as Mozilla:
Mozilla/5.0 (Windows ME; U) Opera 7.51 [en]
if identify as Opera
'Opera/7.51 (Windows ME; U) [en]'
navigator.userAgent contain itself somewhere Opera regardless of setting.
If identify as IE is set this property is something like:
'Mozilla/4.0 (compatible; MSIE 6.0; Windows ME) Opera 7.51 [en]'
if identify as Mozilla:
Mozilla/5.0 (Windows ME; U) Opera 7.51 [en]
if identify as Opera
'Opera/7.51 (Windows ME; U) [en]'