// ==UserScript== // @name Thing Remix Attribution Maker // @namespace http://poikilos.org/ // @version 0.1 // @description Add a button to Thingiverse thing pages to allow copying all author and license information to the clipboard. // @author Poikilos (Jake Gustafson) // @include https://www.thingiverse.com/thing:* // @grant none // @downloadURL none // ==/UserScript== (function() { // @ m a t c h https://www.thingiverse.com/thing:* 'use strict'; var info = {}; var pageInfoE = document.getElementsByClassName("item-page-info"); var i; for (i = 0; i < pageInfoE.length; i++) { // There should only be one. // pageInfoE[i].innerHTML += ""; //or: // See https://www.w3schools.com/jsref/met_document_createelement.asp var btn = document.createElement("BUTTON"); // Create a