move changing for netease url code to specific folder

This commit is contained in:
Listen 1 2018-02-14 21:59:58 +08:00
parent e29586ebd2
commit 89414cf71c
3 changed files with 7 additions and 2 deletions

View File

@ -1,6 +1,6 @@
Listen 1 (Chrome Extension) V1.4.0
==========
最后更新于2017年12月26日)
最后更新于2018年02月14日)
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
@ -45,6 +45,11 @@ Firefox打包安装
更新日志
-------
`2018-02-14`
* 修复主页在加载更多数据时出现双重滚动条的bug感谢@zhuzhuyule的提交)
* 修复打开歌单时网易云音乐个人歌单地址无法解析的bug感谢@zhuzhuyule的提交)
`2017-12-26`
* 增加同步歌单到Github Gist功能。(特别感谢@ConstLhq提供创意和部分代码实现

View File

@ -588,7 +588,6 @@
});
$scope.openUrl = function(url) {
url = url.replace('music.163.com/#/my/m/music/playlist?','music.163.com/#/playlist?');
loWeb.post({
url: '/parse_url',
method: 'POST',

View File

@ -403,6 +403,7 @@ var netease = (function() {
var ne_parse_url = function(url) {
var result = undefined;
url = url.replace('music.163.com/#/my/m/music/playlist?','music.163.com/#/playlist?');
if (url.search('//music.163.com/#/m/playlist') != -1 || url.search('//music.163.com/#/playlist') != -1) {
result = {'type': 'playlist', 'id': 'neplaylist_' + getParameterByName('id', url)};
}