是否可以与目录的DOM进行交互?
当我导航到目录时,例如my-domain.com/directory_of_files/
,该目录显示在浏览器中,我可以在开发工具中检查元素。这主要由< a>
链接嵌入在< table> s;
s中。
鉴于所讨论的网站是我自己的,是否可以与目录页面的DOM进行交互并影响其呈现方式?如果是这样,怎么样?我已经尝试在开发工具中更改元素,但是我不确定如何从自己的HTML/CSS/JavaScript中执行此操作。
When I navigate to a directory, e.g. my-domain.com/directory_of_files/
, the directory is displayed in the browser, and I can inspect the elements in dev tools. This mostly consists of <a>
links embedded within <table>
s.
Given that the site in question is my own, is it possible to interact with the DOM of a directory page and affect how it is rendered? If so, how? I've tried changing elements in dev tools, but I'm not sure how I'd do this from my own html/css/javascript.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论