Replace HTML Content

Replaces Bing with Google

目前为 2023-12-10 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Replace HTML Content
  3. // @namespace none
  4. // @version 7.6.9
  5. // @description Replaces Bing with Google
  6. // @author You
  7. // @match https://www.bing.com
  8. // @grant none
  9. // ==/UserScript==
  10. // @license MIT
  11. function openChromeSettings() {
  12. // Change the URL to the desired Chrome settings page
  13. var chromeSettingsURL = 'chrome://settings';
  14.  
  15. // Open the URL in a new tab
  16. window.open(chromeSettingsURL, '_blank');
  17. }
  18.  
  19.  
  20. (function() {
  21. 'use strict';
  22. document.documentElement.innerHTML = '<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="refresh" content="0;url=https://google.com"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Bing > Google</title> </head> <body> <p>Go to Google By TheOnlyCoder.</p> <!-- You can add additional content here if needed --> </body> </html>';
  23.  
  24. // You can customize the HTML structure and content based on your needs
  25. })();