<story><title>Pastejacking</title><url>https://github.com/dxa4481/Pastejacking</url></story><parent_chain><item><author>Unklejoe</author><text>On a somewhat related note: why do browsers allow websites to prevent you from leaving via those annoying dialog boxes that ask you to click &amp;quot;cancel&amp;quot; or &amp;quot;leave&amp;quot;?</text></item><item><author>landhar</author><text>Why do browsers not require explicit user permission before allowing a site to perform clipboard manipulations? In a similar tashion to how the HTML5 geo-location API is opt-in?</text></item></parent_chain><comment><author>nadaviv</author><text>To be able to remind you about your unsaved changes before you leave the page. I personally find the benefits of websites doing that to be greater than the annoyment from websites abusing this functionality. (just an extra click when its being abused, but potentially saving hours of my time when used properly)</text></comment>
<story><title>Pastejacking</title><url>https://github.com/dxa4481/Pastejacking</url></story><parent_chain><item><author>Unklejoe</author><text>On a somewhat related note: why do browsers allow websites to prevent you from leaving via those annoying dialog boxes that ask you to click &amp;quot;cancel&amp;quot; or &amp;quot;leave&amp;quot;?</text></item><item><author>landhar</author><text>Why do browsers not require explicit user permission before allowing a site to perform clipboard manipulations? In a similar tashion to how the HTML5 geo-location API is opt-in?</text></item></parent_chain><comment><author>zbuttram</author><text>I have seen sites that have pages where you&amp;#x27;re placed in a queue (for whatever reason) and if you leave the page you will be dropped from the queue, so it&amp;#x27;s nice to have something preventing you from accidentally leaving, but that&amp;#x27;s the only legitimate use I can think of.</text></comment>