browser - Google Blogger - Refresh page opened in a tab from another tab -


question has been asked in before, , seems not possible grab urls opened in other tabs.

if write blogs, have seen preview button, on click opens blog post in preview mode in new tab , each time clicks button preview page opened refreshed.

may question not constructive, wondering how capturing tab , refreshing page.

what kind of stuff using? if got knowledge, if share helpful.

update:

firebugging reveals preview button:

enter image description here

here blogger uses preview link post:

<a href="post-preview-auth.g?postid=12345678" target="previewpost12345678">preview</a> 

so use anchor tag target attribute of custom name (previewpost+postid).

when first click on preview link, no tab have custom name, new tab opened. if click on again, no new tab opened since tab name exist.

update:

using button, accomplished same way using javascript window.open(url,name,specs,replace) method name specifies target attribute or name of window.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -