Coder Social home page Coder Social logo

quickcopytitleandurl's Introduction

Copy Cat - Quickly Copy Title and URL

About this Chrome Extension

I created this extension because similar extensions are too complicated and a few more clicks to do the simple thing for my daily operation. For example, I often copy PR's Title and URL in tickets or chat window.

demo.gif (684×290)

Chrome Web Store URL - Install it from here

Copy Cat - Quick Copy Title and URL - Chrome Web Store

For Developers - How to install and test the latest

  1. Clone Repository.
git clone https://github.com/kiichi/QuickCopyTitleAndURL.git
  1. Select Extensions from Chrome's menu
  2. Turn on Developer mode (top right corner switch)
  3. Select LOAD UNPACKED from the middle menu
  4. Select src folder within this repository
  5. See Cat Icon on Top Right Corner.
  6. If you change the code, click reload button to test again.

Debugging Tips

  1. Some of manifest changes requires reloading plugin. Click reload or remove and load unpacked folder again.
  2. In order to see console.log, click background page.

Uploading to app store - Memo for myself

  1. Bump the version in manifest.json
  2. Run build.sh
  3. Upload it to webstore.
  4. Tag it in the master branch for the version number.

Reference Publish in the Chrome Web Store - Google Chrome

Credits

Contributers

jeske (David Jeske) - Thanks for [Notification Prefix Cleaning PR #10](https://github.com/ /pull/10)

alejandro5042 (Alejandro Barreto) - Thanks for Font Size feedback and quick mockup design! #13

smaragdus - Thanks for Font Size feedback and extensive review in Windows! #16

Libraries and Resources

jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license

Pure v1.0.0 Copyright 2013 Yahoo! Licensed under the BSD License. pure/LICENSE at master · pure-css/pure

Icon Credits : M.Y

Other Issues

I noticed that very similar plugin has been published with same name "Copycat". Not sure why I missed it 2 years ago, but I might change the name of this extension if this causes some issues. Version 1.5.0 · Issue #16 · kiichi/QuickCopyTitleAndURL . I'm still holding decisions at this point.

quickcopytitleandurl's People

Contributors

jeske avatar kiichi avatar yeyebbc avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

quickcopytitleandurl's Issues

copy HTML does not put page title in HTML

for example, on this page..

"Copy [title] URL" produces this output...

[New Issue · kiichi/QuickCopyTitleAndURL] https://github.com/kiichi/QuickCopyTitleAndURL/issues/new

"Copy HTML" produces this output, where the URL is used instead of the page title...

<a href="https://github.com/kiichi/QuickCopyTitleAndURL/issues/new">https://github.com/kiichi/QuickCopyTitleAndURL/issues/new</a>

But I expect it to produce this output, where the URL is the ref and the page title is the link content

<a href="https://github.com/kiichi/QuickCopyTitleAndURL/issues/new">New Issue · kiichi/QuickCopyTitleAndURL</a>

idea: keyboard shortcuts for copycat

I use copycat so much, I would really like if there was a keyboard shortcut for it, instead of having to constantly interact with the pulldown selection.

Here is one idea of how it could work:

A. Global Hotkey to open the pulldown (alt-shift-c ? configurable in an options page?)

B. Local Hotkey Each copy type would get a number. while the CopyCat popup is open, pressing the number will act as if that type was clicked on with the mouse, and close the pulldown.

(B) could be used without doing (A). Meaning one could click on the popup, and then hit "4" on the keyboard to choose "copy rich text link"

Advanced Ideas

  • ideally some brief UI would confirm what happened. (for example, highlighting the picked item for ~300ms before hiding the popup)
  • Optionally, shift-number could do all-tabs, though I've never used the all-tabs feature, so I don't know if having a hotkey for these this is important for anyone.

Copy BBCode

I quite often post to forums which use BBCode so for me it would be convenient if Copy Cat could copy links in BBCode.

BBCode uses this tag for Link (named):

url={url}]{text}[/url]

A couple of examples of BBCode:

  • GitHub - [url=https://github.com/]GitHub[/url]
  • DuckDuckGo - [url=https://duckduckgo.com/]DuckDuckGo — Privacy, simplified.[/url]

I suppose that if you choose to add support for BBCode you may put it below Copy Markdown, example:

  • ...
  • Copy Markdown
  • Copy BBCode
  • Copy Title Only
  • ...

I suppose that support for BBCode would be useful for people who frequently post links to forums.

Option - Copy Text with link only - no formatting

Thank you for a great extension!

Problem: When I paste the rich text from CC, it overwrites the formatting, alignment, and wrapping options where I am pasting it.
What I really want is an option to copy plain text with the link.

Since plain text does not support hyperllinks, this would probably be an option to copy rich text with a link and no other formatting.

Thank you.

New Copy Format

Hello,

I like your extension very much, excellent job, thank you.

I would like to suggest a new format for copying Title and URL:

besides the current formats (single line formats - Title and URL in the same line):

  • Title - URL
  • [Title] URL

there is new format (two lines format - Title and URL in separate lines):

  • Title
    URL

Example:

Current formats:

New format:

I would prefer this format for saving link of articles- Title and URL in separate lines. Of course I can edit copied content yet automatic copying in this preferred format would be easier and handier to use.

I suppose that such a new format will not require too much work.

Regards

Not appearing in toolbar

I see CopyCat in the context menu just fine:

image

But the button isn't appearing in my toolbar:

image

which is a bummer because I think the "all tabs" feature is in there, and that's why I want this extension! Any ideas? Thanks!

"Copy Rich Text Link" Does not work 😥

I want this feature. Please fix it 🙏

Details

Version: Copy Cat Chrome Extension Version:1.8.0

$ sw_vers
ProductName:	macOS
ProductVersion:	11.6.2
BuildVersion:	20G314

image

Bigger menu with icons

I have a 1440p monitor and the menu items are so tiny! I often mis-click. Also, I have to read every item since they don't have icons I can just click on by memory.

I want the menu to look something like this:

image

Thrown together in 2 mins, and not suggesting those exact icons, but you get the idea :)

copy multiple formats at once

clipboards support various formats at once and whatever format is most appropriate gets pasted in

I'd like to be able to copy a rich text link and plain text Markdown with a single keyboard shortcut so that I can paste it in Slack and get a formatted link and also paste it into a Markdown file and get the appropriate markup

Copy All Tabs - last tab skipped

Hello,

It seems that there is a bug when executing All Tabs commands- the last tab URL is not copied. Example- if I open 5 tabs and I execute any of Copy All Tabs commands the last tab, the 5th tab from left to write is not copied. As a workaround I have to open a blank 6th tab to get all 5 tabs copied. This happens with Copy Cat version 1.4.1. Please confirm the problem.

Regards

automatically filter leading "(5)" page title prefixes appearing all over now

First off, I want to say THANK YOU for CopyCat.. I suggested the "Copy Rich Text Link" feature, and you added it, and I now use this extension literally hundreds of times every day. It's that important to me. FYI, my most common is by far "rich text", but I also frequently use "markdown", mostly for github links.

And now for my suggestion. (which I'm glad to add myself when I get a little time)

It seems a bunch of websites all over the web are starting to prefix page titles with "(4)", where the number is the number of outstanding notifications you have on that site, or comments on that page, and other random garbage. This doesn't really matter, but when copying urls with CopyCat, it's a constant nuisance, as I have to delete these numbers from the beginning of URLs all the time.

For example, here is a video explaining why these numbers appear on youtube... copied with copycat to markdown:

(9) What are Numbers Appearing On Browser Tab title of YouTube tabs? (strange index numbers on YT tabs) - YouTube

I would like copycat to just regex match and remove a leading pattern (\([0-9]+\) )?, so the above URL would automatically be copied as:

What are Numbers Appearing On Browser Tab title of YouTube tabs? (strange index numbers on YT tabs) - YouTube

Font Size is too big in Version 1.5.0

@kiichi

For me Copy Cat is an indispensable extension- since I discovered it I have been using it daily, I have clicked the nice cat toolbar button innumerable times. For me it was close to perfect. Until version 1.5.0. I liked the old pop-up window:

Copy Cat version 1.4.3

Copy Cat 1 4 3 - 2020-05-18 - 002

which was very compact. While I find the new pop-up window:

Copy Cat version 1.5.0

Copy Cat 1 5 0 - 2020-05-18 - 002

too large.

I found old CRX files at Crx4Chrome, uninstalled version 1.5.0 and installed version 1.4.3. In attempt to disable automatic update I went to andlmjmbnlaamloflnelcafcnkiplhkc sub-folder, opened manifest.json and edited this line:

"update_url": "https://clients2.google.com/service/update2/crx",

changing it to:

"update_url": "https://localhost",

For the time being the extension has not been updated but I have no idea whether this workaround will work in the long run.

I am aware that someone requested bigger font (#13) so I suppose that the best solution would be if Copy Cat has options where the users would be able to specify which pop-up interface they would like to use:

  • the old one- smaller font, All Tabs on the right;

or:

  • the new one- bigger font, All Tabs on the left;

I definitely prefer the old interface with smaller font and All Tabs on the right. I also do not need the last used command to be remembered as I use almost all copy commands alternately. If options are implemented there might be a check box:

  • Remember last used command

If execution of copy commands via context menu (#12) is implemented there might be anotheer check box in Options:

  • Context menu integration

Regards

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.