Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Eruda support for non-tab view #323

Merged
merged 7 commits into from Dec 13, 2023
Merged

Added Eruda support for non-tab view #323

merged 7 commits into from Dec 13, 2023

Conversation

IncognitoTGT
Copy link
Contributor

No description provided.

Copy link

netlify bot commented Dec 11, 2023

Deploy Preview for curious-biscotti-765c40 ready!

Name Link
🔨 Latest commit 268dc05
🔍 Latest deploy log https://app.netlify.com/sites/curious-biscotti-765c40/deploys/6578fb09575b810008c6ca4f
😎 Deploy Preview https://deploy-preview-323--curious-biscotti-765c40.netlify.app/go
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@VillainsRule VillainsRule left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea. needs work.

static/go.html Show resolved Hide resolved
iframe.src = encodedUrl;

iframe.onload = function() {
let iframeDocument = iframe.contentDocument || iframe.contentWindow.document;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

contentDocument should be the fallback. contentWindow is more supported.
Additionally, use iframe.contentWindow?.document in case it throws and error.

static/go.html Show resolved Hide resolved
Removed redundant
```  iframeDocument.body.appendChild(script);
```
@xbubbo xbubbo merged commit 80cd39b into UseInterstellar:main Dec 13, 2023
4 checks passed
xbubbo added a commit that referenced this pull request Apr 4, 2024
Added Eruda support for non-tab view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants