|
|||||
|
Porn Users Forum » Greasemonkey and user scripts |
1-2 of 2 Posts | Page 1 |
Thread Nav : Refresh Page | First Post | Last Post | Porn Forum Home |
12-15-16 04:48am - 2930 days | Original Post - #1 | |
CharlieSkyward (0)
Suspended Posts: 16 Registered: Oct 25, '16 Location: UK |
Greasemonkey and user scripts Something I find very handy for downloading is greasemonkey (that is, user scripts). For example, for harmony, the following duplicates the download links and sticks them near the top of the page so as to avoid the need for scrolling. // @include http://*.stiffia.com/scene/* // @version 1 // @grant none // ==/UserScript== function dothething() { var a = document.querySelector("div.site_innerC"); var b = document.querySelector("div.download_section"); var aa = document.createElement("div"); aa.setAttribute("class","prxInsert"); aa.style.margin = "2px"; aa.style.padding = "2px"; var bb = b.cloneNode(true); bb.style.float = "none"; bb.querySelector("h3").style.color = "#ff7"; aa.style.background = "#300"; aa.style.padding = "6px"; aa.style.border = "1px solid black"; aa.appendChild(bb); var x = document.querySelector("div.player_header"); a.insertBefore(aa,x); } dothething(); | |
|
12-15-16 07:01am - 2930 days | #2 | |
mbaya (0)
Suspended Posts: 891 Registered: Jul 07, '08 Location: new jersey |
I appreciate you are trying to help, but I don't understand anything about this. Can you please explain? | |
|
1-2 of 2 Posts | Page 1 |
Thread Nav : Refresh Page | First Post | Last Post | Porn Forum Home |
|