• Faceraper 2013: now with less "i am a gay"
    53 replies, posted
Some [url=http://facepunch.com/member.php?u=187585]douchebag[/url] asked me if I could fix up [url=http://facepunch.com/showthread.php?t=1051555]Faceraper 2011[/url] for him, and seeing as I had nothing better to do I agreed to help out. However the [url=https://github.com/xelivous/facelift/blob/4b1983538024f2d92ab02465f0d1646d98caacf2/faceraper.js]code I saw[/url] was horrifying, and it took longer than expected. I even took a 3 month break to procrastinate working on it! But luckily for you it's finally in a decent enough state to release it: [img]http://i.imgur.com/hM096f7.gif[/img][B][url=https://github.com/xelivous/facelift/raw/master/faceraper2013.user.js]GET IT HERE[/url][/B][img]http://i.imgur.com/hM096f7.gif[/img] Github for it: [url]https://github.com/xelivous/facelift[/url] [B][U]Shit that's missing from 2011:[/U][/B] * [B]Stalk/nuke threads[/B] - Haven't bothered to get around to doing it yet; the icons are still in the awesome panel but they don't do shit * [B]Emote menu for posts[/B] - fuck emotes [B][U]Current bugs:[/U][/B] * Extra profile tabs breaks ability to post profile comments. I swear it was like that when i got there * http/https/www/no-www all store different configuration settings because localStorage is a fucking joke. I don't know a work around for that * ancient URL-Rewrite links from google break everything because i'm too lazy to put up edge cases for them. I'll get around to it eventually * javascript is fucking with me again and the style menu is completely broken for no reason at all. [B][U]Features:[/U][/B] * [B][url=http://i.imgur.com/QhwVRW1.png]Post Score/Stats, Autohide[/url][/B] -Automatically hide terrible posts! It's partially [url=http://i.imgur.com/nuUTwhj.png]customizable[/url]! * [B][url=http://i.imgur.com/ppIJmZm.png]Awesome panel[/url][/B] - Adds helpful buttons below avatars in posts * [B][url=http://i.imgur.com/YCVYTJI.png]Event log[/url][/B] - adds useless information to your eventlog that you'd never need to know * [B][url=http://i.imgur.com/5gRLQDW.png]Hover Ban Avatars[/url][/B] - see the actual avatars of banned users when you hover over their avatar * [B][url=http://i.imgur.com/569rykc.png]New Ban Avatars[/url][/B] - make ban avatars look different. image made by [url=http://facepunch.com/member.php?username=farmatyr]famatyr[/url]? used without permission * [B][url=http://i.imgur.com/icIq2X2.png]Avatars in "who's online"[/url][/B] - Hover over someone's name in the who's online box to view their avatar * [B][url=http://i.imgur.com/OXDHOvH.png]Mod list[/url][/B] - Shows a list of moderators on the event log page * [B]Title Shrinker[/B] - Properly scales titles based on their original size, using CSS. [url=http://i.imgur.com/7s4tHFF.png]BEFORE[/url] -> [url=http://i.imgur.com/O2MowxD.png]AFTER[/url] * [B]CSS fixer[/B] - just see [url=http://userstyles.org/styles/65192/facepunch-fixer]this page[/url] for more details (i'm no longer updating that page). Fixes profiles, ratings box, posts, everything * (EXPERIMENTAL) [B][url=http://i.imgur.com/CjwmnSU.png]Refcamp ban info[/url][/B] - Shows you what the person of the thread was banned for. Slow and buggy as fuck; don't bother [B][U]Configuration:[/U][/B] * Hover over options in the menu to figure out what they do. * Options don't take into effect until you refresh the page * Some options are hidden until their prerequisite options are activated (can't have post-scores without post-stats!) [B][U]Some Screenshots[/U][/B] [quote][img]http://i.imgur.com/5cWEn1T.png[/img][img]http://i.imgur.com/YCVYTJI.png[/img] [img]http://i.imgur.com/aia6sQG.png[/img][/quote] [B][U]Misc Info[/U][/B] * Original script by [url=http://facepunch.com/member.php?username=morphology53]Morphology53[/url] * Licensed under [url=http://sam.zoy.org/wtfpl/]WTFPL[/url], like the original * Special thanks to lordcrypto for constantly asking outrageous demands like a slave driver * Fuck javascript and whoever made it * I still have nightmares from morph's [url=http://i.imgur.com/fAuRAJN.png]original code[/url]
totally not a douchebag i swear [editline]11th October 2013[/editline] realtalk though, really glad faceraper is back thanks heroicpillow for being awesome and stuff
I require goatse edition just for me
[QUOTE=Craptasket;42496748]I require goatse edition just for me[/QUOTE] Okay preview (nsfw goatse): [url]http://i.imgur.com/mFygYtM.png[/url] install: [url]http://userscripts.org/scripts/show/179741[/url] have fun!!!
[QUOTE=HeroicPillow;42496900]Okay preview (nsfw goatse): [url]http://i.imgur.com/mFygYtM.png[/url] install: [url]http://userscripts.org/scripts/show/179741[/url] have fun!!![/QUOTE] My eyes! Should have taken note of the NSFW.
Facepunch is a popularity contest. This plugin should come standard on the forum
Goddamn, not even two days ago I was wondering if there was a new version of this script much obliged
Finally, I've been waiting for ages for someone to remake it. Thanks Mr Pillow.
Sweet. What determines if a post gets hidden? Ratings or something?
[QUOTE=geogzm;42498758]Sweet. What determines if a post gets hidden? Ratings or something?[/QUOTE] looks like it [editline]12th October 2013[/editline] Oh, it's this stuff [img]http://i.imgur.com/nuUTwhj.png[/img]
thanks op, this is awesome.
this owns but emotes were an integral part of the old extension
[QUOTE=Ehmmett;42497084]Should have seen the one that used a bot to get global rating totals.[/QUOTE] There was just one?
Doesn't want to work on chrome, tried a bunch of different methods to install but nothing seems to work :C
Yeah doesn't work for chrome for some reason On firefox it works fine. I even reinstalled chrome.
im on chrome using tampermonkey, works fine.
[QUOTE=Mike Tyson;42503132]im on chrome using tampermonkey, works fine.[/QUOTE] Ah works perfectly now when I installed tampermonkey
Used tampermonkey and still not working [editline]a[/editline] Working now.
You have to use tampermonkey and then copy and paste the scripts source code into the new script panel, refresh fp and it should work
lol
the floatcontainer header height isn't broken, why would you add that as a css fix it just makes the navbuttons look uglier [editline]13th October 2013[/editline] Oh also instead of adding bottom margins just fix the line-height to what it was before.
[QUOTE=Cowabanga;42512514]the floatcontainer header height isn't broken, why would you add that as a css fix it just makes the navbuttons look uglier[/quote] The background/logo height for the header is 100px. However the CSS for the header is only 90px, cutting off most of the header and leaving an awkward uneven spacing difference between the top and bottom. Without fix: [img]http://i.imgur.com/OgGDt5s.png[/img] With fix: [img]http://i.imgur.com/jOZZRqn.png[/img] Now I may have been able to fix it by center aligning everything, moving the margins/paddings around for pretty much everything inside of the header, but the fix I ended up with was just to restore the header's original height. Obviously it's not perfect, and doesn't center align everything in the header, but it's close enough for the little amount of work it took. If you would like to supply a fix for a 90px height header that properly aligns, the background, the contents, and the facepunch icon, then I have no qualms with implementing it into the fix. [QUOTE=Cowabanga;42512514] Oh also instead of adding bottom margins just fix the line-height to what it was before.[/QUOTE] For a large portion of the site the new line-height looks better; Toggling it on/off on the front page alone is quite a drastic difference. Post count beneath avatars is also affected. So instead of reverting the line-height change, which I thought improved the look of the site, I added margins in a few select locations that were affected negatively by the new line-height. I haven't looked into the CSS fix in quite a while, but i believe the only margin change I made due to line-height was pushing titles down, as the "user is online" border underneath usernames in posts overran into the titles.
this is pretty cool, thanks
[QUOTE=HeroicPillow;42513161]post[/QUOTE] Do a negative top margin for the header image until it looks good. I set it to be margin-top:-8px; myself. If you want to retain the full width of the header just increase the height of the lastelement div so that it pushes the navbuttons down.
Just out of curiosity how is post score calculated?
[QUOTE=MadBomber;42515629]Just out of curiosity how is post score calculated?[/QUOTE] it uses the values set in the "posts" configuration menu: for example gold members by get 200 bonus points by default, dumb ratings are -50 for every one the post has, and you get 0.05 points for every post you have. all of them are customizable by clicking on the value in the "posts" menu (need to enable it in the options menu) and entering in a new value. there's even an option to ignore parsing the post if it's the OP, because chances are if you click on a thread you may want to actually view the OP.
The hover ban avatars thing seems to be a bit odd when the user doesn't actually have an avatar. (See [url=http://facepunch.com/showthread.php?t=1314153&p=42514317&viewfull=1#post42514317]here[/url] for example.) Didn't the old version make it so mousing over a ban avatar simply loaded the user's normal avatar in place of it until you changed pages or reloaded?
I get a message from chrome that they are blocking all extensions downloaded from anywhere else than the chrome market to stop malicious extensions to compromise your computer what the fuck
[code] getArray: function( myvar ) { if ( ( localStorage.getItem(myvar) == null ) || ( localStorage.getItem(myvar) == '') ){ if ( this['SETTINGS'][myvar] != undefined){ return this['SETTINGS'][myvar][1]; } else { return ['yup', 'this', 'is', 'fucked']; } } else { return localStorage.getItem(myvar).split(','); }; },[/code] I can't breathe
[QUOTE=MuffinZerg;42520374][code] getArray: function( myvar ) { if ( ( localStorage.getItem(myvar) == null ) || ( localStorage.getItem(myvar) == '') ){ if ( this['SETTINGS'][myvar] != undefined){ return this['SETTINGS'][myvar][1]; } else { return ['yup', 'this', 'is', 'fucked']; } } else { return localStorage.getItem(myvar).split(','); }; },[/code] I can't breathe[/QUOTE] The real fun is at [url=https://github.com/xelivous/faceraper/blob/4b1983538024f2d92ab02465f0d1646d98caacf2/faceraper.js#L1733]L1733[/url]
Sorry, you need to Log In to post a reply to this thread.