chrome.storage.local.get(["repositories"], function (config) {
  var head_fork_repository = $(".fork-suggester span[title^=head]").text();
  var base_fork_repository = $(".fork-suggester span[title^=base]").text();

  var is_match_reepository = function (repository) {
    var repositories = config.repositories.split(/\r\n|\r|\n/);
    for (var i = 0; i < repositories.length; i++) {
      if (repositories[i].trim() == repository) {
        return true;
      }
    }
    return false;
  };

  if (head_fork_repository != base_fork_repository && is_match_reepository(head_fork_repository)) {
    console.log(head_fork_repository + " is mis-match");
  }
});

@@ -1,8 +1,164 @@
+var disablePullRequestButton = function(selector)%7B%0A  $(selector).attr(%7Bdisabled: %22disabled%22%7D).text(%22Alert: You can not create PR to other repository%22);%0A%7D;%0A%0A
 chrome.s
@@ -751,57 +751,121 @@
     
-console.log(head_fork_repository + %22 is mis-match
+disablePullRequestButton(%22.compare-pr-placeholder button%22);%0A    disablePullRequestButton(%22form.new-pr-form button
 %22);%0A

disable PR button