Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

#1 2018-02-28 02:44:48

XxAtillaxX
Member
Joined: 2015-11-28
Posts: 4,202

[Release] EEForums Reply Hover Userscript

Preview

This script is intended to function similarly to the quick reply feature on 4chan.

The reply window is resizable, and you can drag it around on screen, and it follows you when you scroll up and down.
It's useful when replying to posts, since you don't have to scroll all the way back down after quoting someone.

You should install it with GreaseMonkey (on Firefox) or TamperMonkey (on Chrome)

// ==UserScript==
// @name     Everybody Edits Forums Quick Reply
// @version  1
// @grant    none
// @match	https://forums.everybodyedits.com/viewtopic.php*
// @require       https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js
// @require       https://code.jquery.com/ui/1.9.2/jquery-ui.js
// ==/UserScript==

window.onload = function () {
	$('#quickpost').css('visibility', 'hidden');
  
  $('#quickpost').css('display', 'block');
  $('#quickpost').css('position', 'fixed');
  $('#quickpost').css('cursor', 'pointer');
  $('#quickpost').css('top', '20%');
  
  $('#quickpost').draggable();
  
  new MutationObserver(function() { $('#quickpost').width($('textarea[name*="req_message"]').width()+100); } ).observe($('textarea[name*="req_message"]')[0], {
   attributes: true, attributeFilter: [ "style" ]
  });
  
  $('textarea[name*="req_message"]').width('512px');
  $('#quickpost').width(512 + 100);
  
  $('.postlink.conr a').attr('href', '#');
  $('.postlink.conr a').click(function() {
  	$('#quickpost').css('visibility', 'visible');
  });
  
  $('#quickpost h2').append('<span id="closequickpost" style="float: right;"><b>X</b></span>');
  $('#closequickpost').click(function() {
  	$('#quickpost').css('visibility', 'hidden');
  });
  
  $('.postquickquote a').click(function() {
  	$('#quickpost').css('visibility', 'visible');
  });
};

signature.png
*u stinky*

Offline

#2 2018-02-28 02:49:04

Zumza
Member
From: root
Joined: 2015-02-17
Posts: 4,656

Re: [Release] EEForums Reply Hover Userscript

This feature should be added to the forums directly.


Everybody edits, but some edit more than others

Offline

#3 2018-02-28 03:23:13

TaskManager
Formerly maxi123
From: i really should update this
Joined: 2015-03-01
Posts: 9,465

Re: [Release] EEForums Reply Hover Userscript

I'm glad you included my silly and completely useless post in the screenshot but CARBON THEME OH MY GOD WHY


i8SwC8p.png
signature by HG, profile picture by bluecloud, thank!!
previous signature by drstereos

Offline

#4 2018-02-28 03:44:49

Bimps
Member
Joined: 2015-02-08
Posts: 5,067

Re: [Release] EEForums Reply Hover Userscript

this would improve mafia

Offline

Bimps1519785889697213

Board footer

Powered by FluxBB

[ Started around 1732675287.4959 - Generated in 0.034 seconds, 12 queries executed - Memory usage: 1.41 MiB (Peak: 1.52 MiB) ]