Last active
November 3, 2017 01:04
-
-
Save brandonhellman/d4ca52cb57082033f82ba1cfef21c273 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Enable Linkedin Copy | |
// @namespace https://github.com/Kadauchi | |
// @version 1.0.0 | |
// @description Allows you to copy and paste on linkedin.com | |
// @author Kadauchi | |
// @icon http://i.imgur.com/oGRQwPN.png | |
// @include https://www.linkedin.com/* | |
// ==/UserScript== | |
new MutationObserver((mutations) => { | |
for (const element of document.querySelectorAll(`a.ember-view`)) { | |
element.replaceWith(...element.childNodes); | |
} | |
}).observe(document, { childList: true, subtree: true }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment