Log into Avenue inside one tab/window
09-23-2010 at 09:07 PM
|
#1
|
Android Dev
Join Date: Jun 2009
Posts: 1,604
Thanked:
114 Times
Liked:
414 Times
|
Log into Avenue inside one tab/window
Since I like to whip up random greasemonkey scripts. I created a little script to display the login box inside the page on Avenue. It also edits a bit of the login form's properties to open the resulting page inside the same tab.
You will need Firefox/Chrome
If you use Firefox, you will need Greasemonkey (Firefox Addon)
After you've installed that, you can go to this page: http://userscripts.org/scripts/show/86673
Or download it from here (first link): https://github.com/AfzalivE/My-GM-Scripts
And click the "Install" button and then "install" again when the box pops up. Load up the Avenue page to see that login box in front of you.
Lemme know if you have more suggestions for little things in Mac's pages. I could probably do the same for MUGSI.
Enjoy....or don't. whichever.
Update: Works with the new avenue design on Firefox and Chrome.
__________________
Afzal Najam - Honours Computer Science grad
Last edited by jhan523 : 09-08-2012 at 09:13 PM.
Achangetoday, Alchemist11, Rakim, camais, Cintdrix, ikantsepll, Fawad2010, infinity8, mcmastergcdb, mh77, micadjems, resh.jyoti, Scuderia, Tailsnake, victoriak, Yakattack
all say thanks to Afzal for this post.
|
09-23-2010 at 09:14 PM
|
#2
|
Account Disabled by User
Join Date: Jul 2008
Posts: 2,392
Thanked:
347 Times
Liked:
345 Times
|
Quote:
Originally Posted by Afzal
Since I like to whip up random greasemonkey scripts. I created a little script to display the login box inside the page on Avenue. As it uses an iframe, it also doesn't create another window/tab after logging in.
You will need Firefox/Chrome
If you use Firefox, you will need Greasemonkey (Firefox Addon)
After you've installed that, you can go to this page: http://userscripts.org/scripts/show/86673
And click the "Install" button and then "install" again when the box pops up. Load up the Avenue page to see that login box in front of you.
Lemme know if you have more suggestions for little things in Mac's pages. I could probably do the same for MUGSI.
Enjoy....or don't. whichever.
PS: I haven't tested it in Chrome, so lemme know if it doesn't work.
|
I still got another tab after logging in :(
|
09-23-2010 at 09:16 PM
|
#3
|
Android Dev
Join Date: Jun 2009
Posts: 1,604
Thanked:
114 Times
Liked:
414 Times
|
lol post edited, somehow I wasn't getting that...but now I am too :p
anyway, this script is to prevent from that useless login popup. If some web dev knows how to force the page to load in the same, I'll update the code.
I'm not bothered about it so I won't investigate how to do that.
__________________
Afzal Najam - Honours Computer Science grad
|
09-23-2010 at 09:55 PM
|
#4
|
Android Dev
Join Date: Jun 2009
Posts: 1,604
Thanked:
114 Times
Liked:
414 Times
|
alright, updated. now it will not open in the same page.
You must uninstall the script and then install the new version, otherwise it won't work.
__________________
Afzal Najam - Honours Computer Science grad
nerual
says thanks to Afzal for this post.
|
09-23-2010 at 10:34 PM
|
#5
|
Elite Member
Join Date: Aug 2008
Posts: 2,412
Thanked:
152 Times
Liked:
339 Times
|
Works. Nice work
__________________
Electrical Engineering Alumni
|
09-23-2010 at 10:49 PM
|
#6
|
Elite Member
Join Date: Jun 2009
Posts: 1,621
Thanked:
195 Times
Liked:
421 Times
|
Very cool! Thanks for sharing!
|
09-23-2010 at 11:07 PM
|
#7
|
Android Dev
Join Date: Jun 2009
Posts: 1,604
Thanked:
114 Times
Liked:
414 Times
|
Also did you know you can forward your emails on Avenue to your Mac account?
and then forward your Mac account emails to your personal email address, because apparently Avenue doesn't support forwarding to any emails outside McMaster.
Follow the link in my sig to forward your MUSS email to your personal email address.
and go to "Settings" > "Email" in Ave to forward email to your MUSS email.
__________________
Afzal Najam - Honours Computer Science grad
|
09-23-2010 at 11:56 PM
|
#8
|
Moderator
Join Date: Aug 2008
Posts: 1,404
Thanked:
170 Times
Liked:
453 Times
|
Quote:
Originally Posted by Afzal
Since I like to whip up random greasemonkey scripts. I created a little script to display the login box inside the page on Avenue.
You will need Firefox/Chrome
If you use Firefox, you will need Greasemonkey (Firefox Addon)
After you've installed that, you can go to this page: http://userscripts.org/scripts/show/86673
And click the "Install" button and then "install" again when the box pops up. Load up the Avenue page to see that login box in front of you.
Lemme know if you have more suggestions for little things in Mac's pages. I could probably do the same for MUGSI.
Enjoy....or don't. whichever.
PS: I haven't tested it in Chrome, so lemme know if it doesn't work.
|
Quote:
Originally Posted by Afzal
Also did you know you can forward your emails on Avenue to your Mac account?
and then forward your Mac account emails to your personal email address, because apparently Avenue doesn't support forwarding to any emails outside McMaster.
Follow the link in my sig to forward your MUSS email to your personal email address.
and go to "Settings" > "Email" in Ave to forward email to your MUSS email.
|
I <3 U
Edit: Tested in chrome, not completely working and since using firefox still feels like going 5 years back in time compared to chrome I won't be able to use this :(
__________________
Masters Biochemistry
Honours Biology and Psychology
Last edited by Tailsnake : 09-24-2010 at 12:03 AM.
|
09-24-2010 at 09:39 AM
|
#9
|
Elite Member
Join Date: Jun 2009
Posts: 1,621
Thanked:
195 Times
Liked:
421 Times
|
Quote:
Originally Posted by Tailsnake
I <3 U
Edit: Tested in chrome, not completely working and since using firefox still feels like going 5 years back in time compared to chrome I won't be able to use this :(
|
Pretty much my exact thoughts.
|
09-24-2010 at 10:44 AM
|
#10
|
Member
Join Date: Jun 2010
Posts: 60
Thanked:
2 Times
Liked:
13 Times
|
Nice work, pretty useful. Wish it could work for Opera.
|
09-24-2010 at 12:07 PM
|
#11
|
Android Dev
Join Date: Jun 2009
Posts: 1,604
Thanked:
114 Times
Liked:
414 Times
|
^^
It can, google about editing Opera user.js
Quote:
Originally Posted by Tailsnake
I <3 U
Edit: Tested in chrome, not completely working and since using firefox still feels like going 5 years back in time compared to chrome I won't be able to use this :(
|
I'll try to adjust it.
__________________
Afzal Najam - Honours Computer Science grad
Last edited by Afzal : 09-24-2010 at 12:57 PM.
|
09-24-2010 at 12:54 PM
|
#12
|
Android Dev
Join Date: Jun 2009
Posts: 1,604
Thanked:
114 Times
Liked:
414 Times
|
Alright, now it works in chrome
it was just one missing " :@
can some moderator edit the first post and write in bold letters that it works for chrome too now?
thanks
if it doesn't, goto
chrome://extensions
in Google Chrome/Chromium and uninstall the McMaster Avenue loginbox, and then reinstall it
do you guys want to move the Logout button to the topright?
__________________
Afzal Najam - Honours Computer Science grad
Last edited by Afzal : 09-24-2010 at 03:42 PM.
|
09-24-2010 at 01:05 PM
|
#13
|
Senior Member
Join Date: Aug 2009
Posts: 290
Thanked:
15 Times
Liked:
29 Times
|
AWESOME! ILU thanks, the multiple window thing pissed me off, lol rlly annoying
__________________
Reshmee Prakash; H. Life Sciences V, 2013-2014
|
09-24-2010 at 03:40 PM
|
#14
|
Moderator
Join Date: Aug 2008
Posts: 1,404
Thanked:
170 Times
Liked:
453 Times
|
Quote:
Originally Posted by Afzal
Alright, now it works in chrome
it was just one missing " :@
can some moderator edit the first post and write in bold letters that it works for chrome too now?
if it doesn't, goto
chrome://extensions
in Google Chrome/Chromium and uninstall the McMaster Avenue loginbox, and then reinstall it
thanks
do you guys want to move the Logout button to the topright?
|
AWESOME!
__________________
Masters Biochemistry
Honours Biology and Psychology
|
09-24-2010 at 06:39 PM
|
#15
|
J's Prince
Join Date: Jul 2009
Posts: 773
Thanked:
150 Times
Liked:
607 Times
|
This script + Last Pass auto login = huge timesaver!
|
Thread Tools |
Search this Thread |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
McMaster University News and Information, Student-run Community, with topics ranging from Student Life, Advice, News, Events, and General Help.
Notice: The views and opinions expressed in this page are strictly those of the student(s) who authored the content. The contents of this page have not been reviewed or approved by McMaster University or the MSU (McMaster Students Union). Being a student-run community, all articles and discussion posts on MacInsiders are unofficial and it is therefore always recommended that you visit the official McMaster website for the most accurate up-to-date information.
| |