Giter Club home page Giter Club logo

autorename's Introduction

AutoRename for Microsoft Edge and Google Chrome

Download now
Chrome Web Store | Microsoft Edge Extension Store

This Chromium extension is designed to automatically rename files using custom parameters to keep your files more organized. Normally, when you download files from the internet, file names are often scrambled with random words and numbers that don't mean anything.

BEFORE

Using the default "Save image as" option in Microsoft Edge.

autorename-before

AFTER

Using the extension "Save image as (AutoRename)" in Microsoft Edge.

[@][Twitter username] [Tweet ID] [Random string].

These parameters can be customized in the Extension Options.

autorename-after

Getting Started

Check out the Wiki tab for instructions on how to use the extension.

Donation

Developing this extension is not my full time job and I do it mostly on my free time. If you want to support my work, you are more than welcome to donate. Please don't spend anything beyond your means. I'm already financially stable with my actual job!

Donatation Link

Compatibility

This extension primarily targets the Microsoft Edge (Chromium) and Google Chrome browsers only. I cannot guarantee support for other Chromium based browsers.

Bug Report or Feature Suggestion

For bug reports, go to the issues tab. If you want to discuss new features or if you have any questions, go to the discussion tab.

MIT License

Copyright (c) 2022 Dasutein

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

autorename's People

Contributors

azii672 avatar ddasutein avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

autorename's Issues

Twitter Redesign has a Minor Change with Viewing Images

There was a recent change with the way images are served in the Twitter redesign. Before, Twitter would serve you the highest quality image by clicking on the tweet itself and saving the image. Now? By clicking on the tweet itself, Twitter will only serve a small or medium size version of that image. To pull the highest quality version, you must click on the photo itself. Take note at the URL:

https://twitter.com/USERNAME_HERE/status/TWEET_ID/photo/1

At the end of the URL, there is a new reference to photo and 1. The number being the order of the image in a single post, which is up to 4 only. If there are only 3 images in the post then it will count up to 3.

My proposal on a fix would be:

  • Just like the current implementation where if no tweet id exists in the URL, an alert dialog will tell you to click on the tweet. There will be a new check that will specifically look for photo in the URL. If that does not exist, a prompt would tell the user to click on the image.

For now, I'll be investigating this issue and finding a proper fix for it. Unfortunately, this won't be part of the version 1.1.0 release.

Add support for Databricks

When downloading results files from Databricks it always uses the file name export.csv, so my Downloads folder is often littered with files like export (46).csv. Add support for cloud.databricks.com! I can make the changes and submit the pull request if you wish.

Removal of "File extension type" in Twitter

Hi everyone,

This is to inform you all that the "File extension type" option in the extension will be removed in the next release. In case you don't know, Twitter does support both the JPG and PNG formats. However, the current implementation in the extension is rather very simple. All it does is change the file extension to PNG. It does not make the image itself an actual PNG despite having the option to save as a PNG.

In the Twitter redesign, there is a parameter on every image if they are JPG or PNG. For the next release, the extension will automatically download the appropriate image format.

Thank you for using AutoRename!

If you have any issues or concerns, please do submit a new issue.

Dasutein

(Twitter) Saving original image and changing default install folder

Would it be possible for there to be an option to save the orig version of the image rather than just the large preview version of the image. For some images the extension works fine, but for others the large version can be as much as half the resolution of the orig.

Also, would it be possible for there to be an option to change the default install folder location? I would rather have the option to put it on another hard drive rather than the default downloads folder.

Otherwise, I love every other feature of the extension!

Thank you.

LINE BLOG ID not included in file name

Hi everyone, I found an issue with LINE BLOG not including the blog ID upon saving. The functionality still exists in code but may not be hooked up to the file name builder which was recently rewritten for version 2.2.0. I am currently investigating this and a patch will be out as soon as possible.

Saving image in full view on Twitter does not work

Discovered a new issue where if a tweet is in full view, the extension can't save the image. Upon investigating this, there seems to be an issue retrieving the username and the utility framework. As of writing this, version 2.2.2 is going to be the next patch. I haven't submitted it yet to Google or Microsoft so I will include a fix before uploading it. For now, there is a workaround you can do.

Workaround
While the photo is not in full view, right click on the image and then save the image with AutoRename.

Incorrect Operating System string for Windows 11

Hey everyone!

Windows 11 is available for the general public as of October 5, 2021. There is no compatibility issues given that this a browser extension. So if you are coming from Windows 10, nothing should change. However, there is a known issue with the way the extension queries the Windows version. If you go to About > System Information > Operating System in the extension options, you may notice that even on Windows 11, it still reports as Windows 10. This is because the extension queries this data by checking the user agent provided by the Edge or Google Chrome browser. Unfortunately, Microsoft didn't bother changing the NT version 10.0 to something like 10.1 or 11.0 for Windows 11. As a result, the extension thinks it is still running Windows 10.

Good news is that Microsoft has provided some new APIs that would be able detect if the browser is running on Windows 10 or 11. I will be implementing this in a future release.

https://docs.microsoft.com/en-us/microsoft-edge/web-platform/user-agent-guidance

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.