Giter Site home page Giter Site logo

Comments (6)

epicmonkey avatar epicmonkey commented on August 16, 2024

I'm afraid I was not able to reproduce this defect, have just added a new post with no issues: http://pepyatka.com/posts/c4906fea-6504-4253-8ae1-16068bbfff32. Presumably it may has something to do with a browser I'm using and you might want to check out public/js/bookmarklet.js file for a jQuery loader.

from pepyatka-server.

epicmonkey avatar epicmonkey commented on August 16, 2024

Indeed, this is an old version of Firefox (https://blog.mozilla.org/tanvi/2013/04/10/mixed-content-blocking-enabled-in-firefox-23/). I'm thinking if we load jQuery from https always will it solve the issue. Can you please test this?

from pepyatka-server.

gsmnv avatar gsmnv commented on August 16, 2024

It indeed solves the problem with jQuery loading but next exact same problem with loading from http://0.0.0.0:3000/js/pepyatka.js arises why don't you include pepyatka.js into bookmarklet.js? It isn't that large.

from pepyatka-server.

epicmonkey avatar epicmonkey commented on August 16, 2024

The main reason behind loader and core scripts is to be able updating bookmarklet without affecting any users those have already added it (js code) to a browser. Say user A added a minimized bookmarklet to a bar and next day you find a defect or just want to release a new version, so if there's only one script you'll somehow tell that user to update bookmarklet code, which is definitely a tricky task. However two scripts allow updating bookmarklet smoothly.

from pepyatka-server.

indeyets avatar indeyets commented on August 16, 2024

the solution is to get certificate for HTTPS and server pepyatka's js via it

from pepyatka-server.

epicmonkey avatar epicmonkey commented on August 16, 2024

This is for the frontend. See linked story.

from pepyatka-server.

Related Issues (20)

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.