Link opening test
Try links that open in a new tab, and JavaScript that opens windows. Please open this page in the app's own browser. Every button here opens the same page on this site — nothing goes to an external site.
When a new tab does open, the page in it shows "Opened in a new tab" at the top. What happened is also recorded in the log below.
1. Open in a new tab
- Link (target="_blank") The most basic form
- Link (rel="noopener noreferrer") Stops the new page from touching the old tab. Widely used
- Opened from JavaScript. Normally allowed
- Once the tap is over, browsers usually block it
- Builds an <a target="_blank"> on the fly and clicks it
- The shape used by search boxes
2. Open in the same tab
- Plain link For comparison
- Moves within the same tab from JavaScript
3. Close the tab that was opened
- Opens with window.open, then the new page calls window.close()
4. Open an external site (from JavaScript)
Everything above opens this site itself. The app only steps in when a link goes to a different site, so that behaviour is checked here. The destination is kanji-db.com, another site I run.
These take you away from this site. Use your browser's back gesture to come back (the log below survives the trip).
In the app, Settings → "Links that open in a new tab" → "Always open in the same tab" is on by default, in which case the page just opens in the same tab with no prompt. With it off, you are asked "Open the link in a new tab?" first.
- The most common form
- Once the tap is over
- Builds an <a target="_blank"> on the fly and clicks it
- Stays in the same tab
- The shape used by search boxes
- Link (target="_blank") For comparison. No JavaScript involved
- Plain link For comparison. Should stay in the same tab
Log
What you tried, and what could be determined on the spot, newest last.
Nothing tried yet.
If something does not work, please use "Copy the log" and paste it into the contact page.