All Projects → liviavinci → Boundary

liviavinci / Boundary

Licence: other
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.

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Boundary

refined-github
Safari extension that simplifies the GitHub interface and adds useful features
Stars: ✭ 21 (-64.41%)
Mutual labels:  safari-extension, browser-extension
Ghosttext
👻 Use your text editor to write in your browser. Everything you type in the editor will be instantly updated in the browser (and vice versa).
Stars: ✭ 2,614 (+4330.51%)
Mutual labels:  safari-extension, browser-extension
Npmhub
🔎 A browser extension to explore npm dependencies on GitHub repos
Stars: ✭ 542 (+818.64%)
Mutual labels:  safari-extension, browser-extension
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (+183.05%)
Mutual labels:  extensions, browser-extension
joof
🌎💨 Add custom JavaScript or CSS to any webpage
Stars: ✭ 26 (-55.93%)
Mutual labels:  safari-extension, browser-extension
pinboard-safariextension
📌 Pinboard Safari extension for bookmarking the current page.
Stars: ✭ 16 (-72.88%)
Mutual labels:  safari-extension, browser-extension
Spotify Lyrics
🎉 Desktop Spotify Web Player Instant Synchronised Lyrics
Stars: ✭ 162 (+174.58%)
Mutual labels:  safari-extension, browser-extension
Zhpopupcontroller
Help you pop up custom views easily. and support pop-up animation, layout position, mask effect and gesture interaction etc.
Stars: ✭ 1,481 (+2410.17%)
Mutual labels:  overlay, sidebar
toppy
Overlay library for Angular 7+
Stars: ✭ 81 (+37.29%)
Mutual labels:  overlay, sidebar
snoozz-tab-snoozing
A Web Extension to declutter windows by snoozing tabs for later
Stars: ✭ 105 (+77.97%)
Mutual labels:  safari-extension, browser-extension
Chrome Extensions Examples
All Chrome Extension examples collected into one repository
Stars: ✭ 1,217 (+1962.71%)
Mutual labels:  extensions, browser-extension
retropie-overlays
Console overlays set for Retropie & Recalbox
Stars: ✭ 54 (-8.47%)
Mutual labels:  overlay, overlays
Webpack Extension Reloader
A upgrade from 🔥webpack-chrome-extension-reloader🔥, now on all browsers
Stars: ✭ 355 (+501.69%)
Mutual labels:  extensions, browser-extension
xcloud-keyboard-mouse
Chrome extension for controlling Xbox Cloud Gaming (Project xCloud) using a keyboard and mouse
Stars: ✭ 78 (+32.2%)
Mutual labels:  safari-extension, browser-extension
Driver.js
A light-weight, no-dependency, vanilla JavaScript engine to drive the user's focus across the page
Stars: ✭ 13,154 (+22194.92%)
Mutual labels:  overlay, overlays
Github Hovercard
Neat hovercards for GitHub.
Stars: ✭ 1,655 (+2705.08%)
Mutual labels:  safari-extension, browser-extension
plain-overlay
The simple library for customizable overlay which covers a page, elements or iframe-windows.
Stars: ✭ 28 (-52.54%)
Mutual labels:  overlay, iframe
Overlaycontroller
OverlayController easily pop your custom view and provide optional transition animation. written in swift 5.0
Stars: ✭ 94 (+59.32%)
Mutual labels:  overlay, sidebar
man-in-the-middle
Modify requests, inject JavaScript and CSS into pages
Stars: ✭ 74 (+25.42%)
Mutual labels:  extensions, browser-extension
vesdk-android-demo
VideoEditor SDK: A fully customizable video editor for your app.
Stars: ✭ 90 (+52.54%)
Mutual labels:  overlays, stickers

Boundary

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.

/******************************** install ********************************/

Take a look at Sample manifest.json.

/******************************** create a box ********************************/

Boundary.createBox(id, className);

/******************************** remove a box ********************************/

$(boxSelector).remove();

/******************************** style elements within a box ********************************/

Boundary.loadBoxCSS(boxSelector, CSSPath);

/******************************** find/modify a specific boxe ********************************/

Boundary.findBox(boxSelector);

Boundary.rewriteBox(boxSelector, HTML);

Boundary.appendToBox(boxSelector, HTML);

Boundary.prependToBox(boxSelector, HTML);

/******************************** find/modify elements within all boxes ********************************/

Boundary.find(elemSelector);

Boundary.rewrite(elemSelector, HTML);

Boundary.append(elemSelector, HTML);

Boundary.prepend(elemSelector, HTML);

/******************************** find/modify elements within a specific box ********************************/

Boundary.findElemInBox(elemSelector, boxSelector);

Boundary.rewriteElemInBox(elemSelector, boxSelector, HTML);

Boundary.appendToElemInBox(elemSelector, boxSelector, HTML);

Boundary.prependToElemInBox(elemSelector, boxSelector, HTML)

NOTES:

If you what to do

Boundary.find().click(function() { });

It's recommented that you return false within the callback function.

/******************************** The MIT License (MIT) ********************************/

Copyright (c) 2015 Livia Zhang

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].