{"_id":"interestfor","_rev":"12-898c35eb8912095af62ea3830c736179","name":"interestfor","dist-tags":{"latest":"1.0.14"},"versions":{"1.0.3":{"name":"interestfor","version":"1.0.3","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.3","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"7b36623d81f3ab4d8943910b1d3a63b0e4a5f0c4","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.3.tgz","fileCount":8,"integrity":"sha512-vdMwcLTud8UNgCGaMi+Hs8ZV7jmFnVAyO+wc2JK8c1KLffK4BD1Chtymut0bRu4esCGnOp57sQSK3OF0mJnVIg==","signatures":[{"sig":"MEYCIQCngtnlQP3p5yvf8iec+ndNtMW4mffPteJP5wt0C469QAIhANkO2aFauQPgURZzXr+K9ny9U6a4WYZqFe1eREhogSdO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34970},"main":"src/interestfor.min.js","gitHead":"9d3ced921dd2a71c0ea99cbbebcb58456990dcbc","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com"},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"10.2.4","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"21.5.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.3_1749595028078_0.4197335602519616","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"interestfor","version":"1.0.4","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.4","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"0407748ec6b5b1ec27a90eec4bc7d3fdfa490fd6","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.4.tgz","fileCount":8,"integrity":"sha512-3H8sglc/zNAQu1er3LYheiKIVGSmAfrcpT6btXlmviIrbYI+Jo5QY1zck/FZ4KjD49gU5kj67Fu7+I3fFbjMIw==","signatures":[{"sig":"MEUCIFh/b0/MLZnu0DF7OSbW15jagiOO7T0eFoL6En62bQw3AiEAiOsj8LbmqjOQhcY6C9MHp01XpthFR+FqkmmDAkSo3go=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33155},"main":"src/interestfor.min.js","gitHead":"f041869c7185e306181c3191fe0052b1313579dc","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com"},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.5.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"24.6.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.4_1758140822963_0.09772173873835333","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"interestfor","version":"1.0.5","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.5","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"951ca94048b7945161ef5905949ac09969098f56","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.5.tgz","fileCount":10,"integrity":"sha512-eCYQb9JTM5Da54efwpSJer87/vdi0XjWS+w844zwLXpPI/kqTJOb3pPDDaPCTQVS/oHCyylj3ry0p5g+a0nLDQ==","signatures":[{"sig":"MEQCIE3ZfqbMZVomOta1V9+s3Xa2GFDh6pXyj2diGasnD/3oAiAZE7aaLAlV7S9EXhbztGa7wKT0rQcJVs1QV9Su7aC36w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42133},"main":"src/interestfor.min.js","gitHead":"4d01864f0f63aba30c856f54e5ed3f92e9cbed9b","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com"},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.5.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"24.6.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.5_1758236392679_0.048113495004960205","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"interestfor","version":"1.0.6","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.6","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"48cd3ac23fabe28c83d4ab282c0fe92b0c383b0d","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.6.tgz","fileCount":10,"integrity":"sha512-nw6lFAOA9muAhaaGBJ+XtKFO86mpKgG/I4M2kGpWWVICeFdi1y4iVnK1xxLax6G+tZcOikA9ZvBSXLUuMvuR0Q==","signatures":[{"sig":"MEUCIDqrGC9AF0B49hsSFxOGOeFIZINOjFfzijBNSql5IIucAiEAmuZxvp7XXNXGfphiCWR4SyQtE+OdbUlFcFUZucMVky4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42278},"main":"src/interestfor.min.js","gitHead":"964212d9eaeada9aaeb1eead2905e033870b755f","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com"},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.5.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"24.6.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.6_1758645327671_0.3919448519269597","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"interestfor","version":"1.0.7","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.7","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"4937272886fc0667d50b4d3a81d6deec30fe958b","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.7.tgz","fileCount":10,"integrity":"sha512-qJaN6JMrAjiA+aQ6TkQemZhLx5E8kGI9s0yXAJJbQHSKs0iBKrDc5nMNgGqH1V4x0ZveFJjVbmText/zTI7ZBg==","signatures":[{"sig":"MEYCIQDoZJ/HRCs2U6tDQEYv7gySOSyFoKd2G476MAzdRkAZ0gIhAPnxX0jD40wfvmBlwAGgXeKu3iTluC25taz1ohGKHi5u","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42629},"main":"src/interestfor.min.js","gitHead":"39a023beaa1b54b640ac797c4382038068d8df30","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com"},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.5.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"24.6.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.7_1759774587249_0.5462261067512264","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"interestfor","version":"1.0.8","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.8","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"4c940b1a7c772b1f8ce946694ed84eecdff57d72","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.8.tgz","fileCount":10,"integrity":"sha512-qYwTmxzDnrosGZX/1lDEOsAv73aYiFKLniN20SS78588WhRMHj8z7u2uFe9QZPIVmkCyIbJwiMQ/85Up7hrseQ==","signatures":[{"sig":"MEUCIQD67IaDiVlzWVAhSMgK+/mbAVsXL3EcVoUUbFfffps8/AIgVpknLfSxo83L9UIdoKSuVdnga8ZW08cWOXcaPchC1T4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44517},"main":"src/interestfor.min.js","gitHead":"65005851d05b8aefc2be9de08d6ff886a5d706d9","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com"},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.6.2","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"25.2.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.8_1773275508958_0.7638958005527803","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"interestfor","version":"1.0.9","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.9","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"cbcd52b41ede0c3e7615d8ccd1b50cbec4a50426","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.9.tgz","fileCount":10,"integrity":"sha512-NHxCBSfOOktSoiTnVDD/4dDMKhW1RQx5Lco+FoPqJ6E2vZzDT7zmmGxQFdDeX9CR7aEzJAmKurYsuKWsspPVdw==","signatures":[{"sig":"MEYCIQC4u+e6yckRVOcwWMQxsmMiupd2hDKC3lf6C8/KLFGtwAIhAOG/NsFQWp8OSPJZqjf0+h7JznXmD3OAlLXH9Q6MkwQL","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73295},"main":"src/interestfor.min.js","gitHead":"70428cdeee5ae3eb65e8e96855b73f69279fc8b6","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com","approver":{"name":"mfreed7","email":"mfreed@mfreed.com"}},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.19.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"26.8.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.9_1790888198795_0.4284047129509492","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"interestfor","version":"1.0.10","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.10","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"608e5946423eeb284064e71b43633e68bf87677c","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.10.tgz","fileCount":10,"integrity":"sha512-keOeje8wed6x7e/kNdMjVJEobOG9hz/9ld0LuyK3mxwvqLIfmxeBZFLaTPRj5QurfagGeaq8Gq3FUEb0LEY3Rw==","signatures":[{"sig":"MEUCIQCvk57VPx7MUJeNTD7UoVIwt6MiyzweWkApv9LJNaLvSgIgAojPHWlAf0BvVR4jMlKTvfllDkB0t9Fd6fxbZulbRuU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":73389},"main":"src/interestfor.min.js","gitHead":"747e7966f0d49aa03be3739853e68746c4c6ec17","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com","approver":{"name":"mfreed7","email":"mfreed@mfreed.com"}},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.19.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"26.8.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.10_1790893196093_0.664245227761435","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"interestfor","version":"1.0.11","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.11","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"18c068c47560e88f18f2d555f3e495b6c5e03185","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.11.tgz","fileCount":10,"integrity":"sha512-qejIv0lmsj6UQLOIq3XNp2KInHEX+app9Aq4inrXkv66LDrbAbDPnofzEly9mI027+OQ1n4gYWfUWTowmESbAw==","signatures":[{"sig":"MEYCIQDAEUcBSysTo2C2fVVDY2yIkTg+vNQu0MOfeArPujX5ZgIhAJDIYiW7RggjzOUKXMBViqWMwzVFOfAFW9g13WzUy01A","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":103533},"main":"src/interestfor.min.js","gitHead":"44b59370d81b329a579944d2a4b194142b2fcd91","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com","approver":{"name":"mfreed7","email":"mfreed@mfreed.com"}},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.19.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"26.8.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.11_1793314385589_0.05496943888903838","host":"s3://npm-registry-packages-npm-production"}},"1.0.12":{"name":"interestfor","version":"1.0.12","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.12","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"d8733c2b305c3aaa0b439c8f30beb27485386727","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.12.tgz","fileCount":10,"integrity":"sha512-c1td//M4fCDefKxTAYdAD3ve7SzKQ9FvRSq27vt6Myto4cw2bCpyMYEb6VHWan96ChJdyFBodnx+22NB+2AF0A==","signatures":[{"sig":"MEQCIHHq+JfIudqDQYLu1RekiWE/vs5uu+M7Kvuh1i6INaEbAiB6gIXmKULkbDLrBaN4TetQ6SfJCIAX3ZFDou6NP30bWg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":104532},"main":"src/interestfor.min.js","gitHead":"805d815837974a81d0f662502b7c5be68b45273e","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com","approver":{"name":"mfreed7","email":"mfreed@mfreed.com"}},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.19.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"26.8.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.12_1793315922650_0.14755441516157708","host":"s3://npm-registry-packages-npm-production"}},"1.0.13":{"name":"interestfor","version":"1.0.13","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","_id":"interestfor@1.0.13","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"homepage":"https://github.com/mfreed7/interestfor#readme","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"eee6c1fed77ef34bee4d7c6c9ebde86fa5559e03","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.13.tgz","fileCount":11,"integrity":"sha512-TORSgRz3kM5UKrWAfKuWqP336bZe3B6oxWT9R3eNcDtuCJ7MakZcjNJA16svoahdI6p7DWgvjCMOL3w2dSGsIg==","signatures":[{"sig":"MEUCIEkgA8upbxjSnNWSWJXGWHIMrSp29hVMTRNZNu4riBdTAiEA4mjfdFsN1Jy6OJK6jN5iEOdsGUzREsst/t+Fwst5Dxk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":122337},"main":"src/interestfor.min.js","gitHead":"b5038a17acb921a204a5bbf60ebb4ca064d1a50b","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com","approver":{"name":"mfreed7","email":"mfreed@mfreed.com"}},"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.19.1","description":"A polyfill for the `interestfor` API","directories":{},"_nodeVersion":"26.8.2","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/interestfor_1.0.13_1794523427929_0.8034492190591229","host":"s3://npm-registry-packages-npm-production"}},"1.0.14":{"_id":"interestfor@1.0.14","bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"dist":{"shasum":"c61e3a00e15a681e144763e3b0812a50286bf44f","tarball":"https://registry.npmjs.org/interestfor/-/interestfor-1.0.14.tgz","integrity":"sha512-EVSz6IH9dmbicI+wt51ve5Sylq3aKAFF2ex8c1uM+2J6jf4L4PqWNNcCDu2IogZy1makQWZx/f6kY455JpmxTQ==","fileCount":11,"unpackedSize":134694,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDdL8fWBM2gTNJZpMnYJ8VrytjLzlE1itzL/M2ndRvZdQIhAPd/gbi34EEjoDtd43/ESwOHvrgPZrZ+baWWyfCXWUkz"}]},"main":"src/interestfor.min.js","name":"interestfor","author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"gitHead":"8eeffd3cef283cd2c246ea9706ccdc9a3968dd55","license":"BSD-3-Clause","version":"1.0.14","_npmUser":{"name":"mfreed7","email":"mfreed@mfreed.com","approver":{"name":"mfreed7","email":"mfreed@mfreed.com"}},"homepage":"https://github.com/mfreed7/interestfor#readme","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"_npmVersion":"11.19.1","description":"A polyfill for the `interestfor` API","directories":{},"maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"_nodeVersion":"26.8.2","_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/interestfor_1.0.14_1794527016456_0.6716763403855254"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-10T22:37:08.077Z","modified":"2026-11-12T23:43:36.701Z","1.0.3":"2025-06-10T22:37:08.251Z","1.0.4":"2025-09-17T20:27:03.140Z","1.0.5":"2025-09-18T22:59:52.889Z","1.0.6":"2025-09-23T16:35:27.857Z","1.0.7":"2025-10-06T18:16:27.466Z","1.0.8":"2026-03-12T00:31:49.123Z","1.0.9":"2026-10-01T20:56:38.901Z","1.0.10":"2026-10-01T22:19:56.174Z","1.0.11":"2026-10-29T22:53:05.676Z","1.0.12":"2026-10-29T23:18:42.736Z","1.0.13":"2026-11-12T22:43:48.028Z","1.0.14":"2026-11-12T23:43:36.565Z"},"bugs":{"url":"https://github.com/mfreed7/interestfor/issues"},"author":{"name":"Mason Freed","email":"mfreed@mfreed.com"},"license":"BSD-3-Clause","homepage":"https://github.com/mfreed7/interestfor#readme","keywords":["interestfor","interesttarget","polyfill","hover-triggering"],"repository":{"url":"git://github.com/mfreed7/interestfor.git","type":"git"},"description":"A polyfill for the `interestfor` API","maintainers":[{"name":"mfreed7","email":"mfreed@mfreed.com"}],"readme":"# The Interest Invokers Polyfill\n\nA polyfill for the [Interest Invokers\nAPI](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API/Using_interest_invokers),\nincluding the `interestfor` attribute, the `:interest-source` and\n`:interest-target` pseudo classes, the `::interest-button` pseudo element, and\nthe `interest-delay` CSS properties. All of the API except the\n`::interest-button` pseudo element have been\n[shipped](https://chromestatus.com/feature/4530756656562176) in Chromium\nbrowsers (e.g. Chrome, Edge), since version 142 (October 2025). The\n`::interest-button` pseudo element is planned to be shipped soon in Chromium\nalso.\n\n## Usage\nTo use this polyfill, simply load it:\n\n```html\n<script src=\"interestfor.min.js\" async></script>\n\n<a interestfor=foo href=bar>Link</a>\n<div popover id=foo>Popover</div>\n```\n\n## Browser Compatibility\n\nThis polyfill uses all standard APIs, and is therefore compatible with all\nmodern browsers, including Safari and Firefox. It supports mobile touchscreen\noperation also, as much as [is possible](#touchscreen-support).\n\n## Behavior Summary\n\nAdding the `interestfor` attribute to a button or link (the \"interest\ninvoker\"), and giving it a value that is the IDREF of another element (the\n\"target\" element), will cause the target to get \"interest\" and \"loseinterest\"\nevents when the user \"shows interest\" in the interest invoker. Showing interest\ncan be done by hovering the element with the mouse, or focusing it with the\nkeyboard. If the target is a popover, it will automatically be shown and hidden\nupon receiving and losing interest.\n\nA few more details:\n\n- Only `<button>` (when not disabled), `<a href>`, `<area href>`, and SVG\n  `<a href>` elements can be interest invokers. The `interestfor` attribute has\n  no effect on other elements.\n- The `interest` and `loseinterest` events are cancelable. Calling\n  `preventDefault()` on `interest` prevents interest from being shown, and on\n  `loseinterest` keeps interest (and the popover) in place.\n- Pressing Escape makes all interest invokers lose interest. These\n  `loseinterest` events are not cancelable.\n- If the target popover was already open when interest was gained, it is not\n  hidden when interest is lost.\n- If the target popover is hidden some other way (e.g. light dismiss), the\n  invoker loses interest.\n- Popovers can be nested: hovering an invoker inside a popover that was shown\n  via interest keeps the outer popover open.\n- The `interestForElement` property is available on `HTMLButtonElement`,\n  `HTMLAnchorElement`, `HTMLAreaElement`, and `SVGAElement`. It reflects the\n  `interestfor` attribute as an element reference.\n- The `:interest-source` and `:interest-target` pseudo classes match the\n  interest invoker and its target element while interest is shown.\n- The `interest-delay`, `interest-delay-start`, and `interest-delay-end` CSS\n  properties control the delays before showing and losing interest.\n- The optional `::interest-button` pseudo element provides a button that shows\n  interest immediately when clicked or tapped. See below.\n\nAgain, this is a quick summary. For the complete details, please [read the\nOpenUI explainer](https://open-ui.org/components/interest-invokers.explainer) or\nthe [specifications](#standards).\n\n## The `::interest-button` pseudo element\n\nAn interest invoker can have an `::interest-button` pseudo element, which is\na small button rendered just after the invoker. Clicking (or tapping) it shows\ninterest immediately, without waiting for any delay. Interest shown this way is\nnot lost when the mouse leaves the invoker or the invoker loses focus. It is\nlost when the user clicks outside the popover, presses Escape, or hovers and\nthen leaves the target popover. The pseudo element is only rendered if its\n`content` property is set.\n\nThe polyfill can't add a real pseudo element, so it inserts a\n`<span class=\"interest-button\" aria-hidden=\"true\">` element as the next sibling\nof the invoker. Set the `--interest-button-content` custom property on the\ninvoker to the value you'd use for `content`, and use `+ .interest-button` to\nstyle it. These must be separate rules, because a browser that doesn't\nrecognize `::interest-button` will drop the entire rule containing it:\n\n```css\n/* Native */\n[interestfor]::interest-button {\n  content: \"?\";\n}\n/* Polyfill */\n[interestfor] {\n  --interest-button-content: \"?\";\n}\n[interestfor] + .interest-button {\n  /* Additional polyfill-only styles */\n}\n```\n\nBoth the native pseudo element and the polyfill element get these default\nstyles, which can be overridden: `display: inline-block`,\n`vertical-align: middle`, `min-inline-size: 24px`,\n`min-block-size: max(24px, 1lh)`, `cursor: help`, a transparent background, and\na slightly tinted background on `:hover` and `:active`.\n\nBecause the interest button can be tapped, it provides a way for touchscreen\nusers to show interest in links (see below). Note that the polyfill implements\nthis as a `<span>` with a click handler on purpose - that makes it non-focusable,\nwhich is correct, because the invoker itself will show interest if focused, so\nthere should not be two focus stops. See [this section of the explainer](https://open-ui.org/components/interest-invokers.explainer/#rich-hints-aka-hovercards-or-other:~:text=Importantly%2C%20this%20new%20pseudo%20element%20is%20not%20keyboard%20focusable)\nfor more details.\n\n## Touchscreen support\n\nThis polyfill provides limited touchscreen support. On a touchscreen,\nlong-pressing a `<button>` element that has an `interestfor` attribute will show\ninterest in the target. As with the interest button, this interest is not lost\nwhen the button loses hover or focus.\n\nHowever, long-pressing a link (`<a>` element) is **not** supported. This is\nbecause on today's browsers, long-pressing a link element brings up a useful\ncontext menu that contains items like \"Share\" and \"Open in new tab\". In order\nfor the polyfill to support interest on links, that context menu would need to\nbe surpressed completely. There is currently no way to provide access to the\nlong-press context menu and *also* provide a way to show interest. Since the\ncontext menu contains items that users often use, eliminating access to the\ncontext menu is not what most people want. So this polyfill will not support\nlong-press on links. To let touchscreen users show interest in a link, give it\nan interest button (see the `::interest-button` section above).\n\nThis is one of the primary motivations for Chromium championing this as a\nnative API in all browsers: to support all users, including those using\ntouchscreens. If you'd like to weigh in on the need for this native API,\nplease feel free to comment on the standards positions for the non-supporting\nbrowsers:\n\n- WebKit: https://github.com/WebKit/standards-positions/issues/464\n- Mozilla: https://github.com/mozilla/standards-positions/issues/1181\n\n\n## Implementation\nThe polyfill adds event listeners to the document that monitor for hover\nor keyboard events relevant for the `interestfor` API. When interesting\nevents happen to elements with the `interestfor` attribute or elements that\nare the targets of those elements, it fires `interest` and `loseinterest`\nevents on the target of the `interestfor` attribute. If the\ntarget is a popover, it also handles showing or hiding the popover.\n\nBecause this is a polyfill, a few things are slightly different than the\nnative feature:\n\n- The CSS properties for controlling delays are implemented as custom\n  properties, so you'll want to add both the regular property and the custom\n  property, prefixed with `--`, to your stylesheet:\n\n  ```css\n  [interestfor] {\n    interest-delay-start: 400ms;\n    --interest-delay-start: 400ms;\n    interest-delay-end: 200ms;\n    --interest-delay-end: 200ms;\n  }\n  /* Or, use the shorthand: */\n  [interestfor] {\n    interest-delay: 400ms 200ms;\n    --interest-delay: 400ms 200ms;\n  }\n  /* The keyword `normal` can also be used to specify the default delay: */\n  [interestfor] {\n    interest-delay-end: normal;\n    --interest-delay-end: normal;\n  }\n  ```\n\n- The CSS pseudo classes for detecting invoker and target interest states are\n  implemented as regular class names, so again add both to your stylesheet:\n\n  ```css\n  :is([interestfor]:interest-source),\n  [interestfor].interest-source {\n    /* invoker styles */\n  }\n  :is([popover]:interest-target),\n  [popover].interest-target {\n    /* target popover styles */\n  }\n  ```\n\n  Note the `:is()` wrapped around the \"normal\" selector for the real pseudo\n  class names. This is to avoid the entire selector being invalidated if the\n  browser does not recognize the native pseudo class (e.g. `:interest-source`).\n\n- The `::interest-button` pseudo element is implemented as a real\n  `<span class=\"interest-button\">` element, inserted after the invoker, and\n  configured with the `--interest-button-content` custom property (see above).\n  Because it is a real element:\n  - It inherits styles from the invoker's parent, not from the invoker.\n  - It can affect sibling selectors such as `+` and `:nth-child()`.\n  - Click listeners on the invoker don't see clicks on the interest button.\n  - It is not implicitly anchored to the invoker for anchor positioning.\n- The polyfill only re-reads `--interest-button-content` when the DOM or the\n  `interestfor`, `id`, `href`, or `disabled` attributes change. Changes caused\n  only by styles (e.g. class changes, `:hover`, media queries) are not\n  detected.\n- Interest buttons are not created for invokers inside shadow roots, or for\n  `<area>` or SVG `<a>` invokers.\n- Clicking the interest button while the target popover is open causes the\n  popover to be light dismissed and then shown again, which fires an extra\n  pair of `loseinterest` and `interest` events.\n- The polyfill does not run in browsers that natively support `interestfor`.\n  In browsers that support `interestfor` but not `::interest-button`, no\n  interest button is shown.\n- The polyfill installs a `MutationObserver` on the document to keep interest\n  buttons up to date, and prepends a `<style>` element to `<head>` containing\n  the default styles for interest invokers and interest buttons.\n- Accessibility mappings (`aria-labelledby`, `aria-describedby`, `aria-details`,\n  `aria-expanded`, and `role=\"tooltip\"`) are set up on a best-effort basis by\n  inspecting the DOM. Because JavaScript does not have access to the browser's\n  accessibility tree or computed roles/names, the polyfill cannot match the\n  native feature in all cases (for example, when accessible names depend on CSS,\n  shadow DOM boundaries, or targets without an `id`, or when plain vs. rich\n  hint classification depends on computed roles). Native browser support handles\n  these accessibility mappings directly in the accessibility tree without\n  mutating DOM attributes.\n- On iOS (detected via user-agent sniffing for `iPad`, `iPhone`, or `iPod`),\n  long-pressing a `<button interestfor>` shows interest when the finger is\n  released (`touchend`) after holding for at least 500ms, rather than while the\n  finger is still held down. Unlike Android (which fires `pointercancel` and\n  `touchcancel` after a ~500ms hold), iOS WebKit does not cancel the touch\n  stream and fires `pointerup` on finger release, which would otherwise trigger\n  native popover light-dismiss on a popover opened after `pointerdown`.\n\n\n## Tests\n\nThe `test/test.html` file contains an automated test suite that runs on page\nload and tests the polyfill (either `src/interestfor.js` or\n`src/interestfor.min.js`). You can run the tests directly from this repo,\n[here](https://mfreed7.github.io/interestfor/test/test.html).\n\n## Standards\n\nThis is a recently-developed API, and the specs are in various states of\nstandardization:\n- The `::interest-button` CSS pseudo-element is defined here:\n  https://drafts.csswg.org/css-pseudo-4/#selectordef-interest-button\n- The `:interest-source` and `:interest-target` CSS pseudo-classes are defined\n  here:\n  https://drafts.csswg.org/selectors-5/#interest-pseudos\n- The `interest-delay-*` CSS properties are defined here:\n  https://drafts.csswg.org/css-ui-4/#interest\n- The HTML spec PR is located here:\n  https://github.com/whatwg/html/pull/11006\n  (Add a Thumbs Up 👍 to support landing it!)\n\n## Improvements / Bugs\n\nIf you find issues with the polyfill, feel free to file them [here](https://github.com/mfreed7/interestfor/issues).\nEven better, if you would like to contribute to this polyfill, I'm happy to review [pull requests](https://github.com/mfreed7/interestfor/pulls).\nThanks in advance!\n","readmeFilename":"README.md"}