- Install Chrome freak extension (https://chrome.google.com/webstore/detail/control-freak/jgnchehlaggacipokckdlbdemfeohdhc?hl=en)
- Visit Play store developer console and open an app listing
- Open control freak icon beside URL bar (look for the gears/setting icon on top-right of browser)
- In control freak, click on "This domain (play.google.com)
- In control freak, copy the CSS, JS, and Libs from above here
- Hit save and exit control freak
- Reload the page! App listing should now include %ge.
Last active
June 14, 2016 11:48
-
-
Save mahemoff/d9b0248348cff8b279071ce4c4788b5a to your computer and use it in GitHub Desktop.
Android Play control freak script to show %ge
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 characters
.average { | |
font-weight: bold; | |
display: block; | |
font-size: 2em; | |
margin-left: 1em; | |
} | |
.gwt-TextArea { | |
resize: both !important; | |
height: 600px; | |
} |
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 characters
function go() { | |
$ratings = $('[title*="ratings with"]'); | |
var totalRating = totalRaters = 0; | |
$ratings.map(function(i) { | |
var rating = 5-i, | |
raters = parseInt($(this).html().replace(',','')); | |
console.log('iii', i); | |
totalRating += raters * rating; | |
totalRaters += raters; | |
}); | |
var average = totalRating/totalRaters; | |
var percentToNext = 1000*((average-0.05)%0.1); | |
$('<span class="average">' + average.toFixed(4) + ' (' + percentToNext.toFixed(1) + '%)</span>') | |
.insertAfter(($ratings).last()); | |
$("strong:contains('Eleven Three')").parent().parent().parent().remove() | |
} | |
setTimeout(go, 2000); |
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 characters
http://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.min.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment