Closed Bug 286716 Opened 20 years ago Closed 20 years ago

When page contains dynamic ads, the URL field displays ads URL instead of site URL


(Camino Graveyard :: Location Bar & Autocomplete, defect, P2)



(Not tracked)



(Reporter: mn, Assigned: mikepinkerton)




User-Agent:       [Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O) Gecko/20040906 Camino/0.8+]
Build Identifier: [Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O) Gecko/20040906 Camino/0.8+]

This occurs on sites that have ads of the google ads type. From the site I
linked, try clicking on a permalink, you'll get taken to that page, the URL of
that page will be briefly displayed in the location bar, after which, it will be
replaced by a different URL starting with "". Everything goes
back to normal if you click on a different open tab, then go back to that tab -
the correct URL will be displayed.

The exact same thing happens with all sites hosted on blogspot, and also with
any other site hosted on its own domain, as long as they're using that kind of
"dynamic" ads.

Reproducible: Always

Steps to Reproduce:
1. Visit URL given above as demonstration.
2. Click on one of the "permalink" links below each entry. You will be taken to
the page with that entry.

Actual Results:  
When that page loads, the URL in the location bar will quickly change from the
URL of that page, to an URL from the dynamic ads used in the page.
The page can be still bookmarked with the correct URL (even when dragging the
URL to the toolbar, the bookmarked URL will be the correct site and page URL,
not the ads URL being displayed). But the URL displayed will be the ads URL, not
the site URL, so aside from being confusing, it makes it impossible to copy it
and paste it in an email message or text document.
The only "workaround" is to click on another tab, or open a new tab if you don't
have any other tabs open already, then go back to that tab with the page
containing dynamic ads. The location bar will now display the URL correctly and
you will be able to copy it correctly.

Expected Results:  
The URL displayed in the location field should always be that site and that page
URL, not the URL from any dynamic ads or other elements in the page.
this is a dupe.
Whiteboard: DUPEME
(In reply to comment #1)
> this is a dupe.

I hadn't found anything in the archive because I was searching "url field" -
then I realised I should check "location bar" and just came across this:

"When a page has a subframe, Camino will display the subframe's URL in the
location bar instead of the main page's. is a good example. 
Instead of, the location bar shows;sz=88x60;ord=2005."

That is exactly what I meant (I had noticed that only with ads, probably because
they use < iframe >). 

Sorry for the duplicate!

*** This bug has been marked as a duplicate of 285648 ***
Closed: 20 years ago
Resolution: --- → DUPLICATE
Is this really a dupe? It's using Camino 0.8 and not a nightly.
Not a dup, since this was reported with 0.8
Resolution: DUPLICATE → ---
Severity: normal → major
Ever confirmed: true
Priority: -- → P2
Target Milestone: --- → Camino0.9
User-Agent:       [Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O)
Gecko/20040906 Camino/0.8+]

this says "nightly" to me, not 0.8. sorry.
though i guess the "2004" should have given it away. oh well.
This did have the same cause as bug 285648.
Closed: 20 years ago20 years ago
Resolution: --- → FIXED
i can't verify if this is fixed on the branch, i can't sign in. where else can i
reproduce it?
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.