Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我正在研究的站点中,有许多 Java 函数在执行时会动态生成内容,问题是在查看源代码时该内容在源代码中不可见,它仅显示 java 函数,因此搜索引擎也看不到内容。
有什么方法可以使这些内容在源代码中可见,以便搜索引擎可以看到?
The answer to your question is 'no'. Search engines do not attempt to parse and run JS (which is necessary to recreate the output the user sees).