跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[程序员] iOS WebKit 和 JS 交互

发表于

https://vr.justeasy.cn/view/xz165se6x8k14880-1657179172.html webview 加载这个 url, 由于左上角那一块头像名字太碍眼,想要隐藏掉,所以用 JS 注入

我尝试了 document.getElementById ,document.querySelector document.getElementByTagName, document.getElementByClassName ,都获取不到那块 div,而且我尝试了下,整个页面用 class 的标签都改不了,但是用 右下角有个点赞的 用 id 的就可以改。 只能找个前端佬帮我看看。

我目前定位到的是这个位置: #krpanoSWFObject > div:nth-child(1) > div:nth-child(2) > div:nth-child(8) > div:nth-child(1)

Featured Replies

No posts to show

创建帐户或登录来提出意见

Account

导航

搜索

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.