Giter Club home page Giter Club logo

nanolinks's Introduction

Source Repo of NanoLinks.info

Site generated from index.md and news.md

Nanolinks.info has been terminated

Migrated to nanolinks.org by another user

Old site still available at https://joohansson.github.io/nanolinks/ but doesn't render correct.

Contribution

Do you wish to add a link to your own project or you found something else? Just clone this repo, edit any of the above files and make a pull request. You can also contact me at Reddit or make a submission at the bottom of nanolinks.info. All content will be evaluated.

-Donations

Maintaining nanolinks requires a lot of time. If you want to contribute to this project, then any small donation is greatly appreciated!
Nano Donation
nano_1gur37mt5cawjg5844bmpg8upo4hbgnbbuwcerdobqoeny4ewoqshowfakfo

NanoLinks

Build and run locally

apt install ruby-dev
gem install bundler
bundle install
bundle exec jekyll serve

nanolinks's People

Contributors

a-e-johnson avatar alecrios avatar antonegorov avatar besoeasy avatar bitdesert avatar cenkalti avatar etb0x avatar gozames avatar guilhermelawless avatar jellybool avatar joohansson avatar jserv avatar kilkelly avatar kryptos17 avatar lephleg avatar lukes avatar michielpost avatar qwahzi avatar sharilovav avatar shghs123 avatar thatbriandude avatar thecoinperspective avatar vadim-dudin 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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

nanolinks's Issues

Form to submit a new link

Contacting via reddit is a bit cumbersome for many, and it would be easier if there was a small form available to submit a new link. Example of a request form:

  • Category
  • Display Name
  • Description
  • Reason to add
  • Contact

Hijacking of default link behavior

The site is hijacking the default link behavior, forcing link clicks to open in the same tab even when using Cmd + Click to open the link in a new tab.

This only seems to happen in Google Chrome 75.0.3770.142 macOS but not Firefox 68.0.1 macOS.


Looking into the cause, it appears that click analytics is the culprit. Removing the event listener on links allows Cmd + Click to work again.

//Click analytics
$('a').click(function(e) {
//Only hitCallback when tracking links in same tab, to prevent speed button to use href (it uses new tab)
var params = {};
if (!$(this).hasClass("btn-external")) {
params.hitCallback = function () {
document.location = url;
}
}
if (!ga.q) {
var url = $(this).attr("href");
ga("send", "event", "outbound", "click", url, params);
e.preventDefault();
}
});

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.