Giter VIP home page Giter VIP logo

vandal's People

Contributors

dependabot[bot] avatar vegetableman 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

vandal's Issues

Future of Historical View

Historical view displays a single snapshot of a webpage for each year that it's been archived for. It uses Puppeteer to capture screenshots which in turn runs on AWS Lambda as a serverless function. Screenshots are not free. For now, the service is running on AWS Free Tier and is free for 1M free requests per month until September this year. So, it likely will only last until then.

Also, It's just not a good user experience, as it's been throttled to around 5 seconds for each snapshot to reduce load on Archive servers. Hopefully Wayback could support something like this in the future.

Pages with fragments (#) show "NOT FOUND" in historical view

Describe the bug

The historical view doesn't work properly if you supply a URL with a fragment.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://thannymack.com/#Welcome!
  2. Open Historical View
  3. See "NOT FOUND" for a majority of older versions

Expected behavior
The fragment would be ignored when fetching the site for historical view

Desktop (please complete the following information):

  • OS: MAC
  • Browser Version: Firefox (latest)

Law of unintended consequences

Law of unintended consequences states that not all interventions are good.
So, using below table, which is updated by the extension, to anonymously track donation clicks and usage:
https://airtable.com/shrhrSbOIHueEi9Vp

  • Usage: number of times users use the extension, that is, click on the browser extension icon.
  • Donate: number of times donate is clicked.

Extension has issues with CSP and Samesite origin

Hey, awesome idea!

I'm trying to test it out with some co-workers but it doesn't seem to ever load any data from the wayback machine. I use firefox 78.10.0.esr with extensions, but it also doesn't load in a firefox without any extensions installed, except the vandal one.

When I open the debugger of the browser I see the following:

Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Bold.eot?#iefix (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Bold.woff (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Bold.ttf (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Bold.svg#Inconsolata-Bold (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Regular.eot?#iefix (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Regular.woff (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Regular.ttf (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Inconsolata-Regular.svg#Inconsolata-Regular (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/SourceSans3-Bold.woff2 (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/SourceSans3-Bold.woff (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/SourceSans3-Semibold.woff2 (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/SourceSans3-Semibold.woff (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/SourceSans3-Regular.woff2 (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/SourceSans3-Regular.woff (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Cousine-Regular.eot?#iefix (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Cousine-Regular.woff (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Cousine-Regular.ttf (“font-src”).
Content Security Policy: The page’s settings blocked the loading of a resource at chrome-extension://dd031431-c709-45bc-b948-c36b367ef746/build/fonts/Cousine-Regular.svg#Cousine-Regular (“font-src”).

The CSP configuration will cause issues in Firefox,. However, the same website I tested in chrome worked for me: nu.nl. but another like fox-it.com hasn't because of X-frame-options being "sameorigin".

Not sure what the right way is on fixing this and I haven't dived into the code, but maybe not load original websites in that frame as a lot of it would break?

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.