Comments (4)
I think im going to close this. Its a good thought, but in the "real world" stuff has been way more difficult. As a simple example, id say 99% of jupyterlab users run without ssl, and 99% of the websites they access will run with ssl, meaning 99% of the links we want to hijack will pass through the jupyterlab_iframe proxy which make life super difficult. Same deal for websites not allowing iframe embedding (e.g. google.com), websites with cors issues, etc. The user experience would just be terrible.
from jupyterlab_iframe.
@ian-r-rose @blink1073 you guys have any thoughts about this?
from jupyterlab_iframe.
@timkpaine I think you should be able to create a new IRenderMimeRegistry
for the application and provide your own IResolver
and ILinkHandler
options for it that override the default behavior. In particular, I think you would want to override the IResolver.isLocal
function to tell the application to treat your iframe urls as local links, and the ILinkHandler.handleLink
function to open your iframe urls with your extension.
from jupyterlab_iframe.
One better, we could make IResolver
and ILinkHandler
into tokens and have them be optional arguments here:
Then this plugin could provide those without the user needing to disable the core plugin.
from jupyterlab_iframe.
Related Issues (20)
- Cannot launch jupyterlab_iframe HOT 6
- setting a welcome-page stops JupyterLab from starting up HOT 2
- unable to install jupyter_iframe for jupyterLab 1.2.X HOT 3
- Viewing swagger in Jupyterlab Fetch error Not Found /openapi.json HOT 4
- JupyterLab 4
- Lock down proxy serverextension
- Install fails with Jupyterlab 2.1.5 HOT 1
- preview a streamlit app in an iframe HOT 2
- IFrame tab doesn't save with workspace
- Local file HOT 1
- iFrame not showing up in the menu HOT 2
- Move to GHA
- Add periodic CI
- Bump JupyterLab support for 3.0 now that it is released
- Add support for prebuilt extension HOT 1
- Back/forward/URL toolbar HOT 3
- Restore panel state when the browser refreshes HOT 1
- IFrame doesn't read GET parameters after first `&`
- remove `ensure_python`
- Fix CI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab_iframe.