0.0
No commit activity in last 3 years
No release in over 3 years
Obscure links by creating and using link_to to move the rot13 the href to a data-attr. And in an including JS take that data attribute un-rot 13 it and tell the browser to go to that link
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 4.1.1
 Project Readme

This is a Rails Engine. That adds a couple of things.

Installation

This has only been tested on Rails 4.1.1

Add this line to your application's Gemfile:

gem 'obscura_linka'

Usage

  # In the views
  # this link href will be obscured
  # It will look like: <a href='' data-href="xxux://xuxuxm.nv8vjv" class='rot_13'>my link</a>
  <%= obscura_link_to('my link', root_path) %>
  # In the layout include obscura link to's javascripts
  <%= javascript_include_tag('obscura_linka/application') %>