Greasemonkey for Palemoon Crashing

General discussion, compatibility and contributed extensions.

Moderators: satrow, Lootyhoof, FranklinDM

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-03, 13:37

Pm v28.6.1 X64. Win7 x64.

Each time i "Edit", i get this:

XML Parsing Error: undefined entity
Location: chrome://devtools/content/scratchpad/scratchpad.xul
Line Number 139, Column 3: <key id="key_gotoLine"
--^
Pale Moon x64 (always using the latest version) / win7 x64.

User avatar
RoestVrijStaal
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-06-19, 19:18
Location: Dependency Hell

Re: Greasemonkey for Palemoon Crashing

Unread post by RoestVrijStaal » 2019-08-03, 13:56

I tried to reproduce it with GreaseMonkey 3.31.4 with the same OS.

I could succesfully open GitHub Dark 2.5.4 with GreaseMonkey's editor. Idem for my own written script targetting github.com.

So, Question Time~!
  • Which version of GreaseMonkey do you use?
  • Which userscript do you want to edit?
  • Which domain targets that userscript?
  • Are you able to reproduce it in a brandnew profile? To get a brandnew'n'clean profile, Close Pale Moon, Fire up the command line, put

    Code: Select all

    "%programfiles%\Pale Moon\palemoon.exe" -profilemanager
    (including the "-'s) and run it. A window will pop up to choose a profile or create a new one. To make your former profile as default again, run the command again with Pale Moon closed.

User avatar
Isengrim
Keeps coming back
Keeps coming back
Posts: 966
Joined: 2015-09-08, 22:54
Location: 127.0.0.1
Contact:

Re: Greasemonkey for Palemoon Crashing

Unread post by Isengrim » 2019-08-03, 16:45

Unfortunately, the maintainer of the GreaseMonkey fork for Pale Moon disappeared almost a year ago. The code repository is here if anyone wants to look into maintaining and/or troubleshooting it.
Linux Mint 19.2 Cinnamon (64-bit), Windows 7 (64-bit), Windows 10 build 1803 (64-bit)
"As long as there is someone who will appreciate the work involved in the creation, the effort is time well spent." ~ Tetsuzou Kamadani, Cave Story

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-03, 17:35

Hi

It sounds a bit invasive RoestVrijStaal & i'm not ready to remove other useful addons, but maybe i have a conflict, i don't know.
I use the latest greasemonkey for palemoon.
Which userscript do i want to edit? any & none open.
Which domain targets that userscript? I don't think that's related, as it affects all my scripts including & excluding domains.
I don't have the force to create a new profile & manage to delete it & make sure no orfan references of it stay anywhere or that palemoon
got used to it & starts creating new profiles everytime like firefox in its latest version.
tampermonkey in legacy version could be an option, but i don't know where to find those versions, prior v4x.. & for firefox..
There aren't so many script managers.. & scriptish doesn't even show any interface for the scripts.
Pale Moon x64 (always using the latest version) / win7 x64.

doofy
Astronaut
Astronaut
Posts: 500
Joined: 2017-08-14, 23:43

Re: Greasemonkey for Palemoon Crashing

Unread post by doofy » 2019-08-03, 17:40

Do you get the same behaviour using a different editor?
I think the default editor is awful and use Notepad++

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-03, 22:21

No, but i wish that bug didn't exist, & when i select "default" in options, the so called
scratchpad on the left doesn't move.
Pale Moon x64 (always using the latest version) / win7 x64.

Goodydino
Astronaut
Astronaut
Posts: 507
Joined: 2017-10-10, 21:20

Re: Greasemonkey for Palemoon Crashing

Unread post by Goodydino » 2019-08-04, 04:06

I gave up on Greasemonkey and got Guerilla Scripting. It works fine, though you have to install the scripts manually into the profile.

User avatar
F22 Simpilot
Lunatic
Lunatic
Posts: 319
Joined: 2019-01-06, 07:59
Location: From RLG fly heading 053 intercept 315 DVV look for the SAM

Re: Greasemonkey for Palemoon Crashing

Unread post by F22 Simpilot » 2019-08-04, 04:53

Goodydino wrote:
2019-08-04, 04:06
I gave up on Greasemonkey and got Guerilla Scripting. It works fine, though you have to install the scripts manually into the profile.
Link? Is this a PM fork?
If you're that smart and act like a dork, then you're not that smart after all. :geek:

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-04, 05:13

"GS has absolutely no GUI controls." I wonder who wants it as a greasemonkey replacement,
i'd rather use my editor with greasemonkey for now ((

https://addons.palemoon.org/addon/guerilla-scripting/
Pale Moon x64 (always using the latest version) / win7 x64.

User avatar
RoestVrijStaal
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2019-06-19, 19:18
Location: Dependency Hell

Re: Greasemonkey for Palemoon Crashing

Unread post by RoestVrijStaal » 2019-08-16, 13:33

Aviation wrote:
2019-08-03, 17:35
It sounds a bit invasive RoestVrijStaal **snip**
The only thing I'm asking for is if this problem also occurs in on a "fresh install"-situation and information to reproduce your situation and try to figure out what's going on. Especially since GreaseMonkey works nice at my end.

Aviation wrote:
2019-08-03, 17:35
i'm not ready to remove other useful addons, but maybe i have a conflict, i don't know.
You only need to disable them, not remove them.

Aviation wrote:
2019-08-03, 17:35
I use the latest greasemonkey for palemoon.
So everyone here has to assume you're running version 3.31.4 on Pale Moon 28.6.1?

Aviation wrote:
2019-08-03, 17:35
Which userscript do i want to edit? any & none open.
Which domain targets that userscript? I don't think that's related, as it affects all my scripts including & excluding domains.
It would be helpful if you tell, it could be some of the userscripts installed by you is the cause of the crash. Or the website targeted by one of your userscripts does something that initiates the crash.

Aviation wrote:
2019-08-03, 17:35
I don't have the force to create a new profile & manage to delete it & make sure no orfan references of it stay anywhere or that palemoon
got used to it & starts creating new profiles everytime like firefox in its latest version.
I'm not asking you to start from scratch and abandon your current profile, as the "helpdesk" of Mozilla use as default answer to problems. I was asking you to create a temporary profile and try to reproduce the problem. Because trying it in Safe Mode won't work. As alternative approach you could also temporary use Pale Moon Portable to reproduce the problem there.

Aviation wrote:
2019-08-03, 17:35
tampermonkey in legacy version could be an option, but i don't know where to find those versions, prior v4x.. & for firefox..
TamperMonkey is a Chrome extension (likely a WebExtension), and won't work on Pale Moon.

Aviation wrote:
2019-08-03, 17:35
There aren't so many script managers.. & scriptish doesn't even show any interface for the scripts.
Don't use Stylish. It turned into a WebExtension.
The codebase of the compatible versions for Pale Moon is dormant for at least 3 years.
Use StyleEm instead :)

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-16, 18:18

"So everyone here has to assume you're running version 3.31.4 on Pale Moon 28.6.1? "
That's it.

"You only need to disable them, not remove them."
No, you mentioned a "fresh install", for me, a fresh install isn't disabling addons, but removing all the content of the profile too & reinstalling pm.
it's much more work.. & if your version works, then there's no reason it couldn't work in my computer on a fresh install (that i don't want),
since i need to keep all my addons. So it answers your question. There must be a conflict that i don't want to remove. or a bug in my profile file.
I had also disabled all addons to test it & the issue persisted.

"The only thing I'm asking for is if this problem also occurs in on a "fresh install"-situation and information to reproduce your situation and try to figure out what's going on. Especially since GreaseMonkey works nice at my end."
Again, i don't want a greasemonkey that can be accessed with a fresh install, as i will not live with a fresh install. the issue has to be sought elsewhere.
as i cannot get rid of my addons.

"It would be helpful if you tell, it could be some of the userscripts installed by you is the cause of the crash. Or the website targeted by one of your userscripts does something that initiates the crash."
I tried that method, none would allow me an edition one by one..

"I'm not asking you to start from scratch and abandon your current profile, as the "helpdesk" of Mozilla use as default answer to problems. I was asking you to create a temporary profile and try to reproduce the problem. Because trying it in Safe Mode won't work. As alternative approach you could also temporary use Pale Moon Portable to reproduce the problem there."
It would not help anybody... As you confirmed it works. maybe i can send you my profile.js to see if there's an issue in it, cause to keep
previous configurations, i had to install palemoon over the latest firefox profile. (can't undo this: too many folders & refs in profile file).
Pale Moon x64 (always using the latest version) / win7 x64.

coffeebreak
Board Warrior
Board Warrior
Posts: 1810
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Greasemonkey for Palemoon Crashing

Unread post by coffeebreak » 2019-08-16, 20:24

Greasemonkey for Pale Moon 3.31.4 works fine here as well. (Pale Moon 28.6.1, Windows 7 x86)

@Avation, the problem is due to something in your own configuration. (And installing Pale Moon over a previous Firefox profile was asking for problems, because Firefox has changed a number of storage formats in ways that aren't compatible with Pale Moon.)

The only way to confirm this for yourself is to set up a temporary testing profile which would co-exist with your regular one. Once confirmed, you can choose to troubleshoot by adding your extensions back in one by one, and changing settings a few at a time, to determine what caused the problem.

If you do choose to try, this is how to make a new profile using the Profile Manager:
  • Open the Run command (Windows key+R)
    and enter: palemoon -p -no-remote to bring up the Profile Manager;
    (the -no-remote switch allows to have both profiles open at the same time if you wish);
  • Follow the prompts to create the new profile;
    give it a distinctive name that you'll remember (your current profile will already appear there with the name "default" - just leave it be);
  • Leave "Don't ask at startup" unchecked in order to bring up the Profile Manager every time you start Pale Moon so you can choose between profiles at startup;
  • When you're done testing and troubleshooting, use the Profile Manager to delete the test profile.
prof-manager.png

One additional thought:
Thinking back to your post here which mentions the use of /* AGENT_SHEET */... Apparently that feature can cause problems - I don't know if yours is one of them, but you might try disabling or removing the style involved to see if it makes a difference.

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-17, 03:07

Thanks but i won't do it, i knew i could do that, but its too long & fastidious, & i haven't saved my about:config personal settings either, invasive solutions are nothing i don't know of. Also, i'm using moon tester tool for "Statusbar Organizer 2.0" & "UnPlug 2.059",
as i don't have an alternative for pale moon for those files, & they work with the tester tool. i attached my profile minus autofill data,
if anyone even moonchild wants to have a look and recognize potentially useless lines..
Attachments
prefs.js
(79.13 KiB) Downloaded 4 times

User avatar
gepus
Lunatic
Lunatic
Posts: 327
Joined: 2017-12-14, 12:59

Re: Greasemonkey for Palemoon Crashing

Unread post by gepus » 2019-08-17, 08:24

Aviation wrote:
2019-08-16, 18:18
... i had to install palemoon over the latest firefox profile. (can't undo this: too many folders & refs in profile file).
Laziness is not an argument and installing Pale Moon over the latest Firefox profile is asking for trouble.
In this case asking for any help on these forums means to shit everybody who might have the good will trying to help you.
Wasted time for forum users even for reading your posts.

coffeebreak
Board Warrior
Board Warrior
Posts: 1810
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Greasemonkey for Palemoon Crashing

Unread post by coffeebreak » 2019-08-17, 09:07

Off-topic:
RoestVrijStaal wrote:
2019-08-03, 13:56
To get a brandnew'n'clean profile, Close Pale Moon, Fire up the command line [...]
RoestVrijStaal, Apologies, I managed to miss this part of your post and posted similar, pointlessly.


Aviation wrote:
2019-08-16, 18:18
to keep previous configurations, i had to install palemoon over the latest firefox profile. (can't undo this: too many folders & refs in profile file).
Aviation wrote:
2019-08-16, 18:18
i need to keep all my addons
Aviation wrote:
2019-08-17, 03:07
Thanks but i won't do it, i knew i could do that, but its too long & fastidious, [...]
i attached my profile minus autofill data, if anyone even moonchild wants to have a look and recognize potentially useless lines..
The prefs.js removed from context, IMO, isn't very helpful. Your profile isn't only that file - it's everything inside the profile folder/directory interacting together. Speaking just for myself, I won't be reading it.

1. Troubleshooting this problem isn't someone else's job, it's yours.
And you will never know what causes this issue or be able to fix it without going through that process.

2. Fixing your problem will mean changing and/or removing something in your current configuration. You may not like it but it can't be gotten around.

3. And as said earlier by myself for the reason given, and later gepus, it was a mistake to install Pale Moon over your Firefox profile and will lead to further problems, even if they don't manifest immediately. For this reason I strongly encourage you to cut your losses and start fresh.

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-17, 09:32

I got it, noone can help, i'll give up.
Pale Moon x64 (always using the latest version) / win7 x64.

vannilla
Astronaut
Astronaut
Posts: 618
Joined: 2018-05-05, 13:29

Re: Greasemonkey for Palemoon Crashing

Unread post by vannilla » 2019-08-17, 11:59

Aviation wrote:
2019-08-17, 09:32
I got it, noone can help, i'll give up.
Pretty sure everyone here would be able to help, but you have to understand those people also need your cooperation.
You haven't been cooperating much, saying you don't want to get rid of your add-on despite there being ways to keep your current profile intact.
And no, just because someone says "it works on my machine"™ does not mean it will work on your machine.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 24449
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Greasemonkey for Palemoon Crashing

Unread post by Moonchild » 2019-08-17, 14:56

De facto copying a Firefox profile to Pale Moon is not supported, as already said "asking for trouble" and extremely likely to not work properly, period.
If you do this anyway, you are on your own.
"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
Image

User avatar
Aviation
Moonbather
Moonbather
Posts: 50
Joined: 2019-07-26, 07:58

Re: Greasemonkey for Palemoon Crashing

Unread post by Aviation » 2019-08-17, 15:39

But i'm afraid of something Moonchild. I had tried palemoon before & thought firefox would bring me more stability in videos.
so i installed firefox over, and then i installed palemoon seeing the colossal amount of missing functions & downgrades firefox
kept offering in their so called "updates", like one that's been reintegrated to pale moon & i had to cut with a hotfix from a jap
coder, when clicking on a portion of pastly browsed urls in history sidebar & losing focus of where you clicked because firefox
would jump straight back to the top of the history bar.. What i'm more afraid of is what i have in my palemoon setup that i've
built over Decades.... . & i don't want to loose in case this could be the cause of the issue, cause i cannot abandon it snapping
my fingers, too many past issues would arise. It's my about:config setup, my fear is to have brought firefox ones into pale moon:

accessibility.typeaheadfind.flashBar 0
browser.cache.disk.amount_written 769874
browser.cache.disk.capacity 358400
browser.cache.disk.filesystem_reported 1
browser.cache.disk.hashstats_reported 1
browser.cache.disk.smart_size.first_run false
browser.cache.disk.smart_size.use_old_max false
browser.cache.disk.telemetry_report_ID 2
browser.cache.frecency_experiment 1
browser.cache.use_new_backend 1
browser.display.show_image_placeholders false
browser.download.folderList 0
browser.download.importedFromSqlite true
browser.link.open_newwindow 1
browser.link.open_newwindow.override.external 2
browser.places.smartBookmarksVersion -1
browser.search.update false
browser.search.useDBForOrder true
browser.sessionstore.interval 2250000
browser.sessionstore.max_tabs_undo 70
browser.sessionstore.max_windows_undo 30
browser.sessionstore.restore_on_demand false
browser.sessionstore.resuming_after_os_restart true
browser.sessionstore.upgradeBackup.latestBuildID 20190705220548
browser.startup.homepage about:blank
browser.startup.homepage_override.buildID 20190723150040
browser.startup.homepage_override.mstone 4.3.0
browser.tabs.animate false
browser.tabs.autoHide true
browser.tabs.crashReporting.sendReport false
browser.tabs.insertRelatedAfterCurrent false
browser.tabs.loadDivertedInBackground true
browser.tabs.loadInBackground false
browser.tabs.opentabfor.middleclick false
browser.tabs.remote.autostart.2 true
browser.tabs.remote.disabled-for-a11y true
browser.tabs.selectOwnerOnClose false
browser.tabs.showAudioPlayingIcon false
browser.tabs.warnOnClose false
browser.tabs.warnOnCloseOtherTabs false
browser.tabs.warnOnOpen false
browser.urlbar.lastSuggestionsPromptDate 20170819
browser.urlbar.matchBuckets general:5,suggestion:Infinity
browser.urlbar.placeholderName Google
browser.urlbar.rss false
browser.urlbar.searchSuggestionsChoice false
browser.urlbar.timesBeforeHidingSuggestionsHint 0
browser.urlbar.userMadeSearchSuggestionsChoice true
dom.apps.lastUpdate.buildID 20161019084923
dom.apps.lastUpdate.mstone 49.0.2
dom.apps.reset-permissions true
dom.disable_beforeunload true
dom.disable_window_move_resize true
dom.disable_window_open_feature.close true
dom.disable_window_open_feature.menubar true
dom.disable_window_open_feature.minimizable true
dom.disable_window_open_feature.personalbar true
dom.disable_window_open_feature.titlebar true
dom.disable_window_open_feature.toolbar true
dom.gamepad.haptic_feedback.enabled false
dom.ipc.plugins.flash.subprocess.crashreporter.enabled false
dom.ipc.plugins.reportCrashURL false
dom.ipc.processCount.web 4
dom.max_chrome_script_run_time 0
dom.max_script_run_time 0
dom.mozApps.used true
dom.push.userAgentID 5150ccfa63f64247a513d9eebd5603af
dom.webnotifications.enabled false
extensions.lastAppVersion 28.6.1
general.autoScroll false
gfx.crash-guard.d3d11layers.appVersion 28.6.1
gfx.crash-guard.d3d11layers.deviceID 0x2a42
gfx.crash-guard.d3d11layers.driverVersion 8.15.10.2555
gfx.crash-guard.d3d11layers.feature-d2d false
gfx.crash-guard.d3d11layers.feature-d3d11 true
gfx.crash-guard.status.d3d11layers 2
layers.acceleration.disabled true
media.hardware-video-decoding.failed false
network.cookie.prefsMigrated true
network.http.pipelining.aggressive true
network.http.pipelining.read-timeout 60000
network.http.response.timeout 3000
places.database.lastMaintenance 1565452743
places.history.expiration.transient_current_max_pages 126335
privacy.cpd.extensions-sessionmanager false
privacy.cpd.formdata false
privacy.cpd.offlineApps true
privacy.cpd.siteSettings true
privacy.popups.showBrowserMessage false
privacy.sanitize.migrateFx3Prefs true
privacy.sanitize.timeSpan 0
security.default_personal_cert Select Automatically
security.dialog_enable_delay 200
security.enterprise_roots.enabled true
security.OCSP.enabled 0
services.sync.declinedEngines
services.sync.engine.bookmarks false
services.sync.engine.greasemonkey false
services.sync.engine.history false
services.sync.engine.passwords false
services.sync.engine.prefs false
services.sync.engine.tabs false
storage.vacuum.last.index 1
storage.vacuum.last.places.sqlite 1564216333
storage.vacuum.last.queue.sqlite 1565452742

& apart from that, i'd have to save data from folders like greasemonkey data & menu wizard data & make screenshots of almost all
addons options, but my greatest fear is in the list above.. & i was more of expecting a help aimed to the greasemonkey issue more than doing all this, because i can't see any other problem physically..
Pale Moon x64 (always using the latest version) / win7 x64.


Post Reply