How to Transfer All Greasemonkey userscripts to Tampermonkey on Firefox 57+ - greasemonkey

After read that Greasemonkey recommends users to install Tampermonkey or Violentmonkey.
I've installed Tampermonkey and now I'm trying to transfer all my Greasemonkey 3.x scripts to be opened on Tampermonkey, but I can't find it's location or even how to do it.
I've read this question that says where and how it's located on Chrome, but where is it on Firefox 57+?
How can I transfer it?
PS: I'm expecting I won't need to update every userscript I have.

Based on derjanb comment I'm answering the question showing the steps I took to achieve the transfer of the userscripts.
Enter about:support on firefox address, then find and click open folder
Now find and open gm_scripts folder, click to search inside it and type .user.js, when the search finishes select all userscripts you want to transfer.
Now right click the selected files and choose Send To - Compressed (zipped) folder.
Once your zip file is created find it on Desktop or where it was created and open the Tampermonkey Dashboard
Go to utilities tab and on Zip select import, find your zip file and once you click open button, it should load
Finally a list with all scripts inside the zip should open, asking which one you desire to import. If you want all, just click import.
That should do it. Check it out on Installed userscripts tab.

How to export scripts from Greasemonkey to a zip file:
Click the Greasemonkey plugin
Click Export a backup...
Save file
How to import scripts to Tampermonkey from a zip file:
Click the Tampermonkey plugin
Click Dashboard
Navigate to Utilities tab
Click Browse... under Zip menu
Select the exported zip file
Click Import

Related

How to create shortcuts for each chrome user in linux?

I'm using google chrome with multiple email accounts and hence chrome users feature is so useful to me. It was easy for me to create shortcuts for every user in windows 10. But it seems difficult for me to open chrome in an account and then switching to the account which I want to use. It would be much helpful if the chrome users with their respective user pictures can be pinned in the dock. I'm using Pop OS 20.04 LTS. Are there any commands for enabling it? or any tricks?
First you need to navigate to chrome data directory, default is ${HOME}/.config/google-chrome. There you could find folders that stores different profiles, for instance Profile 1. Knowing directory names chrome can be executed with profile directory as follows:
google-chrome --profile-directory="Profile 1"
Do not use full path, give directory name only.
Knowing correct command create desired application launcher (I guess you can figure it out) and optionally put it to ${HOME}/.local/share/applications to access it from "start menu".
First you need to create a folder.desktop file in .local/share/applications.
There you can paste this code
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon[en_US]=google-chrome
Exec=google-chrome --profile-directory=PROFILE_NAME
Name[en_US]=Chrome-PROFILE_NAME
Name=Chrome-PROFILE_NAME
Icon=google-chrome
Replace PROFILE_NAME with your own profile name.
then right click the file and go to properties>permissions and allow execute file as program.
Now press windows button and search for your PROFILE_NAME.There you can see your profile name.Add that to your favorites and open that file.If chrome asks for setup your profile,set you profile for the first time and after that every time you click on that icon it will open your profile.
In this way you can create icons for multiple chrome profiles.

autoclick on download icon, as soon as page loads

My Question:
There are hundreds of unique URLs from where I have to download the zip file after clicking on the download icon. Is there any way to automate this process.
My process:
Open the unique web page URL,
Download icons appears.
Click on download icon to download the file.
Same process for rest of the pages.
Notes:
Each zip file has the different name.
Files are hosted in the secured server.
No access to directory folder.
Download icon position changes on every page.
Any chrome extension or fire fox ad don to solve this repeated task? Appreciate your help.
If you have download url list, then there are lots of add-ons that will help you download them, like DownThemAll
But if you do not have download url list, you will need to have a custom extension solution. Because, first extension needs to connect your server and retrieve download url before downloading the actual file. There needs to be Regular Expression difficulties which enforces custom extension solution.

Is there a way to choose a program to open a zipped file with?

When browsing files within a zip archive in Windows 10, the right-click menu provides a very limited set of choices, and any attempt to open a file will always use the default application. Is it possible to change this?
Right click the file. Go to properties.
Click change button right in front of open with.
Choose an app you wish to open file with and click OK, Apply, OK.
Now you can open the file in app you just have chosen by double clicking it.
Sorry but if you want to change default app later, you'll have to follow same steps each time.

Automatically select save option in webbrowser file download dialog box

I have a c# desktop app which connects to a site via a web browser control. The problem is I need to navigate to a specific section and download a excel file which is generated from a postback. I would like to either automate this process or bypass the file download dialog and save the file directly to a local drive.
Problem
The link is not a standard url. The site uses a postback script to get the file needed which then displays the file download dialog box. E.g. When you click on the button (javascript: postback) the file download dialog box is automatically loaded.
As stated I want to bypass the save options and automatically store the file in a predefined location. Any help would be much appreciated.
I find AutoIt http://www.autoitscript.com/site/autoit/ very useful for these kind of tasks. If you want to integrate it with your C# app, then you can call your AutoIt script via system calls. The difficulty is finding and following the link on the page, that will depend on how the page is laid out.

Google drive download whole folder content with google drive viewer (google apps-script)

I have created an google script which go to my mail and fetch attachments and put it into a folder (shared as anyone with link), and share the link to folder with any given email.
But when others open that folder with link it open in google drive viewer(online). Have to open each and every file to download. Is there any way I can let them download whole batch in much more less stressing way?
I have tried out creating a folder (lets say folderchild) inside that folder(folderparent) then put all files in folderchild. But still same problem. Have to open that folderchild and open files in there and download them one by one.
Zipping attachment is not an option for my solution.
Any advices?
Thanks in advance.
They should regress to their own drive, choose the "Shared with Me" option, tick the required folder and use the "More" -> "download" option to download all the content in a zip file
If you share a map via Google drive and send the link via email your link has an url of following format:
https://drive.google.com/a/FOO/folderview?id=BAR&usp=sharing_eid
where FOO is the domainname of your organization and
BAR is the unique id of the folder (similar to i3AV_u1UsLmTa-dOm22I2XXgioDR8)
Change this url to the following
https://drive.google.com/drive/#folders/BAR
Now you can click on the name of the folder and download all files.
Note: this is what works today (Jan. '15) in an GAFE (Google Apps For Education) environment.
There is OPEN IN DRIVE option in upper right corner, (if you are logged in with your google account). It will put a folder of the same name on your google drive. Then you can right click on the folder and select Download option (zip file will be made and downloaded) :)
When they're viewing the folder in their Google Drive, don't they have the option to select it, click the "More" button and pick "Download"?
If not, that seems like a bug on Drive and you should report it in the Drive forum / issue tracker.
Select the file(s) first, I get that option after I select(ed) the files to download ;)
I don't have enough reputation to comment on user906489. His URL works, except in the case when using multiple google accounts and the url should not reference the first account.
In that case just insert u/USERID/ after https://drive.google.com/drive/, so that
https://drive.google.com/drive/#folders/BAR
becomes
https://drive.google.com/drive/u/USERID/#folders/BAR
where, USERID is the number (greater than zero) of your google account.

Resources