PageSourceSearch

https://my.cozi.com/external/AddToCoziScraper.js?ver=7.1

js cozi.com collected 2026-09-24 09:10:52 UTC 1,608 bytes, 1 lines download raw bytes

1!function(o){window.cozi=window.cozi||{},window.cozi.addtocozi=window.cozi.addtocozi||{},window.cozi.addtocozi.scraper={launch(o,i){window.location=`https://my.cozi.com/addtocozi/?content=${encodeURI(o)}&type=${i}`},registerClickHandler(i,t){i.one("click",function(i){i.stopPropagation();const c=o(i.target);let e=c.closest("form").find("ul, ol").first();0==e.length&&(e=c.siblings("ul, ol").first()),0==e.length&&(e=c.parent().parent().find("ul, ol").first());const n=window.cozi.addtocozi.scraper.scrape(c.data("listtitle")||"New list",e,t);return window.cozi.addtocozi.scraper.store(n,t,window.cozi.addtocozi.scraper.launch),!1})},registerRecipeClickHandler(o,i){o.one("click",function(o){return o.stopPropagation(),window.cozi.addtocozi.scraper.launch(window.location,i),!1})},scrape(i,t,c){const e=Array();return t.children("li").each(function(i,t){const c=o(t).find(":checkbox").first();c.length&&!c.is(":checked")||e.push({text:o(t).text().trim(),notes:""})}),"shoppingV3"==c?{title:i,items:e}:{title:i,children:e}},store(i,t,c,e){const n="https://rest.cozi.com/api/ext/1504/transient/";o.ajax({url:n,type:"post",data:JSON.stringify(i),dataType:"json",success(o,i,e){c(n+o.transientStoreId,t)},error(o,i,t){void 0!==typeof e&&e(o,i,t)}})}},o(function(){o(".addtoshopping").each(function(i,t){window.cozi.addtocozi.scraper.registerClickHandler(o(t),"shoppingV3")}),o(".addtotodo").each(function(i,t){window.cozi.addtocozi.scraper.registerClickHandler(o(t),"todoV3")}),o(".addtorecipebox").each(function(i,t){window.cozi.addtocozi.scraper.registerRecipeClickHandler(o(t),"scrapedRecipeV3")})})}(jQuery);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.