Page 1 of 1

[Fixed] Problems replying on this forum

Posted: Wed Jul 29, 2020 7:07 pm
by barbaz
Ever since upgrading to Firefox 79 NoScript 11.0.35rc2, I've noticed that the buttons above the reply box in this forum sometimes don't work, e.g. the </> button for code tags. It seems random when it does or doesn't occur. But I could reproduce it repeatedly when trying to add code tags to viewtopic.php?p=102567#p102567 . I ended up having to do that one manually.

Possibly related Web Console messages -

Code: Select all

Uncaught ReferenceError: form_name is not defined
    <anonymous> https://forums.informaction.com/assets/javascript/editor.js?assets_version=4:401
    jQuery 4
editor.js:401:7

Uncaught ReferenceError: form_name is not defined
    initInsertions https://forums.informaction.com/assets/javascript/editor.js?assets_version=4:34
    onfocus https://forums.informaction.com/posting.php?mode=edit&f=7&p=102567:1
editor.js:34:6

Uncaught ReferenceError: bbtags is not defined
    bbstyle https://forums.informaction.com/assets/javascript/editor.js?assets_version=4:57
    onclick https://forums.informaction.com/posting.php?mode=edit&f=7&p=102567:1
editor.js:57:3

​
Board issue or something on my end?

Re: Problems replying on this forum

Posted: Wed Jul 29, 2020 7:51 pm
by barbaz
Actually, maybe this is NoScript related? I tried downgrading to 11.0.34 and did not reproduce the problem editing that post. But I can reproduce it consistently with 11.0.35rc2.

Moving to NoScript Support based on this finding.

Re: Problems replying on this forum

Posted: Thu Jul 30, 2020 12:58 am
by therube

Code: Select all

testing123
what do you think
codes are looking good to me
in Nightly
  • Mozilla sucks
  • yes it's true
[*]no denying it
hope i'm doing this correctly
freakin 100 clicks to find out,

Code: Select all

oh yeah
, mouseover, that was a good suggestion
so yes 11.0.35rc2
let me see if i can find some code...
https://www.mozilla.org/en-US/about/manifesto/
The Mozilla Manifesto
is not worth the paper it was written on
:mrgreen:
:geek: :ugeek: :lol:

Re: Problems replying on this forum

Posted: Thu Jul 30, 2020 1:02 am
by barbaz
therube wrote: Thu Jul 30, 2020 12:58 am codes are looking good to me
Try editing your post, selecting some text in the post, and using one of the buttons to apply a BBcode to it? Looks like this happens editing *any* post on this forum, not just the one I linked in OP.

Re: Problems replying on this forum

Posted: Thu Jul 30, 2020 1:10 am
by therube
Sorry, not seeing anything.
1 time, but I might have mis-clicked (I guess I should say, I gender-neutral-clicked).
Otherwise, all edits & whatnot have been fine.
ignore that strike, it was just a test - successful.

Not seeing anything in Console.

NoScript & uBlock Origin & (not sure if Mozilla threw anything in on me or not?)
Screenshot, whatever that is.
I never put it there.
Win7.

Re: Problems replying on this forum

Posted: Thu Jul 30, 2020 1:02 pm
by barbaz
For some reason I wonder if viewtopic.php?f=7&t=26048 might be a related to this issue? Image

I'd like to test whether my issue might be a conflict between NoScript 11.0.35rc2 and Form History Control, but I no longer have a consistent way to reproduce the problem? Image

Re: Problems replying on this forum

Posted: Thu Jul 30, 2020 6:19 pm
by barbaz
I would suspect that when it doesn't work, this inline script is being either blocked or somehow hosed -

Code: Select all

<script>
	var form_name = 'postform';
	var text_name = 'message';
	var load_draft = false;
	var upload = false;

	// Define the bbCode tags
	var bbcode = new Array();
	var bbtags = new Array(/* Snipped - filter won't let me post this */);
	var imageTag = false;

	// Helpline messages
	var help_line = {
		b: 'Bold\u0020text\u003A\u0020\u005Bb\u005Dtext\u005B\/b\u005D',
		i: 'Italic\u0020text\u003A\u0020\u005Bi\u005Dtext\u005B\/i\u005D',
		u: 'Underline\u0020text\u003A\u0020\u005Bu\u005Dtext\u005B\/u\u005D',
		q: 'Quote\u0020text\u003A\u0020\u005Bquote\u005Dtext\u005B\/quote\u005D',
		c: 'Code\u0020display\u003A\u0020\u005Bcode\u005Dcode\u005B\/code\u005D',
		l: 'List\u003A\u0020\u005Blist\u005D\u005B\u002A\u005Dtext\u005B\/list\u005D',
		o: 'Ordered\u0020list\u003A\u0020e.g.\u0020\u005Blist\u003D1\u005D\u005B\u002A\u005DFirst\u0020point\u005B\/list\u005D\u0020or\u0020\u005Blist\u003Da\u005D\u005B\u002A\u005DPoint\u0020a\u005B\/list\u005D',
		p: 'Insert\u0020image\u003A\u0020\u005Bimg\u005Dhttp\u003A\/\/image_url\u005B\/img\u005D',
		w: 'Insert\u0020URL\u003A\u0020\u005Burl\u005Dhttp\u003A\/\/url\u005B\/url\u005D\u0020or\u0020\u005Burl\u003Dhttp\u003A\/\/url\u005DURL\u0020text\u005B\/url\u005D',
		a: 'Inline\u0020uploaded\u0020attachment\u003A\u0020\u005Battachment\u003D\u005Dfilename.ext\u005B\/attachment\u005D',
		s: 'Font\u0020colour\u003A\u0020\u005Bcolor\u003Dred\u005Dtext\u005B\/color\u005D\u0020or\u0020\u005Bcolor\u003D\u0023FF0000\u005Dtext\u005B\/color\u005D',
		f: 'Font\u0020size\u003A\u0020\u005Bsize\u003D85\u005Dsmall\u0020text\u005B\/size\u005D',
		y: 'List\u003A\u0020Add\u0020list\u0020element',
		d: 'Flash\u003A\u0020\u005Bflash\u003Dwidth,height\u005Dhttp\u003A\/\/url\u005B\/flash\u005D'
					,cb_22: '[faq=flashgot|noscript]x.y[/faq]'
					,cb_24: 'Strike through'
			}

	function change_palette()
	{
		phpbb.toggleDisplay('colour_palette');
		e = document.getElementById('colour_palette');

		if (e.style.display == 'block')
		{
			document.getElementById('bbpalette').value = 'Hide\u0020font\u0020colour';
		}
		else
		{
			document.getElementById('bbpalette').value = 'Font\u0020colour';
		}
	}
</script>
Is it significant that it's an inline script being affected?

Re: Problems replying on this forum

Posted: Sun Aug 02, 2020 8:36 pm
by barbaz
Giorgio Maone wrote: v 11.0.35rc3
============================================================
x Work-around for conflict with extensions inserting
elements into content pages' DOM early
Ah, so maybe this was a conflict with Stylus? Updated to 11.0.35rc3 and so far so good.

EDIT Scratch that last part. With 11.0.35rc3 I'm getting 'A script in the extension "NoScript" is causing Nightly to slow down.' Clicking "Stop it" produces this problem again.

Re: Problems replying on this forum

Posted: Mon Aug 03, 2020 12:23 pm
by Toonser
barbaz wrote: Sun Aug 02, 2020 8:36 pm
Giorgio Maone wrote: v 11.0.35rc3
============================================================
x Work-around for conflict with extensions inserting
elements into content pages' DOM early
Ah, so maybe this was a conflict with Stylus? Updated to 11.0.35rc3 and so far so good.

EDIT Scratch that last part. With 11.0.35rc3 I'm getting 'A script in the extension "NoScript" is causing Nightly to slow down.' Clicking "Stop it" produces this problem again.
I started getting the same slow down message with Firefox 79.0 after installing 11.0.35rc3. It made Firefox unusable.

The message stopped when I reverted to 11.0.34 and returned when I reloaded 11.0.35rc3, so I've gone back to 11.0.34.

Re: Problems replying on this forum

Posted: Mon Aug 03, 2020 7:01 pm
by barbaz
So far seems fixed in 11.0.35rc4. @Toonser fixed for you too?

Re: Problems replying on this forum

Posted: Tue Aug 04, 2020 6:07 am
by Toonser
barbaz wrote: Mon Aug 03, 2020 7:01 pm So far seems fixed in 11.0.35rc4. @Toonser fixed for you too?
Yes, all fine now.

Re: Problems replying on this forum

Posted: Tue Aug 04, 2020 6:11 am
by Toonser
Guest wrote: Tue Aug 04, 2020 6:07 am
barbaz wrote: Mon Aug 03, 2020 7:01 pm So far seems fixed in 11.0.35rc4. @Toonser fixed for you too?
Yes, all fine now.
Just confirming that was me replying. Hadn't spotted I'd been logged out.

Re: Problems replying on this forum

Posted: Tue Aug 04, 2020 2:00 pm
by barbaz
Toonser wrote: Tue Aug 04, 2020 6:07 am
barbaz wrote: Mon Aug 03, 2020 7:01 pm So far seems fixed in 11.0.35rc4. @Toonser fixed for you too?
Yes, all fine now.
Thanks for confirming.

Thanks Giorgio for fixing this! Image
Toonser wrote: Tue Aug 04, 2020 6:11 am Just confirming that was me replying. Hadn't spotted I'd been logged out.
Fixed :)