Giter VIP home page Giter VIP logo

easybnf-redirect's Introduction

EasyBNF redirect

Si vous possédez un Passe lecture/culture à la BNF, vous connaissez peut-être le site EasyBNF, qui permet d'accéder facilement aux différents sites gérés par l'abonnement.

Cette extension permet de sur-simplifier les démarches : dès qu'il est installé, en cliquant sur un des sites gérés par l'extension, vous êtes automatiquement redirigé‧e vers le formulaire de connexion de la BNF, voire même directement sur la version hébergée par la BNF du site ciblé.

C'est la première version du plugin, n'hésitez pas à me remonter tout souci rencontré.

Télécharger l'extension

Vous pouvez trouver l'extension sur le site d'add-ons de Firefox.

Que sur Firefox ?

Effectivement, je n'ai pas développé le plugin pour d'autres navigateurs, et c'est une volonté consciente. Les navigateurs basés sur Chrome (c'est-à-dire absolument TOUS LES AUTRES navigateurs les plus communs) ne permettent plus de garantir un respect de la vie privée suffisant. Si vous utilisez n'importe lequel de ces navigateurs, je ne saurai que vous conseiller de migrer vers Firefox.

Disclaimer

Ce plugin n'est affilié ni à la BNF, ni au site EasyBNF.

changelog

v1.0.1 : Suppression des paramètres d'URL, occasionant des soucis sur Mediapart v1.0.0 : création du plugin, gestion de Mediapart et Arrêt sur Images

easybnf-redirect's People

Contributors

marcbrillault avatar

Stargazers

Maya Friedrichs avatar  avatar Nino T avatar

Watchers

 avatar

easybnf-redirect's Issues

Connection issues with Mediapart and Arrêt sur Images

What is the problem ?

When using the plugin, if we are not connected yet, the redirection works, but the articles are loaded in their unsubscribed version.

If I log again via easybnf, and click on the article on the homepage, the article load correctly. Reloading the old article's window also works.

What is a probable cause ?

The only difference I can see is the fact that the easybnf connexion loads the homepage first.

So, in order to try and correct the issue, I will redirect first to the homepage, wait a few seconds*, and load the final article.

*test with a very short timeout first.

Remove query string

What is happening ?

When redirecting from Mediapart (see if it applies to Arrêt sur images as well), if there is a query string on the URL, the redirected page with the query string is not readable.

What is the probable cause ?

The BNF website caches a page with a specific URL. Any other URL, as it is not cached, results in a unidentified call to the website.

How to reproduce ?

Click on This link with all trackers or this one without trackers but with a query string.

The redirected page is https://www-mediapart-fr.bnf.idm.oclc.org/journal/france/140124/mort-dans-la-rue-monsieur-raymond-vivait-dans-le-taudis-souterrain-d-un-depute-lr?xtor=CS3-5 which is not readable.

The correct redirected page is https://www-mediapart-fr.bnf.idm.oclc.org/journal/france/140124/mort-dans-la-rue-monsieur-raymond-vivait-dans-le-taudis-souterrain-d-un-depute-lr

Ability to select which site is redirected with BnF's credentials

Hello,
Thanks for the add-on.
Would it be possible to select the sites that will use BnF's credentials?
I have a membership for one of the site, so I would like it to be used instead of the BnF redirection ; that would allow me to use the functionalities that are not possible with BnF.
Thank you,

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.