userscripts | An open-source userscript manager for Safari | Browser Plugin library
kandi X-RAY | userscripts Summary
kandi X-RAY | userscripts Summary
An open-source userscript manager for Safari
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of userscripts
userscripts Key Features
userscripts Examples and Code Snippets
Community Discussions
Trending Discussions on userscripts
QUESTION
When I try to clone my GitLab repo from within Eclipse (2019-09, Kubuntu 21.04) via https://gitlab.com/gerib/userscripts.git
I get:
The only "abnormal" characters I see in the mentioned script are JS string delimiter backticks.
git clone https://gitlab.com/gerib/userscripts.git
in Konsole works.
ANSWER
Answered 2021-Oct-28 at 17:42I found what's the problem after importing the project into Eclipse and recognizing that the files in the /stackexchange
folder are not shown in the Project Explorer view. In the Git Repositories view → Working Tree they are shown as:
This is bad since I just used the Unicode Dash "–" (U+2013 , Win: Alt+0150, X11: AltGr+-, HTML: –
).
Dolphin shows the filenames properly.
An ls
in Konsole shows them as:
QUESTION
FF 84.0.2, GM 4.10.0
The code can be seen at GitLab. The relevant part is:
...ANSWER
Answered 2021-Jan-17 at 18:43Got a solution from an answer to DOM parsing in JavaScript:
QUESTION
unsafeWindow
API was made so that userscripts could interact with the variables and functions of the pages the script executed on. However it is strongly discouraged as websites could then hijack userscripts through unsafeWindow
and make them execute malicious code. However, why was unsafeWindow
even necessary and why is it still used? Previously until Firefox 39, users were able to use the location hack as an alternative to unsafeWindow
. This hack eventually stopped working due to an update in Firefox 39 which patched this. Despite this, users could still use GM APIs in the isolated sandbox and insert code through a script tag like this:
ANSWER
Answered 2021-Jan-03 at 16:32Let's call the creation of a
QUESTION
I have the following qml code
...ANSWER
Answered 2020-Nov-03 at 14:31Problem is solved:
QUESTION
So I'm making a scraper with bs4 that scrapes this userscripts website. But I'm running in to a issue where I cant remove whitespaces. Everything I've done doesn't work. Can someone help me?
...ANSWER
Answered 2020-May-10 at 21:28To get the title without Announcements
try below css selector.
QUESTION
I'm a newbie in JS but am trying to learn by doing.
I use notion and am very annoyed by the sidebar that pops up whenever the mouse hovers over the left side of the app.
I read somewhere that I can use the Fluid app to push userscripts and that it might be possible to disable that functionality with custom styling.
But I can't seem to figure out how to get either the JS or CSS to disable mouseover events.
I think I found where the event is being listened for, but I'm not sure about next steps for how to remove that listener funtion, or to stop the function call.
This is where I think the event is being triggered, can anyone advise?
...ANSWER
Answered 2020-May-06 at 11:25You can add a mousemove capturing listener to a container of the element with the listener. On mousemove, if the target (element to which the event is being dispatched) is a descendant of the element with the page listener you want not to fire, call stopPropagation
on the event.
For example, in the below code, the page script tries to color an element when it or one of its descendants is hovered, but the second part (which can go into a userscript) will prevent that:
QUESTION
I have two arrays emails
and passwords
(though you may see more) that I want to use to authenticate users during sign in. It's a practice issue not something to implement in the industry. See below:
The other arrays checkEmails
and checkPasswords
are not useful here but they act as a storage for even failed sign in's.
Onto the code I have a condition that authenticates using only a predetermined email and password. See below:
ANSWER
Answered 2020-Mar-05 at 09:49You can check if your value (username and/or password) is included in an array by using Array#includes.
Example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install userscripts
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page