netlify / netlify-browser-extension Goto Github PK
View Code? Open in Web Editor NEWnetlify-chrome-extension
License: MIT License
netlify-chrome-extension
License: MIT License
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.
Hi,
If I try to sign-in to Netlify app by the Bitbucket connect button (either using the email or the Google sign-in):
the login process fails:
Thanks
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!
thanks to the prompting of @birtles, we can make this extension more accessible for non chrome users: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Porting_a_Google_Chrome_extension
free for anyone to pick up e.g. @dance2die if you wish
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.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.