Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
Are you a dj?? seems to be a lot of djs on here (dont choose conflicting options plz)
Yes I am a disc jockey of some sort
No i do not jockey discs op
yospos 219 bicth
View Results
 
  • Locked thread
bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
ok i have loaded up firefox this is bullshit at least some parts worked

in firefox you can see the old vote buttons underneath the yospos ones how fail is that

Adbot
ADBOT LOVES YOU

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
ok what the gently caress is this poo poo


http://commons.oreilly.com/wiki/index.php/Greasemonkey_Hacks/Getting_Started#Pitfall_.231:_Auto-eval_Strings

oreally oreilly posted:

Pitfall #10: style

In JavaScript, every element has a style attribute with which you can get and set the element's CSS styles. Firefox also supports a shorthand method for setting multiple styles at once:

var elmFoo = document.getElementById("foo");
elmFoo.setAttribute("style", "margin:0; padding:0;");

This does not work in Greasemonkey scripts, because the object returned by document.getElementById is an XPCNativeWrapper, and XPCNativeWrappers do not support this shorthand for setting CSS styles in bulk. You will need to set each style individually:

var elmFoo = document.getElementById("foo");
elmFoo.style.margin = 0;
elmFoo.style.padding = 0;

theadder
Dec 30, 2011


does ur script thingy fix the tables breaking spongy

ANIME MONSTROSITY
Jun 1, 2012

by XyloJW
so does it work with ninjakit because im opposed to installing software with animal names

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

theadder posted:

does ur script thingy fix the tables breaking spongy

mr shoe gaze added that in but it won't work for code snippets for some reason. maybe someone who is less of an idiot than I could figure it out

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

ANIME MONSTROSITY posted:

so does it work with ninjakit because im opposed to installing software with animal names

it looks like it should work but I make no guarantees :smugmrgw:


also anyone wanting Firefox support I think I have figured it out but I was at a the gym so i'ma do it l8r

theadder
Dec 30, 2011


i installed it in safari in ninjakit & precisely nothing happened cant wait for .5 thx all

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
I was wrong. Firefox is a steaming pile.

I dno like it "just works" in chrome

3D Megadoodoo
Nov 25, 2010

bobbilljim posted:

afternoon team,

Here is a lovely userscript i wrote yesterday / today instead of doing work.

https://github.com/bobbilljim/yuspos/raw/master/yuspos.user.js

features:
*synpe form teh 'pos
*text in reply box
*green grenade
*twitter embeds
*vine embeds
* quote highlights to work correctly in the pos

*the ethical userscript: no valeyards


planned features:
*fix the fotns in newthread.php that i just noticed
*do somethign different with cozpops
*lol, amberpos


I am using chrome on lunix so who knows what will happen if u dont. I use it on chrome on linux and windows.

I use TamperMonkey to install it. NOTE some of it won't work without using greasemonkey / tampermonkey so if you must install it in a sperg way i can fix it but otherwise aint bovvered

feel free to berate me itt.

i am not responsible for anythign bad happening when you use this userscript

edit:features, windows

how do i run this on my lumia?

DONT THREAD ON ME
Oct 1, 2002

by Nyc_Tattoo
Floss Finder

bobbilljim posted:

mr shoe gaze added that in but it won't work for code snippets for some reason. maybe someone who is less of an idiot than I could figure it out

It's because of the pre element and I'm not sure how to deal with it without making code blocks pointless.

Maybe you can set overflow to use scroll, idk if that would work though

Could also do a css transform

Valeyard
Mar 30, 2012


Grimey Drawer

bobbilljim posted:

I was wrong. Firefox is a steaming pile.

I dno like it "just works" in chrome

chrome ftw

Widdiful
Oct 10, 2012

"hi i use google chrome" - a thing actual idiots say

Valeyard
Mar 30, 2012


Grimey Drawer

if you use jQuery.css() function you should be able to do the following:

code:
$(".whateverSelector").css({
   'margin' : '0',
   'padding' : '0'
});
and it will work cross browser natch

and i stole your idea for having the green/amber grenades

Valeyard fucked around with this message at 18:13 on Dec 18, 2014

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:

Valeyard posted:

if you use jQuery.css() function you should be able to do the following:

code:
$(".whateverSelector").css({
   'margin' : '0',
   'padding' : '0'
});
and it will work cross browser natch

and i stole your idea for having the green/amber grenades

i thought i had it figured out but the thing they specifically said would not work on ff was the only thing that did work so i had a cry about it. so ill try this later. cjs:at work but computer still broken ahahahah

Captain Foo
May 11, 2004

we vibin'
we slidin'
we breathin'
we dyin'

I never got around to installing this, sorry op

Adbot
ADBOT LOVES YOU

bobbilljim
May 29, 2013

this christmas feels like the very first christmas to me
:shittydog::shittydog::shittydog:
its ok, i kind of stopped giving a poo poo about it too. maybe when im back at work ill procrastinate by updating it. if my work forums access isnt still strangely slow....

  • Locked thread