GM_script | I & # 39 ; m just here to share the script for fun | Browser Plugin library

 by   langren1353 JavaScript Version: Current License: MIT

kandi X-RAY | GM_script Summary

kandi X-RAY | GM_script Summary

GM_script is a JavaScript library typically used in Plugin, Browser Plugin applications. GM_script has no vulnerabilities, it has a Permissive License and it has medium support. However GM_script has 4 bugs. You can download it from GitHub.

I'm just here to share the script for fun
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              GM_script has a medium active ecosystem.
              It has 5417 star(s) with 225 fork(s). There are 34 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 355 open issues and 245 have been closed. On average issues are closed in 106 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of GM_script is current.

            kandi-Quality Quality

              GM_script has 4 bugs (0 blocker, 0 critical, 4 major, 0 minor) and 7 code smells.

            kandi-Security Security

              GM_script has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              GM_script code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              GM_script is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              GM_script releases are not available. You will need to build from source code and install.
              GM_script saves you 1150 person hours of effort in developing the same functionality from scratch.
              It has 2596 lines of code, 2 functions and 58 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of GM_script
            Get all kandi verified functions for this library.

            GM_script Key Features

            No Key Features are available at this moment for GM_script.

            GM_script Examples and Code Snippets

            No Code Snippets are available at this moment for GM_script.

            Community Discussions

            QUESTION

            Share greasemonkey script and database between Windows and Android Firefox
            Asked 2020-Mar-12 at 20:30

            I've been using a homemade greasemonkey scripts for ages on my laptop Firefox. It includes storing data with GM.setValue.

            Now I just bought an Android tablet, and would like to be able to use this script and update the values, whereas I'm using the laptop or the tablet.

            Hoped that Firefox Sync would handle that, but not even the scripts are synced.

            I thought of synchronizing the script dans db files (Google drive, dropbox, whatever), but I realized that since the v4, the db that used to be in gm_scripts is gone, and I have no idea where Greasemonkey stores either the scripts or their associated database now.

            I'm looking for anything that might make it work.

            1) Is there a way to handle that with Firefox Sync ?

            2) Would an alternative (Tampermonkey, Violentmonkey, ?) handle that better ?

            3) Where can I find the scripts/database in the new Greasemonkey system ?

            4) Could I synchronize them via Google drive ? (There seem to be some hacks to sync a file between machines)

            5) Would there be a simple, free alternative that would allow me to synchronize a very small file between machines ?

            =============================================== Update on this:

            I tried TamperMonkey instead, it has a sync feature but even if it seems ok on different laptops or my phone, the syncing is random at best on the tablet.

            Also realized that only scripts are synced, and not their data. The script almost never changes, but the data is updated several times a day, so not really a solution anyway.

            Data doesn't exist anymore in a readable file format, so no luck either on syncing the data file externally.

            TamperMonkey has also an import/export feature, this does take the data into account. So the best I can do for now is thinking about exporting then importing every time I switch device. Not ideal so still in search of a better solution.

            ...

            ANSWER

            Answered 2020-Feb-03 at 05:57

            storage.sync

            Represents the sync storage area. Items in sync storage are synced by the browser, and are available across all instances of that browser that the user is logged into (e.g. via Firefox sync, or a Google account), across different devices.

            There are limitations with sync.

            • Sync requires login
            • Up to 100kb can be synced and more than that fails
            • Storage sync usually syncs the entire extension storage and in case of user-script managers, they are often larger than 100kb as they include the user-scripts as well
            • Data is stored elsewhere (not on your computer) which can have security/privacy concerns
            • Storage read/write requires internet access and longer times due to remote data storage
            • Extension must have the sync option

            1) Is there a way to handle that with Firefox Sync ?

            Yes but depends on aforementioned. While Firefox sync doesn't appear to have the 100kb limit, syncing the entire Firefox takes longer (How do I set up Sync on my computer?).

            2) Would an alternative (Tampermonkey, Violentmonkey, ?) handle that better ?

            Greasemonkey: No sync feature
            Tampermonkey: Sync to Dropbox, Google Drive, or a WebDAV service
            Violentmonkey: Sync to Dropbox, OneDrive, Google Drive, or a WebDAV service
            Firemonkey: No sync feature

            TM/VM 3rd party storage sync allows storage of more than 100KB. However, using 3rd party storage allows 3rd party tracking which is a privacy consideration. The storage read/write operation is also a lot slower.

            3) Where can I find the scripts/database in the new Greasemonkey system ?

            Since Firefox 57, extensions can not save files to the HD and the only storage area is the extension storage which is not accessible as before.

            4) Could I synchronize them via Google drive ? (There seem to be some hacks to sync a file between machines)

            Refer to above

            5) Would there be a simple, free alternative that would allow me to synchronize a very small file between machines ?

            That depends on the set-up and how often data is changed.

            For example, if data is not often changed, especially if the data privacy is imperative, there is the backup export/import option (script + data). Therefore, the extension data can be saved to a USB flash drive and loaded anywhere (suitable for shared environment).

            Source https://stackoverflow.com/questions/60031706

            QUESTION

            How to store Greasmonkey 4 Scripts in git
            Asked 2018-May-02 at 11:47

            With the new update to Firefox 57 and Greasemonkey 4.0 it seems that the gm_scripts folder is no longer where the user.js scripts are stored.

            Where are the scripts stored now?

            Any suggestions for keeping these scripts in git?

            ...

            ANSWER

            Answered 2018-May-02 at 11:47

            Where are the scripts stored now?

            WebExtension API does not allow local file access so add-ons store data in their own storage area as an IndexDB at C:\Users\[Username]\AppData\Roaming\Mozilla\Firefox\Profiles\[Random].default\storage\default\moz-extension+++80728271-a923-4e37-a81d-68452721034c

            The negative issues are:

            • You cant manually edit them with your own editor and you have to use the GM interface to edit them.

            • If you uninstal GM, all script will be gone and reinstalling GM wont bring them back.

            • At the moment GM doesn't have an Import (to manually load scripts) or Export (to create backups). Although you can export all scripts by copying the folder above.

            You can copy scripts to Git and GM will (there are issues now) be able to get them from Git.

            The gm_scripts folder should still be in the Firefox profile folder. GM4 doesn't delete it but it wont be able to use it.

            https://superuser.com/questions/38093/where-are-the-greasemonkey-scripts-kept-in-portable-firefox

            In XP: C:\Documents and Settings\user\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\gm_scripts

            In Vista: c:\users\user\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default\gm_scripts

            Select the profile you want to use (if you only have one, it should look something like xxxxxxxx.default). Finally select the gm_scripts folder.

            On a MAC: On a Mac, you can find your profile at ~/Library/Application Support/Firefox/Profiles

            Source https://stackoverflow.com/questions/47353100

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install GM_script

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/langren1353/GM_script.git

          • CLI

            gh repo clone langren1353/GM_script

          • sshUrl

            git@github.com:langren1353/GM_script.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link