Giter Club home page Giter Club logo

netlify-browser-extension's People

Contributors

nero-adaware avatar swyxio 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

netlify-browser-extension's Issues

False positives have become consistent

Results for me are now that the extension now identifies all sites as being Netlify sites irrespective of the actual result.

This is happening on every URL I visit.

Extension seems to break Cloudflare login on Firefox

Windows 10 updated
Firefox: 82.0.3

I get a big red band on dash.cloudflare.com/login asking me to refresh.... which of course does not work!
Once the extension disabled, it's working again!

Any advice or question are welcome!

Clarify messaging about open source

Currently, if the site detected is not hosted on a subdomain of netlify.com, the extension reports that the site is not open source.

This is not necessarily correct, as many open source sites use a custom domain.

Example: https://hawksworx.com
(which is open source: https://github.com/philhawksworth/hawksworx.com)

Perhaps the wording for this message would be more accurate if it said something like:

This site is hosted on Netlify, but its deploy logs are not public.

[RFC] deploy to netlify button on every github repo

browserextension

poc here only works for github right now but this is pretty much all the code needed to do this

var { host, pathname } = document.location
if (host === "github.com" && typeof pathname === "string") {
  const pathsplit = pathname.split("/")
  if (pathsplit.length > 2) {
    const user = pathsplit[1]
    const repo = pathsplit[2]
    const newUrl = `https://app.netlify.com/start/deploy?repository=https://github.com/${user}/${repo}`
    var container = document.createElement("li")
    var newBtn = document.createElement("a")
    newBtn.setAttribute("class", "btn btn-sm")
    newBtn.setAttribute("href", newUrl)
    newBtn.setAttribute("target", "_blank")
    var newContent = document.createTextNode("๐Ÿ’Ž Deploy To Netlify")
    newBtn.appendChild(newContent)
    container.appendChild(newBtn)

    var el = document.getElementsByClassName("pagehead-actions")[0].children[0]
    el.parentNode.insertBefore(container, el)
  }
}

any comments

"Deploy to Netlify" button showing error on click

I have placed the "deploy to netlify" button in react app and it is working fine here. After that I made a build of the project and uploaded it on the server, then after clicking the button I got following error: app.netlify.com refused to connect.

Please give any suggestion, thanks

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.