Steemit FloatVote: KLYE Edition - Never Have to Scroll to the Bottom of a Post Again..!

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
ยท@klyeยท
0.000 HBD
Steemit FloatVote: KLYE Edition - Never Have to Scroll to the Bottom of a Post Again..!
<center>![](https://steemitimages.com/DQmZDRADerFk7KBoX3CjAe6VtiqjCYDWvTs7rdANAbJ4KRN/image.png)</center>

Are you tired of finding great quality content but having to scroll all the way to the bottom of the post just to throw the author your seal of approval in the form of an upvote?

Do you often wish you could see how much reward, votes and views a post has right away when the page loads rather than having to hunt for it?

<center>![](https://steemitimages.com/DQmRmJsrzY6MbydTMGdnMFbp6Av9Nocka76qgkFveoQh5oY/image.png)<br><sub>( sexy.. ain't it? )</sub></center>

If you answered yes to either question above or just want your Steemit.com experience to be slightly more awesome have I got a grand offering for you! Adapted from @bitcoiner's [original "Floatvote"](https://steemit.com/steemit/@bitcoiner/steemit-floatvote-because-voting-is-important) I'm proud to release to the general public my own version.

<center><h1>Steemit FloatVote: KLYE Edition</h1></center>

![](https://steemitimages.com/DQmebPPjLGLLU3MfxhZjfVY9DRkjcH9xZvCPfMn8mnt1UBR/image.png)

<center><b>No longer must you scroll to the bottom of a post to vote!</b></center>

![](https://steemitimages.com/DQmXknNsDnHpKqGYjCqGMZqLNtSoLWgiFpnmHwh3EVsWXzU/image.png)

<center><b>Users with over roughly 500 STEEM get access to voting weight controls!</b></center>

By using the power of CSS and a bit of code wizardry was able to take the voting, views and reward displays from the bottom of the post GUI, sending them to the top right allowing for much more efficient curation or voting. The current setup on Steemit.com forces users to scroll all the way to the bottom of the post to vote, this script solves that problem while adding a bit of colour to the GUI.

<center><h1>Script & Installation</h1></center>

Google Chrome plugin "[Tampermonkey](http://tampermonkey.net/)" is what I use to run external Javascript code on top of target sites so before you go ahead please go get that installed in order to continue.

Not going to walk you through that part but once you've got Tampermonkey installed find it's little icon and create a new script as displayed in the screenshot given below:

<center>![](https://steemitimages.com/DQmNNGui7EY4bpxeS2kEQicadEaQKPT11QStUCrUMFoW6Sv/image.png)</center>

<center>This will open up a screen that looks like the one below, delete all the code in the new file:</center>

<center>![](https://steemitimages.com/DQmYSLjgZ8PPZG2boHPqAvumkeesV3NnTzUtXZkDhCq8hHd/image.png)</center>

<center>Once you have all that crap deleted copy the script below and paste it into the document:</center>

```
// ==UserScript==
// @name          Steemit FloatVote KLYE EDITION
// @namespace     http://userstyles.org
// @description	  Steemit FloatVote - ? Because Voting is Important!
// @author        bitcoiner + KLYE
// @homepage      https://userstyles.org/styles/132260
// @include       http://steemit.com/*
// @include       https://steemit.com/*
// @include       http://*.steemit.com/*
// @include       https://*.steemit.com/*
// @run-at        document-start
// @version       0.20160902230543
// ==/UserScript==
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js
var views;
var elements;
(function () {
	var css = [
		".PostFull__footer .Voting {",
		"    box-shadow: 0px 3px 10px -3px #000;",
		"opacity: 80;",
		"background: #ffffff;",
		"background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);",
		"background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);",
		"background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%);",
		"filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );",
		" border-radius: 20px !important;",
		"border-top-right-radius: 0px !important;",
		"border-bottom-right-radius: 0px !important;",
		" border: 1px solid #bbb !important;",
		"    position: fixed !important;",
		"    padding: 4px 0.5em !important;",
		"    top: 7% !important;",
		"    right: 7% !important;",
		"    z-index: 1000 !important;",
		"}",
		".PostFull__footer a {",
		"font-size: 100% !important;",
		//  " ",
		// " ",
		"}",
		".PostFull__footer  .PostFull__views {",
		"left: 92.5%;",
		"    box-shadow: 0px 3px 10px -3px #000;",
		"opacity: 80 !important;",
		"background: #ffffff !important;",
		"background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%) !important;",
		"background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%) !important;",
		"background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%) !important;",
		"filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ) !important;",
		" border-radius: 20px !important;",
		"border-top-left-radius: 0px !important;",
		"border-bottom-left-radius: 0px !important;",
		" border: 1px solid #bbb !important;",
		"    position: fixed !important;",
		"    padding: 4px 0.5em 4px 0.33em !important;",
		"    top: 7% !important;",
		"    right: 1.5em !important;",
		"    z-index: 999 !important;",
		"}",
		"",
		".PostFull__footer .PostFull__views",
		" .PostFull__footer .Voting__button-up .dropdown-pane {",
		"    top: inherit !important;",
		"    bottom: 35px !important;",
		"}",
		"",
		".PostFull__time_author_category {",
		"    border-right: none !important;",
		"}",
		".Voting__button-up circle:hover {",
		"    fill: #4ba2f2 !important; ",
		"stroke: #ccc !important;",
		"}",
		".Voting__adjust_weight {",
		"    box-shadow: 0px 3px 10px -3px #000;",
		"    min-height: 44px;",
		"    margin-top: 4.7% !important;",
		"background: #ffffff !important;",
		"background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%) !important;",
		"background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%) !important;",
		"background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%) !important;",
		"filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ) !important;",
		"border-radius: 20px !important;",
		"position: relative !important;",
		"top: 7% !important;",
		"right: 74.5% !important;",
		"padding: 0px 5px 0px 0px !important;",
		"border: 1px solid #bbb !important;",
		"width: 251px !important;",
		"}",
		"a.confirm_weight {",
		"float: right !important;",
		"width: 2rem !important;",
		"height: 2.2rem !important;",
		"line-height: 2.6rem !important;",
		"-webkit-transition: all 0.3s ease 0s !important;",
		"-moz-transition: all 0.3s ease 0s !important;",
		"-ms-transition: all 0.3s ease 0s !important;",
		"-o-transition: all 0.3s ease 0s !important;",
		"transition: all 0.3s ease 0s !important;",
		"}",
		".rangeslider-horizontal {",
		"   height: 7px !important;",
		"width: 200px !important;",
		"background: rgba(0,0,0,0.15) !important;",
		"float: right !important;",
		"margin-top: 18px !important;",
		"margin-right: 5px !important;",
		"box-shadow: inset 0 2px 4px rgba(0,0,0,.5) !important;",
		"}",
		".rangeslider__fill {",
		"box-shadow: inset 0 1px 3px rgba(0,0,0,.3) !important;",
		"}",
		"button.Voting__adjust_weight_close {",
		"display: none;",
		"}",
		".dropdown-pane.is-open {",
		"border: none !important;",
		"}",
		"div.rangeslider__handle {",
		"background: rgb(255,255,255) !important;",
		"background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%) !important;",
		"background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%) !important;",
		"background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%) !important;",
		"filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ) !important;",
		"width: 15px !important;",
		"border-radius: 15px !important;",
		"border-color: #bbb !important;",
		"    top: -12px !important;",
		"    box-shadow: 0px 3px 10px -3px #000;",
		"}",
		"div.rangeslider__handle:active {",
		"background: rgb(255,255,255) !important;",
		"background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(243,243,243,1) 50%, rgba(237,237,237,1) 51%, rgba(255,255,255,1) 100%) !important;",
		"background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%) !important;",
		"background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(243,243,243,1) 50%,rgba(237,237,237,1) 51%,rgba(255,255,255,1) 100%) !important;",
		"filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ffffff',GradientType=0 ) !important;",
		"width: 15px !important;",
		"border-radius: 15px !important;",
		"border-color: #bbb !important;",
		"    box-shadow: 0px 3px 10px -3px #000;",
		"}",
		".dropdown-pane {",
		"box-shadow: none !important;",
		"}",
		".weight-display {",
		"width: 3rem;",
		"float: left;",
		"margin-right: .5rem;",
		"text-align: right;",
		"color: #8a8a8a;",
		"line-height: 2.6rem;",
		"position: absolute;",
		"left: 30%;",
		"margin-top: 4.2% !important;",
		"-webkit-user-select: none;",
		"-moz-user-select: none;",
		"-ms-user-select: none;",
		"}",
		".weight-display:after {",
		"content: 'Float-Vote @KLYE Edition';",
		"font-size: 0.6em;",
		"position: absolute;",
		"top: -25px;",
		"    right: -30px;",
		"color: #cdcdcd;",
		"}",
		// "div.Header__top li.Header__search:after {",
		// "position: absolute;",
		//"content: '๐ŸŒ‘';",
		// "    top: 10px;",
		// " right: 19%;",
		// "}",
		//  "div.Header__top li.Header__search.c2:after {",
		// "position: absolute;",
		// "content: 'โ˜€๏ธ';",
		// "    top: 10px;",
		//" right: 19%;",
		// "}",
		".menu.vertical {",
		" background: #fff;",
		" border: 1px solid #d6d6d6;",
		"  border-top: none;",
		"  margin-top: 2px;",
		"  box-shadow: 0px 4px 14px -3px #000;",
		"}",
		".menu.vertical>li>a {",
		"    -webkit-transition: all 0.3s ease 0s;",
		" -moz-transition: all 0.3s ease 0s;",
		"-ms-transition: all 0.3s ease 0s;",
		" -o-transition: all 0.3s ease 0s;",
		"transition: all 0.3s ease 0s;",
		"}"
	].join("\n");
	document.addEventListener('DOMContentLoaded', function () {

	}, false);
	if (typeof GM_addStyle != "undefined") {
		GM_addStyle(css);
	} else if (typeof PRO_addStyle != "undefined") {
		PRO_addStyle(css);
	} else if (typeof addStyle != "undefined") {
		addStyle(css);
	} else {
		var node = document.createElement("style");
		node.type = "text/css";
		node.appendChild(document.createTextNode(css));
		var heads = document.getElementsByTagName("head");
		if (heads.length > 0) {
			heads[0].appendChild(node);
		} else {
			// no head yet, stick it whereever
			document.documentElement.appendChild(node);
		}
	}
})();
```

<center><b>Make sure to copy all the code in the grey box above and hit <code>ctrl + c</code></b></center>

<center>![](https://steemitimages.com/DQmQhgkmR6bR5GQcAYkiRMvuxqSwGMvEYpC6xL9iSW5vjtV/image.png)</center>



<center>Hit <code>ctrl + s</code> to save your new Float-Vote Script!</center>

<center><h2>That's it! Float-Vote: KLYE Edition Should be Working!</h2></center>


<center>Admittedly this code is *mostly untested* and may not work on all systems!</center>

<center>Shout out to @bitcoiner for making the original version! <3</center>
<center>Shout out to @transisto for putting me up to the challenge! <3</center>

<hr>

| &nbsp; &nbsp; https://steemitimages.com/200x200/http://puu.sh/rRLx4/cb96668c43.png | <center> <h4>VOTE @KLYE FOR WITNESS </h4><b><a href="https://steemit.com/~witnesses">steemit.com/~witnesses</a></b> </center> | &nbsp; &nbsp; https://steemitimages.com/200x200/http://puu.sh/rRLx4/cb96668c43.png |
|------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------|
๐Ÿ‘ , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,