Closed
Bug 470238
Opened 17 years ago
Closed 16 years ago
Collections Extension: Set correct magic add feed cookie host and name (to be defined)
Categories
(addons.mozilla.org Graveyard :: Collector Extension, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
BW-M3
People
(Reporter: kinger, Assigned: mackers)
Details
If Bob has a blog or website, he can use some JS code on his page. If the user
subscribing has Add-on Feeder installed, the feed will be added. If not, the
user will go to the Add-on Feeder download page, where a cookie will be set
with the intended subscription feed. After installation of the extension when
the firstrun page is loaded, the cookie will be read and the requested feed
will be added.
---
http://www.33eels.com/clients/briks/bandwagon/test-add-feed.html
The link to subscribe looks like this:
<a href="http://www.33eels.com/clients/briks/bandwagon/testfeed2.xml"
onclick="dispatchBandwagonSubscribeEvent(event)">Add feed to
bandwagon</a>
The javascript looks like this:
function dispatchBandwagonSubscribeEvent(event)
{
event.preventDefault();
var bandwagonSubscribeEvent = document.createEvent("Events");
bandwagonSubscribeEvent.initEvent("bandwagonSubscribe", true, false);
var cancelled = !event.target.dispatchEvent(bandwagonSubscribeEvent);
}
Basically, we throw a custom event called "bandwagonSubscribe" on an element
with a href attribute containing the feed url.
---
We have added support for the magic "add feed" cookie.
Test page to set the cookie here:
http://www.33eels.com/clients/briks/bandwagon/test-set-magic-add-feed-cookie.html
This will add testfeed2 on the extension's next firstrun.
We need to set the correct cookie host and name to
look for, when we know what it will be.
Reporter | ||
Updated•16 years ago
|
Target Milestone: --- → BW-M3
Comment 1•16 years ago
|
||
This is no longer needed in the new spec.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
Updated•15 years ago
|
Component: Collections → Collector Extension
Updated•15 years ago
|
QA Contact: collections → collector-extension
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•