Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Prevent Firefox to auto-scroll to an HTML embedded iframe

Hello Confluence Community

we have an Iframe macro embedded into one of our dashboards.  Somehow firefox will auto-scroll to that iframe upon opening the page. 

Code looks like this: <IFRAME WIDTH=500 HEIGHT=300 FRAMEBORDER=0 src=""></IFRAME>

This is disturbing because you can only use the top navigation one you scroll back up.

This problem does not appear in other browsers like Chrome or Edge. 

We noticed that firefox is writing an "#" at the end of the URL. 

Did someone had the same problem and managed to fix it? 

Kind regards


Firefox 69.0.3 (64 Bit)
Confluence Server 6.15.4

1 answer

1 accepted

0 votes
Answer accepted

Got it myself. Here is the solution:


<embed src="" width="400" height="240" id="my_div" style="display:none;">

<script type="text/javascript" language="javascript">



setTimeout(func1, 2000);


function func1()


document.getElementById("my_div").style.display = "block";



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

779 views 17 21
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you