GithubHelp home page GithubHelp logo

liviavinci / boundary Goto Github PK

View Code? Open in Web Editor NEW
60.0 6.0 6.0 45 KB

Boundary is a CSS+Javascript library for Chrome extension developers to easily create HTML elements that won’t affect or be affected by the current webpage’s CSS. Strongly recommended if you are considering adding a sticker, a sidebar or any overlay box using content script.

CSS 74.22% JavaScript 25.78%
extension extensions browser-extension css html chrome-extension overlay-box overlay overlays overlay-popups

boundary's People

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

boundary's Issues

anchor link in iframe

When I click an anchor link in iframe it goes to parent url.
<a href="#">aaa</a>
What I am trying to do is adding a bootstrap tab menu for example...
Do you I need to add something to iframe settings in boundary.js ?

Multiple iframes in the same page problem

Hello, I got a problem with multiple iframes in the same page. I am trying to inject a small button in a page, but if the page has already an iframe (or more) it would inject the button in the page and in the iframes. I managed to solve this problem by making a small change in the line 12 of the file boundary.js. Replacing this code:

$("body").append(iframe);

By this:

if (window.self === window.top) {
    $("body").append(iframe);
}

Hope this helps.
Thanks!

Clarify license

I would like to use this in my project.

However, without clarification of the license I am wary to do this. I wouldn't use a restrictive copyright license or a restrictive copyleft license (e.g. full-blown GPL, as opposed to LGPL).

http://choosealicense.com/ may help you to pick one, if needed.

The button cannot be cliked on linkedin and gmail

Hi, thanks for this super plugin example. It is the problem we are trying to solve. Leakage of CSS /Js between page and plugin.
Also it doesn t work were we would like to use it :
Linkedin :
image
Google gmail :
image

In github :
image

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.