Amazon Mobile to Desktop Redirect

Redirects Amazon mobile links to the desktop version

当前为 2016-02-11 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name Amazon Mobile to Desktop Redirect
  3. // @namespace dewa710.amazon
  4. // @version 1.0
  5. // @description Redirects Amazon mobile links to the desktop version
  6. // @author dewa710
  7. // @include http://www.amazon.*/gp/aw/d/*
  8. // @include http://amazon.*/gp/aw/d/*
  9. // @include https://www.amazon.*/gp/aw/d/*
  10. // @include https://amazon.*/gp/aw/d/*
  11. // @grant none
  12. // @run-at document-start
  13. // ==/UserScript==
  14. window.location = window.location.toString().replace("/gp/aw/d/", "/dp/");