Last active
June 27, 2017 09:00
-
-
Save thenoseman/8ed5db88c6f21e5e40d7a53c356ee8e7 to your computer and use it in GitHub Desktop.
Revisions
-
thenoseman revised this gist
Jun 27, 2017 . 2 changed files with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +0,0 @@ This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ // Paste this into the URL of a created bookmark: // Go to your leankit board and klick the link. javascript:(function()%7Bvar%20body%20%3D%20document.querySelector(%22body%22)%3Bvar%20addStyle%20%3D%20function(css)%20%7Bvar%20style%20%3D%20document.createElement(%22style%22)%3Bstyle.innerText%20%3D%20css%3Bbody.appendChild(style)%3B%7D%3Bvar%20cookies%20%3D%20%5B%22https%3A%2F%2Fpicload.org%2Fimage%2Frprprwdi%2Fcookie.png%22%2C%22https%3A%2F%2Fpicload.org%2Fimage%2Frprpordi%2Fcookie2.png%22%5D%3Bvar%20chooser%20%3D%20document.createElement(%22div%22)%3Bchooser.className%20%3D%20%22cookie%22%3Bchooser.innerHTML%20%3D%20%22%3Cimg%20class%3D'cookie-use'%20src%3D'%22%20%2B%20cookies.join(%22'%2F%3E%3Cimg%20class%3D'cookie-use'%20src%3D'%22)%20%2B%20%22'%2F%3E%22%3Bbody.appendChild(chooser)%3Bcss%20%3D%20%22.cookie%20%7B%20padding%3A%205px%3B%20border%3A%201px%20solid%20%23000%3B%20position%3A%20absolute%3B%20bottom%3A%200%3B%20right%3A%200%3B%20width%3A%22%20%2B%20cookies.length%20*%2060%20%2B%20%22px%3B%20cursor%3A%20pointer%3B%7D%22%3Bcss%20%2B%3D%20%22.cookie-use%20%7B%20width%3A%2050px%3B%20%7D%22%3BaddStyle(css)%3Bchooser.addEventListener(%22click%22%2C%20function(e)%20%7Bif%20(typeof%20window.cookieDone%20%3D%3D%3D%20%22undefined%22)%20%7BaddStyle(%22.card-background%20%7B%20background-size%3A%20100%25%3B%20box-shadow%3A%20none%20!important%3B%20background-color%3A%20transparent%20!important%3B%20background-position%3A%20bottom%3B%20%7D%22)%3Bwindow.cookieDone%20%3D%20true%3B%7DaddStyle(%22.card-background%20%7B%20background-image%3A%20url(%22%20%2B%20e.target.src%20%2B%20%22)%20!important%3B%22)%3B%7D)%7D)() -
thenoseman created this gist
Jun 27, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ // Paste this into the URL of a created bookmark: // Go to your leankit board and klick the link. javascript:(function()%7Bvar body %3D document.querySelector("body")%3Bvar addStyle %3D function(css) %7Bvar style %3D document.createElement("style")%3Bstyle.innerText %3D css%3Bbody.appendChild(style)%3B%7D%3Bvar cookies %3D %5B"https%3A%2F%2Fpicload.org%2Fimage%2Frprprwdi%2Fcookie.png"%2C"https%3A%2F%2Fpicload.org%2Fimage%2Frprpordi%2Fcookie2.png"%5D%3Bvar chooser %3D document.createElement("div")%3Bchooser.className %3D "cookie"%3Bchooser.innerHTML %3D "<img class%3D'cookie-use' src%3D'" %2B cookies.join("'%2F><img class%3D'cookie-use' src%3D'") %2B "'%2F>"%3Bbody.appendChild(chooser)%3Bcss %3D ".cookie %7B padding%3A 5px%3B border%3A 1px solid %23000%3B position%3A absolute%3B bottom%3A 0%3B right%3A 0%3B width%3A" %2B cookies.length * 60 %2B "px%3B cursor%3A pointer%3B%7D"%3Bcss %2B%3D ".cookie-use %7B width%3A 50px%3B %7D"%3BaddStyle(css)%3Bchooser.addEventListener("click"%2C function(e) %7Bif (typeof window.cookieDone %3D%3D%3D "undefined") %7BaddStyle(".card-background %7B background-size%3A 100%25%3B box-shadow%3A none !important%3B background-color%3A transparent !important%3B background-position%3A bottom%3B %7D")%3Bwindow.cookieDone %3D true%3B%7DaddStyle(".card-background %7B background-image%3A url(" %2B e.target.src %2B ") !important%3B")%3B%7D)%7D)()