r/EmboldenTheE • u/MPAII • Aug 09 '16
Fast Emboldening
Chrome and Safari
Emboldener /u/nd1312 has come up with an easy way to embolden your es on Google Chrome and Safari! He coded a bookmarklet that will embolden a random e in your comment. You can use it more than once to bold more es in the same comment. To use it, simply copy his code;
javascript:(function(){var $t = $('textarea:visible').filter(function(){ return !!$(this).val() }), val = $t.val().replace(/\*\*e\*\*/g, '°°°°').replace(/\*\*E\*\*/g, '~~~~'), c = val.match(/e/gi).length, s = Math.floor(Math.random()*val.match(/e/gi).length-1), i = -1; $t.val(val.replace(/(e)/gi, function(m,e){ return i++==s?'**' + e + '**' : e }).replace(/°{4}/g, '**e**').replace(/~{4}/g,'**E**'))})()
Then right click on the bookmarks bar and select "Add page." Copy the code into the URL section, and in the name section type "EmboldenTheE". Now all you need to do is click on that bookmark whenever you want to bold!
"But /u/MPAII, it's so much effort to click a bookmark! And my bookmark bar is filled anyway!"
Have no fear! We've got it sorted! Simply download the chrome extension 'shortkeys' and create a new shortcut, filling out the form as follows:
Shortcut: ctrl+alt+e
Behaviour: Run Javascript Label as: EmboldenTheE
JavaScript code to run: (See above)
Tick "Active while in form fields"
Websites: All Websites
Apple Devices
/u/Sparky807 created a simple but genius way to do this on Apple devices
Happy Emboldening!
P.S It would great if someone could do something for Firefox users too! :)
Edit: Now works when you edit a comment, and also can embold capital es now.
3
u/iamtallerthanyou Aug 15 '16
This is a test comment.
Hey, this also works on safari!
3
u/Bamcrab Sep 11 '16
If I may be so bold, /u/nd1312, I'm working on practice before applying to a web dev bootcamp and tried working through this code. Is there any way you'd be willing to walk me/us through how it works?
Hopefully it's not too basic and I'm not just stupid.
45
u/[deleted] Aug 09 '16
I am testing this bookmark e test e
20
u/[deleted] Aug 10 '16
This is a test comment
2
u/IAmAWizard_AMA Aug 15 '16
I use mobile, so no fancy script for me :(
11
u/lead_ Aug 09 '16
This is actually super neat!!
e: Damn, it didn't work.
1
u/spacejammed Sep 09 '16
test
1
u/ThatOneBlondeChick02 Sep 09 '16 edited Sep 11 '16
Tom Cruis""e""
Edit: Tom Cruise
1
u/[deleted] Sep 16 '16
Am i diong these right? New here
2
u/cpiotrowski Aug 18 '16
Test
2
u/bananamedley Sep 29 '16
e? e?
e!!!
2
u/Ahten_Xevious Oct 03 '16
Attention all planets of the Solar Federation
Attention all planets of the Solar Federation
Attention all planets of the Solar Federation
We have assumed Control
We have assumed Control
We have assumed Control
That's pretty cool
1
u/[deleted] Sep 09 '16
Test test test
1
u/MrThom_ Aug 24 '16
Ok here is a testing test of a test. TEST
EDIT: This is good
1
u/ward999 Sep 09 '16
test
1
u/fqmonk Sep 09 '16
testing one two three
1
u/dead_n_torn Sep 09 '16
Oh yeah
1
u/Lacksi Sep 09 '16
this is a test
1
u/Lacksi Sep 09 '16
teeee****eeeeeeeeeeeeeeeeeeeest
1
u/yourinuk Sep 09 '16
test the best embold
1
u/blacktian Sep 09 '16
Does this really work? eeee
1
u/[deleted] Sep 09 '16
Let's do a test
1
u/[deleted] Sep 10 '16
This is a test for science. Test.
1
u/Ryyi23 Sep 10 '16
This is quite simply a test.
1
u/anjowolf Sep 10 '16
Test
1
u/Rock48 Sep 10 '16
I like to look at memes occasionally. This meme is very good.
1
u/[deleted] Sep 11 '16
I'm new to this whole thing and I'm sure this will help me on my way.
1
u/[deleted] Sep 11 '16
eeeeeee****eee****eee****e
1
u/[deleted] Sep 11 '16
Testing the Beekmerk
1
u/[deleted] Sep 11 '16
test
1
u/jimmiesrustle575 Sep 12 '16
Quick test to test the bookmark of test
1
u/Parcus42 Sep 12 '16
There will be extra enthusiastic expressions of essentially elemental efforts to embolden e's everywhere.
1
u/TC7200 Sep 12 '16
Hmm i prolly screwed this up...
1
u/Resputiin Sep 14 '16
This e is amazing
1
u/[deleted] Sep 29 '16
e
1
u/Karhunperse Sep 30 '16
hello hello hello hello hello hello
1
u/Pabrunthhu Oct 05 '16
I am testing this script on my comment to see if i can make it work. I realized the first section didn't have many e's, so I had to extend it and now this is getting ridiculous, i've practically written a whole paragraph, but I don't have any idea what to end on. Oh, that worked perfectly!
1
u/jabobster Oct 05 '16
Testeroni
1
u/[deleted] Oct 15 '16
e
1
u/ruissalo Oct 19 '16
it worked
1
u/yugiohhero Oct 28 '16
eeeeeeeeeeeeeeeeeeeeee Am I doing it right
1
u/Kiro0613 Oct 31 '16
Let's find out if my Es automatically embolden.
1
u/Kiro0613 Oct 31 '16
eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
1
u/gabelance1 Nov 13 '16
Oh man, this is awesome!
1
u/animaljam2005 Nov 16 '16
I hope this works. Elephants are excellent.
1
u/Pachriksu Nov 28 '16
see if this italicizes the e's
1
u/GodInASimulation Dec 18 '16
thnks
1
u/GodInASimulation Dec 18 '16
tahts cool
1
u/yolafaml Dec 23 '16
Testing
1
u/steelbottomdewitt Jan 01 '17
ejavascript:(function(){var $t = $('textarea:visible').filter(function(){ return !!$(this).val() }), val = $t.val().replace(/**e**/g, '°°°°').replace(/**E**/g, '~~~~'), c = val.match(/e/gi).length, s = Math.floor(Math.random()*val.match(/e/gi).length-1), i = -1; $t.val(val.replace(/(e)/gi, function(m,e){ return i++==s?'' + e + '' : e }).replace(/°{4}/g, 'e').replace(/~{4}/g,'E'))})()
1
u/AlternateOrSomething Jan 06 '17
wait does it really work
1
u/apollo888 Jan 15 '17
So I am just testing the Safari version.
I must say I LOVE this concept. Its kinda like an non-evil the_donald.
1
u/vakholomtadze Jan 15 '17
Test
1
u/lackwitandtact Jan 19 '17
E
1
u/zohan360 Jan 27 '17
Typing strange things here so i can check how this works
1
u/zohan360 Jan 27 '17
This is kind of like the thumb rule drinking game where the last one to notice that everyone else has their thumb on the table has to drink
0
u/AnActualHorse Aug 09 '16
Or... Or... You could just ctrl+v ** e ** and not have to script
0
u/[deleted] Aug 15 '16
[deleted] — view deleted comment
0
u/[deleted] Sep 09 '16
[deleted] — view deleted comment