Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var node = document.createElement("button");
- var svg = document.createElementNS("http://www.w3.org/2000/svg", "svg");
- var path = document.createElementNS("http://www.w3.org/2000/svg", "path");
- node.classList.add('button-toolbar');
- node.id = "vivaldiToggleSidebar";
- node.setAttribute("title", "Panel Toggle");
- node.setAttribute("tabindex", "-1");
- svg.setAttributeNS(null, "width", "26");
- svg.setAttributeNS(null, "height", "26");
- svg.setAttributeNS(null, "viewBox", "0 0 26 26");
- path.style = "d: path('M 4 6 h 18 v 2.5 h -3.5 v 11.5 h -2.5 v -9.5 h -6 v 9.5 h -2.5 v -11.5 h -3.5 Z')";
- bookmarkbar.appendChild(node);
- node.appendChild(svg);
- svg.appendChild(path);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement