facebook comments box autoresizing not working (Linux+Windows) Topic is solved

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
treebaard

facebook comments box autoresizing not working (Linux+Windows)

Unread post by treebaard » 2017-03-09, 11:47

Tested on Linux, windows clients, both fresh installs, no add-ons installed/enabled, IIRC this used to work until relatively recently. Works fine on Firefox.

When I'm typing comments on facebook, I'm used to seeing the comment-box growing with the number of lines. As of a few weeks (I recall being puzzled that it no longer behaved this way), this no longer works, and what I get instead is a vertical scroll-bar inside the comment box.

Rickkins
Lunatic
Lunatic
Posts: 339
Joined: 2014-05-14, 19:04

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Rickkins » 2017-03-09, 12:25

Same here, latest PM x64 on Win10 x64

User avatar
Moonraker
Board Warrior
Board Warrior
Posts: 1878
Joined: 2015-09-30, 23:02
Location: uk.

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Moonraker » 2017-03-09, 19:52

This may have something to do with gtk themes.Have you tried changing themes and icons etc to see if it rectifies this.?
user of multiple puppy linuxes..upup,fossapup.scpup,xenialpup..... :thumbup:

Pale moon 29.4.1

GMforker

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by GMforker » 2017-03-09, 20:43

I confirmed, but:

In the Pale Moon:

Code: Select all

<div>
<textarea>
Text...
</textarea>
</div>
In the Firefox:

Code: Select all

<div><input><div><div><div><div><div><div><div><div>
<span><span>
Text...
</span></span>
</div></div></div></div></div></div></div></div></div>
It fixes the following conditions (e.g.) for about:config:

general.useragent.override.facebook.com

From:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:3.0) Goanna/20160101 PaleMoon/27.2.0a1

To:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by badnick » 2017-03-27, 11:18

I'm just a regular user without programming skills. What should I do? To copy/paste this code? Where and how?
Why not fix this with an Palemoon update?
In my about:config, at "general.useragent.override.facebook.com" write "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:3.2) Goanna/20170101 PaleMoon/27.2.1"
Windows 10 pro /64 (version 1809)
PM last/64

User avatar
back2themoon
Moon Magic practitioner
Moon Magic practitioner
Posts: 2369
Joined: 2012-08-19, 20:32

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by back2themoon » 2017-03-27, 11:51

Double-click on that facebook.com entry in about:config, and replace (paste) the current entry/string that appears after the double-click, with the new one. You have to do the same for fbcdn.net.

Refresh and that's it. These things are usually fixed in Pale Moon updates, but Facebook is a moving target and keeps changing stuff. Make sure to contact and complain to them, asking for full Pale Moon support.

User avatar
badnick
Astronaut
Astronaut
Posts: 670
Joined: 2017-03-23, 19:56

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by badnick » 2017-03-27, 12:14

back2themoon wrote:Double-click on that facebook.com entry in about:config, and replace (paste) the current entry/string that appears after the double-click, with the new one. You have to do the same for fbcdn.net.

Refresh and that's it. These things are usually fixed in Pale Moon updates, but Facebook is a moving target and keeps changing stuff. Make sure to contact and complain to them, asking for full Pale Moon support.
Thank you!
Works well now!
I use Facebook but I hate Facebook! :evil:
Windows 10 pro /64 (version 1809)
PM last/64

Rickkins
Lunatic
Lunatic
Posts: 339
Joined: 2014-05-14, 19:04

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Rickkins » 2017-03-27, 14:16

GMforker wrote:I confirmed, but:

In the Pale Moon:

Code: Select all

<div>
<textarea>
Text...
</textarea>
</div>
In the Firefox:

Code: Select all

<div><input><div><div><div><div><div><div><div><div>
<span><span>
Text...
</span></span>
</div></div></div></div></div></div></div></div></div>
It fixes the following conditions (e.g.) for about:config:

general.useragent.override.facebook.com

From:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:3.0) Goanna/20160101 PaleMoon/27.2.0a1

To:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)
Hey, managed to successfully get this to work.( after I stopped changing the useragent thing to

Code: Select all

div>
<textarea>
Text...
</textarea>
</div>
What, I didn't know.... :crazy:


Thanks :thumbup:

Rickkins
Lunatic
Lunatic
Posts: 339
Joined: 2014-05-14, 19:04

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Rickkins » 2017-09-06, 14:54

So, I had to do a reformat last night, and my backup, well I backed up the wrong thing, so I hade to rely on a backup from March.

Anyhoo, as you can imagine, this fix ain't getting it done anymore. I don't know why.

Note that I'm using win 10 x64.

Thoughts..??

Thanks.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35474
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Moonchild » 2017-09-06, 15:51

Facebook is an endless debacle. We send our native UA because I got sick and tired of trying to find a solution with no response or help from facebook apart from "Use a mainstream browser". I'm not spending any more time on it, since it works "well enough" with our native UA.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Rickkins
Lunatic
Lunatic
Posts: 339
Joined: 2014-05-14, 19:04

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Rickkins » 2017-09-06, 16:00

Worked fine yesterday, until I reformatted and had to rely on an older profile.

I don't think this was/is a facebook problem so much as I can't figure out what I did last time to implement the fix....

Rickkins
Lunatic
Lunatic
Posts: 339
Joined: 2014-05-14, 19:04

Re: facebook comments box autoresizing not working (Linux+Windows)

Unread post by Rickkins » 2017-09-06, 16:10

Nevermind, I got it. I was pasting the wrong thing onto the two places.



So I'll remember it next time:

Copy and paste the string below:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.9) Gecko/20100101 Firefox/45.9 (Pale Moon)



Into the following two values(double click on each)
general.useragent.override.facebook.com
general.useragent.override.fbcdn.net

Locked