Technically, they&#x27;re not manipulating the clipboard at all. That is definitely disallowed by browsers. What they are doing is extending the selection to an invisible part of the page, so you&#x27;re copying more than you bargained for.<p>But without being able to manipulate selections, some nice features of certain sites would be lost. (e.g. the &quot;share&quot; link in StackOverflow automatically selects the URL for you so you only need to press Ctrl-C, instead of having to select it manually.)