no, it does not retain mode preferances, but that's gmail's fault... i was just hoping we could provide a toggle that would use the address for basic html
Pfff... I finally get it now... Gmail only switches to basic html (/h) when using an unsupported browser. And there is a mobile version (/x). (And I still don't use internet on my gsm)
Yes CFB, that works for Firefox. And yes, Rodger needs an XN user option for Chrome/Opera/Safari in order to get basic html view on XN Gmail click.
gmail-basic.js (script built-in with */h* ... just thought...)
So that way we will not bother Tobwithu to write app for "link" because Safari, Chrome, and Opera do NOT support API? That cause impossbile to write "link" because of "re-direct" that SC&O won't allowed? (that where options not allowed?)
In near future... Firefox become alike SC&O ... that what I am afraid of...
But I did a bit more: Like I mentioned before (Zoho) I would like to see the Inbox count when it is > 0 and inboxOnly=unchecked. So I added it to gmail-basic.js with this result: https://db.tt/S6ufkvUr
Was a bit temperamental at first (RpD phrase), meaning the account showed in red. But after some fiddling with the XN options it seems to work in Chrome also. And yes, click 'Do you really want to use HTML Gmail'...
Had nothing to do with "temperamental" after all. The script encountered a mistake in case of inboxOnly without unread inbox message. And then I also saw I forgot to add the spam to inbox count when includeSpam=2 (hidden option). Corrected, so it can be re-downloaded. But I don't like the code now. To confusing... I should make the logic more readable. (And I should take more time for testing before presenting a 'solution')
And I don't like the idea of having a 2nd version of the gmail script (as admin surely won't). Then that means having to maintain two versions in the future.
But (off topic) I do like my addition of listing the unread inbox count in case inboxOnly is unchecked.
Was an error in an original line of code (a regex) that probably not got executed lately (for basic html: UI=0). Now it reached that line only in Chrome.
Automatically detected
The script (should) detect whether you use basic html.
I never tested this, but since I never saw complaints here I guess it works.
no, it does not retain mode
no, it does not retain mode preferances, but that's gmail's fault... i was just hoping we could provide a toggle that would use the address for basic html
Explain?
Hi Rodger,
The gmail script detects basic html in the function isLoggedIn when normal html is not detected:
//basic HTML
fnd=aData.match(/<base href="(\S+?)">/);
if(fnd){
this.viewURL=fnd[1];
this.dataURL=fnd[1]+"?s=q&q=is%3Aunread"+(this.inboxOnly?"+in%3Ainbox":"");
this.UI=0;
return 1;
}
return -1;
Aha
Wait, you mean isLoggedIn only gets executed once (after succesfull login) and gmail only lets you switch to basic html after login. Yes?
I wrote user guide 2.5 year ago.
http://xnotifier.tobwithu.com/dp/node/602
I don't know if apply to safari chrome opera... (I know do NOT works, but...)
No hurt to check or tweak with this... you might need to switch to Firefox to get
Gmail mobile : https://mail.google.com/mail/x/ (Yes? alike basic html?)
Gmail html : https://mail.google.com/mail/h/ (Yes?)
I let you play with it...
(Please forgive me with English rule with or without 's' in verb, smile.)
O well...
Pfff... I finally get it now...
Gmail only switches to basic html (/h) when using an unsupported browser.
And there is a mobile version (/x). (And I still don't use internet on my gsm)
Yes CFB, that works for Firefox.
And yes, Rodger needs an XN user option for Chrome/Opera/Safari in order to get basic html view on XN Gmail click.
Option or NOT Option that is question...
Suggest?
Write new scripts called
gmail-basic.js (script built-in with */h* ... just thought...)
So that way we will not bother Tobwithu to write app for "link" because Safari, Chrome, and Opera do NOT support API?
That cause impossbile to write "link" because of "re-direct" that SC&O won't allowed? (that where options not allowed?)
In near future... Firefox become alike SC&O ... that what I am afraid of...
DONE
That was easy: Just added "h/" to this.baseUR:
this.baseURL="https://mail.google.com/mail/h/";
But I did a bit more:
Like I mentioned before (Zoho) I would like to see the Inbox count when it is > 0 and inboxOnly=unchecked. So I added it to gmail-basic.js with this result:
https://db.tt/S6ufkvUr
Gmail BASIC script: https://db.tt/YBBK4fz3 (Right-click: Save link as...)
Not tested on Chrome
Only works in Firefox. Have to do some more testing...
Do you really want to use HTML Gmail?
You only need to click ONCE...
I'd like to use HTML Gmail
After that no more bother me.
Thanks to jeroen!
Question for jeroen, this gmail-basic.js will work on Safari, Chrome and Opera?
Yep
I also realizzzed a bit late... this was not intended for Firefox.
Does work in Chrome
Was a bit temperamental at first (RpD phrase), meaning the account showed in red. But after some fiddling with the XN options it seems to work in Chrome also. And yes, click 'Do you really want to use HTML Gmail'...
Show Labels
And on Chrome the labels are shown as tooltip text:
https://db.tt/nSlDgxRQ
Thank YOU jeroen!
Send gmail-basic.js to Tobwithu, enable for him to upload XN-scripts page.
*Was a bit temperamental at first* (You make me LAUGH!)
Mmmm
Had nothing to do with "temperamental" after all. The script encountered a mistake in case of inboxOnly without unread inbox message. And then I also saw I forgot to add the spam to inbox count when includeSpam=2 (hidden option). Corrected, so it can be re-downloaded. But I don't like the code now. To confusing... I should make the logic more readable. (And I should take more time for testing before presenting a 'solution')
And I don't like the idea of having a 2nd version of the gmail script (as admin surely won't). Then that means having to maintain two versions in the future.
But (off topic) I do like my addition of listing the unread inbox count in case inboxOnly is unchecked.
I agree with jeroen! and ATTN: Tobwithu
"I do like my addition of listing the unread inbox count in-case inboxOnly is unchecked."
Dear Tobwithu,
Request ...
I would like to add that features in future, can you do that?
Thank you,
CFBancroft
Dazed and confused
Got confused concerning notified versus inbox count. I should not add spam count to the inbox count. Corrected.
Gmail BASIC HTML script is correct now for Firefox, but for Chrome somehow the spam does not get notified. Still debugging...
Gmail X script (Gmail including inbox count) is now corrrect for Firefox and Chrome.
Gmail BASIC script: https://db.tt/YBBK4fz3
Gmail X script: https://db.tt/cVrFaqez
SOLVED
Was an error in an original line of code (a regex) that probably not got executed lately (for basic html: UI=0). Now it reached that line only in Chrome.
So re-download and replace the script(s)...