ku / createlink Goto Github PK
View Code? Open in Web Editor NEWMake Link alternative to chrome
License: MIT License
Make Link alternative to chrome
License: MIT License
Like the title says. After 0.2.1 update does not work at all.
I would like to create links for all tabs in a window. chitsaou/copy-as-markdown: Copying Link, Image and Tab(s) as Markdown Much Easier. does this and is open source:
I'm not sure what the UI would look like. Maybe menu items change when Alt/Ctrl/Cmd/etc held down? Or maybe have a divider and then "All tabs" checkbox below. That'd probably be easiest, I would think.
Hi! This is an essential extension for me as I really need a lot to copy links from address bar in chrome in plain text to other apps and simply paste it. But now with the latest version of chrome it does not work as it used to work. Even if I just leave %url% in the format field, the result of pasting is always (added blank spaces so code is not parsed): "< m e t a h t t p - e q u i v = " c o n t e n t - t y p e " c o n t e n t = " t e x t / h t m l ; c h a r s e t = u t f - 8 " > w w w . s i t e u r l . c o m" is there some configuration I am missing so I can overcome this problem? Thanks and kind regards, David
I would like a quick way to switch the default format, preferably including a mouse-free way of doing so.
For example, if it were possible to activate the extension (with keyboard), then navigate the menu (with keyboard), and change the default link type to whatever is selected if the control key is held down while selecting - that would be great.
I find that most of the time I am not switching between formats allot, but when I do switch format, I am going to use the new format for a while. This would serve such needs perfectly.
I tend to create many links using the same format in a row. Say I am pasting into a google doc, I want html links. Later, I am filing bugs in JIRA and want to paste many JIRA formatted links. Then, I want my org-mode formatted links for a while. Etc. I might switch back and forth between JIRA and HTML and org-mode formats a few times in a day.
So having a quick keyboard driven way of switching the default would be grand.
Also, i really like the way you confirm the format created link with a quick colorful wink of the format's name. If you make the icon change color to agree with the current default, that would provide advance reminder of what the current default is.
As of December 20, 2021, when links are copied as html on Windows 10 - the Windows clipboard no longer recognizes them as html links
For example, if an html link is created for this web page
https://tidesandcurrents.noaa.gov/sltrends/globalregionalcomparison.html
And then I paste it into the WordPress editor, it appears like this :
The code which is getting embedded as html now (incorrectly) looks like this
The pasted link used to appear in the WordPress editor (correctly) as a link :
It would be great if choosing a format from the pull-down not only put a link in the clipboard in that format, but also set the current format to be used when just clicking the extensions icon in the toolbar (or via keyboard short=cut, as suggested in other request)
I want you to be able to get the link of the details screen (pop-up) of Google Calendar.
It would be nice to have an icon at the top of the details screen or a "Create Link" menu.
Google calendar details link
https://calendar.google.com/calendar/r?eid=xxxxxxxx
You can do it yourself, but ...
URL Fragment Text Directives are supported in Chrome.
Here is an example of one formatted as markdown (and rendered by github's markdown rendering):
Such links can be created in HTML format using Chrome by following instructions Share or link to quotes & text in Chrome
They can also be created using the CreateLink chrome extension by defining in its options the following link format:
Name | Format | Filter |
---|---|---|
HTML highlighted | <a href="%url%#:~:text=%htmlEscapedText%">%htmlEscapedText%</a> |
With it, the following HTML link is put in the clipboard:
<a href="https://support.google.com/chrome/answer/10256233#:~:text=[create a shareable link](https://support.google.com/chrome/answer/10256233#:~:text=create%20a%20shareable%20link)">create a shareable link</a>
However, the following analogous definition for a "markdown highlighted" link format fails:
Name | Format | Filter |
---|---|---|
markdown highlighted | [%text%](%url%#:~:text=%htmlEscapedText%) |
For some reason, the %htmlEscapedText% variable is percent-encoded in my HTML highlighted
format but not my markdown highlighted
format where the following incorrect text is placed in the clipboard:
[create a shareable link](https://support.google.com/chrome/answer/10256233#:~:text=create a shareable link)
This issue is possibly related to closed #37
Hi! I really enjoy using this extension to copy text as Markdown to further make notes. One of the features I'd really like to have for this extension is deep-linking as in "Copy link to highlight" in the right-click menu in Chrome. Therefore, I suggest adding a URL-encoded text variable, where some special characters in selected text are encoded using URL encoding, aka percent-encoding. For example, spaces in a string are encoded with %20
, and colons signs (:
) encoded with %3A
.
Default Markdown Format: [%text_md%](%url%)
Current result: In the United States, about 80% of household cats are neutered.
Source mode: [In the United States, about 80% of household cats are neutered\.](https://en.wikipedia.org/wiki/Cat)
Desired Markdown Format: [%text_md%](%url%#:~:text=%text_urlenc%)
1
Suggested result: In the United States, about 80% of household cats are neutered.2
Source mode: [In the United States, about 80% of household cats are neutered\.](https://en.wikipedia.org/wiki/Cat#:~:text=In%20the%20United%20States%2C%20about%2080%25%20of%20household%20cats%20are%20neutered.) 3
Thank you in advance for your attention to this matter.
One feature I've been unable to find in this and its competing extensions is to copy HTML like " ku/CreateLink " into the clipboard.
This way i can paste directly into gmail or somewhere else easily. I'd love to see this feature available.
Thanks for the great extension.
Org mode for Emacs is a highly flexible structured plain text file format used in Emacs.
In essence, it will be similar to what markdown produces. Should be an easy feature to add.
Markdown produces:
[Nix manual](https://nixos.org/manual/nix/stable/#chap-introduction)
org-mode should produce:
[[https://nixos.org/manual/nix/stable/][Nix Manual]]
This is with Version 0.5.5.
Recently, I notice that the first time that I use Create Link on a particular web page it returns the previous text in the system clipboard, rather than the text that should be generated for that page. The second and later times I use Create Link on that page it returns the correct text, generated from that page.
If you remove all but one of the formats (for example, all but "Plain text") then the non-hierarchical menu item "Copy link as Plain text" does not update the clipboard as expected. In fact, it does not seem to touch the clipboard.
Create Link 0.5.5 (0.5.1 から発生していたと思われます)
README.md にある以下のサンプルのように Filter を入力しても、機能しません。
Name | Format | Filter |
---|---|---|
HTML | %title% | return s + ' ' + (new Date().toJSON().substring(0, 10)) |
0.4.1 の頃はFilterは機能していました。
同じように機能することを期待します。
thanks for the great extension..
i changed several keyboard shortcuts combination, all failed with : either 'undefined' or empty can pasted.
moreover, is the captioned issue conflict with some other extensions? with vimium-c disabled, the keyboard shortcuts still failed, with mouse always works fine.
I was trying to copy text from stackoverflow and include a comment with the source url.
This tool looked simple and promising, but it didn't format the copied text, nor did it let me do a ctrl-c shortcut.
I ended up using the auto-copy plugin and it was easy to configure with an "informational comment" of "$crlf#$url"
This worked without any drama.
It seems to be way overkill, and I would prefer a lighter weight open-source solution, but for now I'll use auto-copy until I'm motivated to fix this and put in a PR.
https://chrome.google.com/webstore/detail/auto-copy/bijpdibkloghppkbmhcklkogpjaenfkg
Conditions:
Text: URL
= %text%: %url%
, set as default.Steps to reproduce:
Cheers!
It would be handy if the extension allowed assigning keyboard shortcuts to formats as described here - https://developer.chrome.com/extensions/commands.
First, thanks for making this useful tool available in Chrome.
Is there a way to set the default font and size for a HTML link? A pasted link now becomes 12pt Times. My default otherwise in macOS 10.14.3 is 13pt Georgia.
D20200421T183444
I have this default:
[%text% : %title%](%url%)
which works great to get all the context (selected text, page title, and url)
however it's not great for creating link when no text is selected, as it'll result in title being duplicated.
add option selected_text_only
which solves this problem:
[%selected_text_only% : %title%](%url%)
only drawback is it'll add a :
in case no text is selected, but that's better than duplicating the title.
As an enhancement, this could (later...) be supported too:
[%selected_text_only text_that_occurs_conditionally%%title%](%url%)
eg:
[%selected_text_only : %%title%](%url%)
which does the right thing, all the time.
Pop-up window for %input% does not work in Windows 7 and 8. Did appear att first, but then duble, the second popup window had a "do not show" box and when clicked no popup window thereafter appeared (instead of only one as desired). But 2 are better than none. But no way can be found to turn it back on.
I had been using this extension for a year and it worked fine. A few weeks ago the HTML stopped working
instead of a nice clickable link I get embedded HTML like this:
<a href="https://www.nytimes.com/">The New York Times - Breaking News, US News, World News and Videos</a>
Please consider adding BBCode to the default formats. Something like:
Name: BBCode
Format: [url=%url%]%htmlEscapedText%[/url]
Hi!
I fount that in some cases it's not possible to write format using %
while not making it to be interpreted as predefined variables.
For example, if I literally want to include a string "%title%"
in the format, it cannot be done because every time I use this format to copy things, the %title%
will always be replaced to the page title (but I actually just want the pure string "%title%"
!)
Possible solution may be allowing char %
to be escaped in the format column, for example, maybe %%
will be interpreted as a char %
. In the previous case, I can then just write %%title%%
to get what I want.
Please consider this request.
Also thanks for the great work!
In the options section there's a place where you can add filters to a given configuration. I'd like to be able to filter out " by *PhoenixHawke on deviantART" from the page title in the link below (the "13" could be any of my deviant art gallery titles):
13 by *PhoenixHawke on deviantART
However it is not clear how to do this. Advice?
Thanks,
~Brian
make watch
./node_modules/.bin/webpack -w
make: ./node_modules/.bin/webpack: No such file or directory
make: *** [watch] Error 1
npm install
make watch
./node_modules/.bin/webpack -w
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.