Jump to content
ann

Html to open google in a new tab at login

Recommended Posts

I don't remember autorun for this, to be honest, but this script will open a new tab and point it to where you want, but the browser controls the ordering, so the new tab will open in front of Frog

<script>
    window.open("https://www.frogeducation.com/community", '_blank');
</script>

Alternatively, could you set the browsers to have two homepages?  Or just have a prominent link to Google on the dashboard?

Link to comment
Share on other sites

HI Graham

Thanks for you help, We do already have a link to google on the staff dashboard but wanted to have google open automatically.

I have done some testing on creating a different landing page with only html widgets that first points to google and then to the staff dashboard (so the dashboard is the one that is displayed) . That seems to work well, do you foresee any issues with doing that?

In addition to opening a google tab we are also looking at logging the staff member straight into their 365 account (also on a new tab) , do you know if that is possible?

Ann

PS how do you have two homepages - do you mean using the frog dots?

Link to comment
Share on other sites

2 hours ago, ann said:

HI Graham

Thanks for you help, We do already have a link to google on the staff dashboard but wanted to have google open automatically.

I have done some testing on creating a different landing page with only html widgets that first points to google and then to the staff dashboard (so the dashboard is the one that is displayed) . That seems to work well, do you foresee any issues with doing that?

In addition to opening a google tab we are also looking at logging the staff member straight into their 365 account (also on a new tab) , do you know if that is possible?

Ann

PS how do you have two homepages - do you mean using the frog dots?

Hi Ann,

The only issue with a landing page which opens the staff dashboard that I can think of might be that clicking the Frog head won't return people to the dashboard as it's a site that's hovering.

Setting a second homepage for the browser is fairly simple as i understand it (from a quick search):

https://www.google.co.uk/search?q=browser+set+two+homepages&oq=browser+set+two+homepages&aqs=chrome..69i57j0j69i60l2j0l2.5646j0j4&sourceid=chrome&ie=UTF-8

Think about your users' experience though.  The more tabs you open on start up, the slower it will be to get them started.  Having both Google and Office365 when they don't require access could be seen as irritating to be honest.  I remember when one of my IT techs in schools set up a second page for outlook, but it required logging in.  He saw no problem with a login box popping up every time you opened the browser.   We quickly changed it back.

 

 

Link to comment
Share on other sites

Hi Graham

I've talked it over with our IT manager and he also said that for staff with slow computers this could more of a nuisance than a benefit so we have decided to create a link to a page that will open all the regularly used programmes at once, whilst still having  individual links available too.

Thanks for your help, the code will be very useful

Ann

Link to comment
Share on other sites

Another (small) problem

In order to give the staff with slow computers the choice I created a page with 3  HTML widgets that were set to open Google, office 365 and Class Charts. I put a link on the dashboard.to the page

Issues I had with this, because I am linking to a page with the html,  that page (quite correctly) then opened  alongside the others. which caused an issue until I tested it with the page hidden and then the additional page left opened was defaulted to the dashboard home page..

The only problem with that is now the user has two dashboard pages open (in addition to the other 3 new tabs)- can anyone see a way round that?. Or a better way of doing it

 

Ann

Edited by ann
Link to comment
Share on other sites

I've spoken to @ann and between us, this code will create a button and on click allow her staff to open three new tabs:

<img src="/app/file/asset/5BBE5BE620030A3EC7F3FF40696FCE0D5DF7C4BC8660FA51" class="launchall">

<style>
  .launchall {
      cursor: pointer;
  }
</style>

<script>
  this.element.find('.launchall').on('click', function(){
      /* Google */ 
      window.open(school google address);
      /* Office */
      window.open(school office365 address);
      /* Class charts */
      window.open(school classcharts address);
  });                            
</script>

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...